summaryrefslogtreecommitdiffstats
path: root/tar/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-08-05 23:19:49 +0200
committerpiernov <piernov@piernov.servegame.org>2012-08-05 23:19:49 +0200
commit90c59311d834a7bf02576436b9b8819936ec3e55 (patch)
tree947eea7130f959d8a6d4c3c923c9517883fbe1a6 /tar/Pkgfile
parent2caf92e727af710a13ba90aa29647d439edddbc6 (diff)
downloadnutyx-pakxe-90c59311d834a7bf02576436b9b8819936ec3e55.tar.gz
nutyx-pakxe-90c59311d834a7bf02576436b9b8819936ec3e55.tar.bz2
nutyx-pakxe-90c59311d834a7bf02576436b9b8819936ec3e55.tar.xz
nutyx-pakxe-90c59311d834a7bf02576436b9b8819936ec3e55.zip
tar fix glibc 2.16
Diffstat (limited to 'tar/Pkgfile')
-rwxr-xr-xtar/Pkgfile21
1 files 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
}