rpms/ghostscript/devel ghostscript-465311.patch, NONE, 1.1 ghostscript.spec, 1.176, 1.177

Tim Waugh twaugh at fedoraproject.org
Fri Oct 17 11:14:36 UTC 2008


Author: twaugh

Update of /cvs/pkgs/rpms/ghostscript/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1609

Modified Files:
	ghostscript.spec 
Added Files:
	ghostscript-465311.patch 
Log Message:
* Fri Oct 17 2008 Tim Waugh <twaugh at redhat.com> 8.63-4
- Try out a work-around for bug #465311.


ghostscript-465311.patch:

--- NEW FILE ghostscript-465311.patch ---
diff -up ghostscript-8.63/src/iname.c.465311 ghostscript-8.63/src/iname.c
--- ghostscript-8.63/src/iname.c.465311	2008-10-17 11:52:31.000000000 +0100
+++ ghostscript-8.63/src/iname.c	2008-10-17 11:53:08.000000000 +0100
@@ -415,7 +415,8 @@ names_trace_finish(name_table * nt, gc_s
 	    if (nt->sub[i].names == 0 && gcst != 0) {
 		/* Mark the just-freed sub-table as unmarked. */
 		o_set_unmarked((obj_header_t *)sub - 1);
-		o_set_unmarked((obj_header_t *)ssub - 1);
+		if (ssub != 0)
+		    o_set_unmarked((obj_header_t *)ssub - 1);
 	    }
 	}
 	if (i == 0)


Index: ghostscript.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghostscript/devel/ghostscript.spec,v
retrieving revision 1.176
retrieving revision 1.177
diff -u -r1.176 -r1.177
--- ghostscript.spec	15 Oct 2008 15:22:45 -0000	1.176
+++ ghostscript.spec	17 Oct 2008 11:14:05 -0000	1.177
@@ -5,7 +5,7 @@
 Name: ghostscript
 Version: %{gs_ver}
 
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 License: GPLv2
 URL: http://www.ghostscript.com/
@@ -21,6 +21,7 @@
 Patch5: ghostscript-runlibfileifexists.patch
 Patch6: ghostscript-system-jasper.patch
 Patch7: ghostscript-pksmraw.patch
+Patch8: ghostscript-465311.patch
 
 Requires: urw-fonts >= 1.1, ghostscript-fonts
 BuildRequires: libjpeg-devel, libXt-devel
@@ -104,6 +105,9 @@
 # Fix pksmraw output (bug #308211).  Still needed in 8.63.
 %patch7 -p1 -b .pksmraw
 
+# Try out a work-around for bug #465311.
+%patch8 -p1 -b .465311
+
 # Convert manual pages to UTF-8
 from8859_1() {
 	iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
@@ -288,6 +292,9 @@
 %{_libdir}/libgs.so
 
 %changelog
+* Fri Oct 17 2008 Tim Waugh <twaugh at redhat.com> 8.63-4
+- Try out a work-around for bug #465311.
+
 * Wed Oct 15 2008 Tim Waugh <twaugh at redhat.com> 8.63-3
 - Don't ship fixmswrd.pl as it pulls in perl (bug #463948).
 




More information about the fedora-extras-commits mailing list