# HG changeset patch # User Petr Sumbera # Date 1354615264 28800 # Node ID 952b267446eb4b5a0cb855fb0d306a761a243cb9 # Parent d11ed129f81c98d51af7385fde9c533442371a9e 15785482 SUNBT7161330 gzgrep -e option no longer works diff -r d11ed129f81c -r 952b267446eb components/gzip/patches/zgrep-f.patch --- a/components/gzip/patches/zgrep-f.patch Mon Dec 03 05:48:20 2012 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ ---- gzip-1.4/tests/zgrep-f.orig 2012-03-29 11:21:18.457617592 -0700 -+++ gzip-1.4/tests/zgrep-f 2012-03-29 11:21:56.078983515 -0700 -@@ -32,7 +32,7 @@ - - - fail=0 --zgrep -f - haystack.gz < n > out 2>&1 || fail=1 -+zgrep --__bindir /usr/gnu/bin -f - haystack.gz < n > out 2>&1 || fail=1 - - compare out n || fail=1 - diff -r d11ed129f81c -r 952b267446eb components/gzip/patches/zgrep.in.patch --- a/components/gzip/patches/zgrep.in.patch Mon Dec 03 05:48:20 2012 -0800 +++ b/components/gzip/patches/zgrep.in.patch Tue Dec 04 02:01:04 2012 -0800 @@ -1,15 +1,17 @@ ---- gzip-1.4/zgrep.in.orig 2012-03-29 11:17:35.341079056 -0700 -+++ gzip-1.4/zgrep.in 2012-03-29 11:18:46.475732896 -0700 -@@ -26,7 +26,11 @@ +This simplified patch was generated based on following community fix +which we have adopted in 12.0 and 11.2 (where we have latest gzip +version and patch applied there without problem): + +http://git.savannah.gnu.org/cgit/gzip.git/commit/?id=60b3f4eb672a85de28ecaad47ed426f8c8fe6c32 + +--- gzip-1.4/zgrep.in Sun Jan 3 09:26:02 2010 ++++ gzip-1.4/zgrep.in Wed Nov 28 05:44:33 2012 +@@ -26,7 +26,7 @@ esac PATH=$bindir:$PATH -grep='${GREP-grep}' -+case "$1" in -+ -F) grep='${FGREP-fgrep}'; shift;; -+ -E) grep='${EGREP-egrep}'; shift;; -+ *) grep='${GREP-grep}';; -+esac ++grep='${GREP-'\''/usr/bin/ggrep'\''}' version='zgrep (gzip) @VERSION@ Copyright (C) 2007, 2009-2010 Free Software Foundation, Inc.