From 6d0da497d03c0a1ed386d56622c9e9fd972f189e Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 5 Aug 2012 23:33:20 +0200 Subject: diffutils glibc 2.16 fix --- diffutils/Pkgfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'diffutils') diff --git a/diffutils/Pkgfile b/diffutils/Pkgfile index d12c595a6..e6d5a747b 100755 --- a/diffutils/Pkgfile +++ b/diffutils/Pkgfile @@ -10,11 +10,15 @@ source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build() { cd $name-$version + + sed -i '/gets is a security hole/d' lib/stdio.in.h + ./configure --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man make make DESTDIR=$PKG install + if [ -f $PKG/usr/share/info/dir ]; then rm $PKG/usr/share/info/dir fi -- cgit v1.2.3-70-g09d2