From 91016688687488ff9e8b980dc44607342960f969 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 5 Aug 2012 23:25:09 +0200 Subject: m4 glibc 2.16 fix --- m4/Pkgfile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'm4/Pkgfile') diff --git a/m4/Pkgfile b/m4/Pkgfile index 79e17ad8f..510ea1051 100755 --- a/m4/Pkgfile +++ b/m4/Pkgfile @@ -9,14 +9,18 @@ release=1 source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build() { - cd $name-$version -./configure --prefix=/usr \ - --enable-threads\ - --mandir=/usr/share/man \ - --infodir=/usr/share/info -make -make DESTDIR=$PKG install - if [ -f $PKG/usr/share/info/dir ]; then - rm $PKG/usr/share/info/dir + cd $name-$version + + sed -i '/gets is a security hole/d' lib/stdio.in.h + + ./configure --prefix=/usr \ + --enable-threads \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + 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