summaryrefslogtreecommitdiffstats
path: root/wget
diff options
context:
space:
mode:
Diffstat (limited to 'wget')
-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