diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-02 13:43:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-02 13:43:17 +0000 |
commit | ca326994663bdc3263bf67b7ec9465ab30bb03ba (patch) | |
tree | 4268583b7003a2ab42ad3a8c91b949635c134a78 /app-arch/gzip | |
parent | Add need-kde call to be sure that $KDEDIR is set. Removed dependency over kde... (diff) | |
download | gentoo-2-ca326994663bdc3263bf67b7ec9465ab30bb03ba.tar.gz gentoo-2-ca326994663bdc3263bf67b7ec9465ab30bb03ba.tar.bz2 gentoo-2-ca326994663bdc3263bf67b7ec9465ab30bb03ba.zip |
grab patch from fedora
Diffstat (limited to 'app-arch/gzip')
-rw-r--r-- | app-arch/gzip/files/gzip-1.3.5-zgreppipe.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-arch/gzip/files/gzip-1.3.5-zgreppipe.patch b/app-arch/gzip/files/gzip-1.3.5-zgreppipe.patch new file mode 100644 index 000000000000..c20403983ba9 --- /dev/null +++ b/app-arch/gzip/files/gzip-1.3.5-zgreppipe.patch @@ -0,0 +1,21 @@ +Ripped from Fedora + +--- gzip-1.3.1/zgrep.in ++++ gzip-1.3.1/zgrep.in +@@ -92,6 +92,7 @@ + fi + + res=0 ++trap break SIGPIPE + for i do + gzip -cdfq "$i" | + if test $files_with_matches -eq 1; then +@@ -110,5 +111,8 @@ + fi + r=$? + test $res -lt $r && res=$r ++ # SIGPIPE + 128 ++ test "$r" -eq 141 && exit $res + done ++trap - SIGPIPE + exit $res |