From 90c59311d834a7bf02576436b9b8819936ec3e55 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 5 Aug 2012 23:19:49 +0200 Subject: tar fix glibc 2.16 --- tar/Pkgfile | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/tar/Pkgfile b/tar/Pkgfile index c6ad408ea..701863e48 100755 --- a/tar/Pkgfile +++ b/tar/Pkgfile @@ -9,13 +9,16 @@ release=1 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build() { -cd $name-$version -FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr \ - --bindir=/bin \ - --libexecdir=/usr/sbin -make -make DESTDIR=$PKG install -if [ -f $PKG/usr/share/info/dir ]; then - rm $PKG/usr/share/info/dir -fi + cd $name-$version + + sed -i '/gets is a security hole/d' gnu/stdio.in.h + + FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr \ + --bindir=/bin \ + --libexecdir=/usr/sbin + 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