diff --git a/transfig.3.2.5-binderman.dif b/transfig.3.2.5-binderman.dif new file mode 100644 index 0000000..53d22a6 --- /dev/null +++ b/transfig.3.2.5-binderman.dif @@ -0,0 +1,10 @@ +--- transfig/sys.c ++++ transfig/sys.c 2009-10-09 14:17:09.932073007 +0200 +@@ -37,6 +37,7 @@ char *sysls() + i += 1; + c = fgetc(ls); + } ++ pclose(ls); + sysbuf[i] = '\0'; + return sysbuf; + } diff --git a/transfig.changes b/transfig.changes index 456fb6a..bbff812 100644 --- a/transfig.changes +++ b/transfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 9 14:18:53 CEST 2009 - werner@suse.de + +- Yet an other David Binderman bug (bnc#544938) + ------------------------------------------------------------------- Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de diff --git a/transfig.spec b/transfig.spec index 86d1c87..6346391 100644 --- a/transfig.spec +++ b/transfig.spec @@ -26,11 +26,12 @@ Provides: transfig.3.2.3d Requires: netpbm ghostscript-library ghostscript-fonts-std AutoReqProv: on Version: 3.2.5 -Release: 160 +Release: 161 Summary: Graphic Converter Source: transfig.%{version}.tar.bz2 Patch0: transfig.%{version}.dif Patch1: transfig.%{version}-cups.dif +Patch2: transfig.%{version}-binderman.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} %if "%_exec_prefix" == "/usr/X11R6"