From d2e7db537c6613746bba8704c37abb9f655c8408 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 5 Aug 2012 23:15:52 +0200 Subject: wget glibc 2.16 fix --- wget/Pkgfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'wget/Pkgfile') 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 -- cgit v1.2.3-70-g09d2