rpms/ghostscript/F-8 ghostscript-gsbug689577.patch, NONE, 1.1 ghostscript.spec, 1.150, 1.151

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Tue Dec 11 16:16:41 UTC 2007


Author: twaugh

Update of /cvs/pkgs/rpms/ghostscript/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13938

Modified Files:
	ghostscript.spec 
Added Files:
	ghostscript-gsbug689577.patch 
Log Message:
* Tue Dec 11 2007 Tim Waugh <twaugh at redhat.com> 8.61-5
- Applied upstream patch for bug #416321.


ghostscript-gsbug689577.patch:

--- NEW FILE ghostscript-gsbug689577.patch ---
diff -up ghostscript-8.61/src/seexec.c.gsbug689577 ghostscript-8.61/src/seexec.c
--- ghostscript-8.61/src/seexec.c.gsbug689577	2007-09-25 14:31:24.000000000 +0100
+++ ghostscript-8.61/src/seexec.c	2007-12-11 15:20:35.000000000 +0000
@@ -215,8 +215,10 @@ hp:	r = *pr;
  * so that it will stay under the limit even after adding min_in_size
  * for a subsequent filter in a pipeline.  Note that we have to specify
  * a size of at least 128 so that filter_read won't round it up.
+ * The value of 132 is samll enough for the sample file of the bug 689577 but
+ * still sufficient for comparefiles/fonttest.pdf .
  */
 const stream_template s_exD_template = {
-    &st_exD_state, s_exD_init, s_exD_process, 8, 200,
+    &st_exD_state, s_exD_init, s_exD_process, 8, 132,
     NULL, s_exD_set_defaults
 };


Index: ghostscript.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghostscript/F-8/ghostscript.spec,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- ghostscript.spec	30 Nov 2007 11:02:31 -0000	1.150
+++ ghostscript.spec	11 Dec 2007 16:16:01 -0000	1.151
@@ -5,7 +5,7 @@
 Name: ghostscript
 Version: %{gs_ver}
 
-Release: 4%{?dist}
+Release: 5%{?dist}
 
 License: GPLv2
 URL: http://www.ghostscript.com/
@@ -20,6 +20,7 @@
 Patch4: ghostscript-fPIC.patch
 Patch5: http://www.openprinting.org/download/printing/esp-gpl-ghostscript-merge/ghostscript-8.57-ijs-krgb.patch
 Patch6: ghostscript-runlibfileifexists.patch
+Patch7: ghostscript-gsbug689577.patch
 
 Requires: urw-fonts >= 1.1, ghostscript-fonts
 BuildRequires: libjpeg-devel, libXt-devel
@@ -91,6 +92,9 @@
 # Define .runlibfileifexists.
 %patch6 -p1 -b .runlibfileifexists
 
+# Upstream patch for bug #416321.
+%patch7 -p1 -b .gsbug689577
+
 # Convert manual pages to UTF-8
 from8859_1() {
 	iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
@@ -261,6 +265,9 @@
 %{_libdir}/libgs.so
 
 %changelog
+* Tue Dec 11 2007 Tim Waugh <twaugh at redhat.com> 8.61-5
+- Applied upstream patch for bug #416321.
+
 * Fri Nov 30 2007 Tim Waugh <twaugh at redhat.com> 8.61-4
 - Fixed runlibfileifexists patch.
 




More information about the fedora-extras-commits mailing list