diff options
author | piernov <piernov@piernov.servegame.org> | 2012-08-05 23:25:09 +0200 |
---|---|---|
committer | piernov <piernov@piernov.servegame.org> | 2012-08-05 23:25:09 +0200 |
commit | 91016688687488ff9e8b980dc44607342960f969 (patch) | |
tree | 43e8aae58813221efa33e1d54d203b9aa687ef11 /m4 | |
parent | 2a6f08abd4794c6038461d49ba37b0947dfd6ff9 (diff) | |
download | nutyx-pakxe-91016688687488ff9e8b980dc44607342960f969.tar.gz nutyx-pakxe-91016688687488ff9e8b980dc44607342960f969.tar.bz2 nutyx-pakxe-91016688687488ff9e8b980dc44607342960f969.tar.xz nutyx-pakxe-91016688687488ff9e8b980dc44607342960f969.zip |
m4 glibc 2.16 fix
Diffstat (limited to 'm4')
-rwxr-xr-x | m4/Pkgfile | 22 |
1 files changed, 13 insertions, 9 deletions
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 } |