From 338a8c75f972e9549d088e4620e8181b8f597fa5 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 7 Aug 2012 14:06:33 -0500
Subject: wget 1.13.4

---
 abs/core/wget/PKGBUILD    | 5 +++--
 abs/core/wget/__changelog | 2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)
 create mode 100644 abs/core/wget/__changelog

diff --git a/abs/core/wget/PKGBUILD b/abs/core/wget/PKGBUILD
index 44a6477..4258f04 100644
--- a/abs/core/wget/PKGBUILD
+++ b/abs/core/wget/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: PKGBUILD 138218 2011-09-19 05:03:16Z allan $
 # Maintainer: Allan McRae <allan@archlinux.org>
 # Contributor: Judd Vinet <jvinet@zeroflux.org>
 
@@ -19,7 +19,7 @@ md5sums=('7f518b3a71e9efd330e9a0c3714f8463')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-
+  sed -i '/gets is a security hole/d' lib/stdio.in.h
   # Note : We do not build with --enable-nls, because there is a bug in wget causing
   # international domain names to be not properly converted to punycode if
   # the current locale is a UTF-8 one
@@ -31,6 +31,7 @@ build() {
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+
   make DESTDIR="${pkgdir}" install
 
   cat >> "$pkgdir/etc/wgetrc" <<EOF
diff --git a/abs/core/wget/__changelog b/abs/core/wget/__changelog
new file mode 100644
index 0000000..55fb64e
--- /dev/null
+++ b/abs/core/wget/__changelog
@@ -0,0 +1,2 @@
+sed -i '/gets is a security hole/d' \
+    gettext-{runtime/gnulib-lib,tools/{gnulib-lib,libgettextpo}}/stdio.in.h
-- 
cgit v0.12

