summaryrefslogtreecommitdiffstats
path: root/m4/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-08-05 23:25:09 +0200
committerpiernov <piernov@piernov.servegame.org>2012-08-05 23:25:09 +0200
commit91016688687488ff9e8b980dc44607342960f969 (patch)
tree43e8aae58813221efa33e1d54d203b9aa687ef11 /m4/Pkgfile
parent2a6f08abd4794c6038461d49ba37b0947dfd6ff9 (diff)
downloadnutyx-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/Pkgfile')
-rwxr-xr-xm4/Pkgfile22
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
}