summaryrefslogtreecommitdiff
path: root/net/wget
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2015-03-02 20:23:07 +0000
committertron <tron@pkgsrc.org>2015-03-02 20:23:07 +0000
commit33ca13dcba1fdd037bef9c94051ab1999284f9c6 (patch)
treebb91dd68fb093311588cb41b32ede68446be457f /net/wget
parent9fb05eeab8c973946609544ffbe25bf4fd6d2f74 (diff)
downloadpkgsrc-33ca13dcba1fdd037bef9c94051ab1999284f9c6.tar.gz
Add patch from GIT repository to get the "--quiet" option work again.
Bump package revision because of this bug fix.
Diffstat (limited to 'net/wget')
-rw-r--r--net/wget/Makefile3
-rw-r--r--net/wget/distinfo3
-rw-r--r--net/wget/patches/patch-src_main.c18
3 files changed, 22 insertions, 2 deletions
diff --git a/net/wget/Makefile b/net/wget/Makefile
index 6e4aee76af4..b6e7aa9451c 100644
--- a/net/wget/Makefile
+++ b/net/wget/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.122 2015/03/01 15:02:57 wiz Exp $
+# $NetBSD: Makefile,v 1.123 2015/03/02 20:23:07 tron Exp $
DISTNAME= wget-1.16.2
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU:=wget/}
EXTRACT_SUFX= .tar.xz
diff --git a/net/wget/distinfo b/net/wget/distinfo
index 09cf1fe4d81..6fd0ba7c620 100644
--- a/net/wget/distinfo
+++ b/net/wget/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.45 2015/03/01 15:02:57 wiz Exp $
+$NetBSD: distinfo,v 1.46 2015/03/02 20:23:07 tron Exp $
SHA1 (wget-1.16.2.tar.xz) = a77b455ad01620ea3b709db2e07e6841da518f38
RMD160 (wget-1.16.2.tar.xz) = d0d298a40f3fa7c9c16e985a748a6a524ec99000
Size (wget-1.16.2.tar.xz) = 1805080 bytes
SHA1 (patch-doc_wget.texi) = 6db25b3500ff4617b5ade34d9013b1f9876104f8
+SHA1 (patch-src_main.c) = 3afca9581c5cca7e0a6ca7a6812bdd305cdd6786
diff --git a/net/wget/patches/patch-src_main.c b/net/wget/patches/patch-src_main.c
new file mode 100644
index 00000000000..6074e517abb
--- /dev/null
+++ b/net/wget/patches/patch-src_main.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_main.c,v 1.1 2015/03/02 20:23:07 tron Exp $
+
+Disable progress bar if "-q" option is used. Patch taken from GIT repository:
+
+http://git.savannah.gnu.org/cgit/wget.git/commit/?id=9dde436dd689bd51eef71d64152dde9c8c0b5f65
+
+--- src/main.c.orig 2015-02-10 21:31:49.000000000 +0000
++++ src/main.c 2015-03-02 20:18:15.000000000 +0000
+@@ -1272,6 +1272,9 @@
+ if (opt.verbose == -1)
+ opt.verbose = !opt.quiet;
+
++ if (opt.quiet && opt.show_progress == -1)
++ opt.show_progress = false;
++
+ /* Sanity checks. */
+ if (opt.verbose && opt.quiet)
+ {