summaryrefslogtreecommitdiffstats
path: root/diffutils
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-08-05 23:33:20 +0200
committerpiernov <piernov@piernov.servegame.org>2012-08-05 23:33:20 +0200
commit6d0da497d03c0a1ed386d56622c9e9fd972f189e (patch)
treee5bcc2518a86c5eff90b44e872dfb03f164a32e2 /diffutils
parent75f501d232e70148fec8736c80c58c51abf26f29 (diff)
downloadnutyx-pakxe-6d0da497d03c0a1ed386d56622c9e9fd972f189e.tar.gz
nutyx-pakxe-6d0da497d03c0a1ed386d56622c9e9fd972f189e.tar.bz2
nutyx-pakxe-6d0da497d03c0a1ed386d56622c9e9fd972f189e.tar.xz
nutyx-pakxe-6d0da497d03c0a1ed386d56622c9e9fd972f189e.zip
diffutils glibc 2.16 fix
Diffstat (limited to 'diffutils')
-rwxr-xr-xdiffutils/Pkgfile4
1 files changed, 4 insertions, 0 deletions
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