aboutsummaryrefslogtreecommitdiffstats
path: root/main/diffutils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/diffutils/APKBUILD')
-rw-r--r--main/diffutils/APKBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/main/diffutils/APKBUILD b/main/diffutils/APKBUILD
index fe0cfc392cf..756124081c6 100644
--- a/main/diffutils/APKBUILD
+++ b/main/diffutils/APKBUILD
@@ -1,23 +1,18 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=diffutils
-pkgver=3.8
+pkgver=3.10
pkgrel=0
pkgdesc="Show differences among files"
subpackages="$pkgname-doc"
url="https://www.gnu.org/software/diffutils/"
arch="all"
license="GPL-3.0-or-later"
-checkdepends="coreutils perl"
-# cyclic dependency during bootstrap:
-# m4 -> diffutils -> coreutils -> bash -> flex -> bison -> m4
-[ -n "$BOOTSTRAP" ] && options="$options !check"
-source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz
- skip-test-presue-output-tty.patch
- "
-
-builddir=$srcdir/$pkgname-$pkgver
+checkdepends="perl"
+source="https://ftp.gnu.org/pub/gnu/diffutils/diffutils-$pkgver.tar.xz"
build() {
+ CFLAGS="$CFLAGS -flto=auto" \
+ CXXFLAGS="$CXXFLAGS -flto=auto" \
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -37,6 +32,5 @@ package() {
}
sha512sums="
-279441270987e70d5ecfaf84b6285a4866929c43ec877e50f154a788858d548a8a316f2fc26ad62f7348c8d289cb29a09d06dfadce1806e3d8b4ea88c8b1aa7c diffutils-3.8.tar.xz
-5df0dc7a452180c361698ee502b4636a5e7277132e543136c205747fac64acc6276186ec8c884b17e9fe3e307f15e045ba327d44ac4662db88675c309c56367a skip-test-presue-output-tty.patch
+219d2c815a120690c6589846271e43aee5c96c61a7ee4abbef97dfcdb3d6416652ed494b417de0ab6688c4322540d48be63b5e617beb6d20530b5d55d723ccbb diffutils-3.10.tar.xz
"