From 899a8a062a5ecd62a6c4e4a18b3433e96361fb4d Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Fri, 13 Mar 2009 14:29:04 +0000 Subject: [PATCH] - fix #484213 - zdiff shows no output --- gzip-1.3.12-zdiff.patch | 14 ++++++++++++++ gzip.spec | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 gzip-1.3.12-zdiff.patch diff --git a/gzip-1.3.12-zdiff.patch b/gzip-1.3.12-zdiff.patch new file mode 100644 index 0000000..beb9bb9 --- /dev/null +++ b/gzip-1.3.12-zdiff.patch @@ -0,0 +1,14 @@ +diff -up gzip-1.3.12/zdiff.in.pom gzip-1.3.12/zdiff.in +--- gzip-1.3.12/zdiff.in.pom 2007-02-08 23:54:59.000000000 +0100 ++++ gzip-1.3.12/zdiff.in 2009-03-13 15:07:18.000000000 +0100 +@@ -104,8 +104,9 @@ elif test $# -eq 2; then + exec 4>&1 + (gzip -cdfq -- "$1" 4>&-; echo $? >&4) 3>&- | + ( (gzip -cdfq -- "$2" 4>&-; echo $? >&4) 3>&- 5<&- &3 ) 5<&0 + ) ++ gzip_status=$? + case $gzip_status in + *[1-9]*) gzip_status=1;; + *) gzip_status=0;; diff --git a/gzip.spec b/gzip.spec index dc8a4da..1c89216 100644 --- a/gzip.spec +++ b/gzip.spec @@ -1,7 +1,7 @@ Summary: The GNU data compression program Name: gzip Version: 1.3.12 -Release: 8%{?dist} +Release: 9%{?dist} # info pages are under GFDL license License: GPLv2 and GFDL Group: Applications/File @@ -16,6 +16,7 @@ Patch14: gzip-1.3.5-cve-2006-4338.patch Patch15: gzip-1.3.9-cve-2006-4337.patch Patch16: gzip-1.3.5-cve-2006-4337_len.patch Patch17: gzip-1.3.12-futimens.patch +Patch18: gzip-1.3.12-zdiff.patch URL: http://www.gzip.org/ Requires: /sbin/install-info Requires: mktemp less @@ -41,6 +42,7 @@ very commonly used data compression program. %patch15 -p1 -b .4337 %patch16 -p1 -b .4337l %patch17 -p1 -b .futimens +%patch18 -p1 -b .ret %build export DEFS="NO_ASM" export CPPFLAGS="-DHAVE_LSTAT" @@ -87,6 +89,9 @@ fi %{_infodir}/gzip.info* %changelog +* Fri Mar 13 2009 Ivana Varekova - 1.3.12-9 +- fix #484213 - zdiff shows no output + * Tue Feb 24 2009 Fedora Release Engineering - 1.3.12-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild