components/gzip/patches/zgrep.in.patch
branchs11u1-sru
changeset 2443 952b267446eb
parent 755 e7d0aed114ef
child 2842 2168e180aa83
--- 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.