summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-08-05 23:15:52 +0200
committerpiernov <piernov@piernov.servegame.org>2012-08-05 23:15:52 +0200
commitd2e7db537c6613746bba8704c37abb9f655c8408 (patch)
treef4d24cc08b9ce4ceb282a35f65c38f5474e260f4
parentbab8638a622561a9082ac8054f3323612e642460 (diff)
downloadnutyx-pakxe-d2e7db537c6613746bba8704c37abb9f655c8408.tar.gz
nutyx-pakxe-d2e7db537c6613746bba8704c37abb9f655c8408.tar.bz2
nutyx-pakxe-d2e7db537c6613746bba8704c37abb9f655c8408.tar.xz
nutyx-pakxe-d2e7db537c6613746bba8704c37abb9f655c8408.zip
wget glibc 2.16 fix
-rwxr-xr-xwget/Pkgfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/wget/Pkgfile b/wget/Pkgfile
index f1d1f92d1..6209af188 100755
--- a/wget/Pkgfile
+++ b/wget/Pkgfile
@@ -11,12 +11,17 @@ source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
cd $name-$version
+
+ # glibc 2.16.0 fix
+ sed -i '/gets is a security hole/d' lib/stdio.in.h
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-debug \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --with-ssl=openssl
+ --with-ssl=openssl \
+ --without-libidn
make
make prefix=$PKG/usr mandir=$PKG/usr/share/man infodir=$PKG/usr/share/info install
rm $PKG/usr/share/info/dir