From ba70bf37ef4aa2d9c6c4b4e2f7fab1cfd6851c0a Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 7 Sep 2008 08:02:27 +0000 Subject: Fix zgrep -h. PR 37528 from Rob Quinn. PKGREVISION++ --- archivers/gzip/Makefile | 4 ++-- archivers/gzip/distinfo | 3 ++- archivers/gzip/patches/patch-af | 13 +++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 archivers/gzip/patches/patch-af diff --git a/archivers/gzip/Makefile b/archivers/gzip/Makefile index f8b7cefc8ee..53e7f09a615 100644 --- a/archivers/gzip/Makefile +++ b/archivers/gzip/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.21 2007/12/21 23:57:41 rillig Exp $ +# $NetBSD: Makefile,v 1.22 2008/09/07 08:02:27 dholland Exp $ # DISTNAME= gzip-1.3.12 -PKGREVISION= 1 +PKGREVISION= 2 SVR4_PKGNAME= gzip CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_GNU:=gzip/} diff --git a/archivers/gzip/distinfo b/archivers/gzip/distinfo index 5be0a807b6d..204ddd8f1f6 100644 --- a/archivers/gzip/distinfo +++ b/archivers/gzip/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2007/12/22 20:05:44 minskim Exp $ +$NetBSD: distinfo,v 1.3 2008/09/07 08:02:27 dholland Exp $ SHA1 (gzip-1.3.12.tar) = 330eb5f1b3dfab13a491352cb00b6573e5b55a5f RMD160 (gzip-1.3.12.tar) = 6845dfba2a275f4de488c3fb97e64405838a5005 @@ -8,3 +8,4 @@ SHA1 (patch-ab) = 42309926f601998b97051aadc31ad44413716029 SHA1 (patch-ac) = 8ef4b7105ca9b201079f5cf8799642e12184fda4 SHA1 (patch-ad) = 082ced7d4a89a49b750525cc71bbf9a9abfc5b9e SHA1 (patch-ae) = a1d245c5cf055e9bd35fb7e810d5183a71cbfc74 +SHA1 (patch-af) = 28639dbe11ed8ce81bd1c29248b53af6cea55b88 diff --git a/archivers/gzip/patches/patch-af b/archivers/gzip/patches/patch-af new file mode 100644 index 00000000000..698b1921f30 --- /dev/null +++ b/archivers/gzip/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2008/09/07 08:02:27 dholland Exp $ + +--- zgrep.in~ 2007-02-05 15:54:26.000000000 -0500 ++++ zgrep.in 2008-09-07 03:58:59.000000000 -0400 +@@ -105,7 +105,7 @@ while test $# -ne 0; do + files_with_matches=1;; + (-L | --files-witho*) + files_without_matches=1;; +- (--no-f*) ++ (-h | --no-f*) + no_filename=1;; + (-V | --v | --ve | --ver | --vers | --versi | --versio | --version) + echo "$version" || exit 2 -- cgit v1.2.3