From 8edf4cd2ad05d60c91533fa703e047459b66aab1 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Sat, 24 Nov 2012 00:12:50 +0000 Subject: [PATCH] diffutils: updated to 3.2 and aligned with upstream --- diffutils/.md5sum | 2 +- diffutils/Pkgfile | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/diffutils/.md5sum b/diffutils/.md5sum index 0837a1d..0180387 100644 --- a/diffutils/.md5sum +++ b/diffutils/.md5sum @@ -1 +1 @@ -684aaba1baab743a2a90e52162ff07da diffutils-3.0.tar.gz +22e4deef5d8949a727b159d6bc65c1cc diffutils-3.2.tar.gz diff --git a/diffutils/Pkgfile b/diffutils/Pkgfile index 519cba8..b45620a 100644 --- a/diffutils/Pkgfile +++ b/diffutils/Pkgfile @@ -5,18 +5,24 @@ # Depends on: name=diffutils -version=3.0 -release=1 +version=3.2 +release=2 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build() { cd $name-$version + + # fix for glibc 'gets' removal + sed -i -e '/gets is a/d' lib/stdio.in.h + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --mandir=$PKG/usr/man \ --disable-nls + make make prefix=$PKG/usr install + rm -rf $PKG/usr/share } -- 2.26.2