16730811 convert(1) dumps core when processing PDF file s11-update
authorSunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
Tue, 02 Jul 2013 22:08:00 -0700
branchs11-update
changeset 2662 240ac3c3ac55
parent 2661 9eb4a163bb23
child 2664 07a94f12f707
16730811 convert(1) dumps core when processing PDF file
components/ghostscript/patches/16730811.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ghostscript/patches/16730811.patch	Tue Jul 02 22:08:00 2013 -0700
@@ -0,0 +1,14 @@
+/*
+ * Fix developed in-house.
+ * Upstream bug 693952, http://bugs.ghostscript.com/show_bug.cgi?id=693952#c2.
+ */
+--- ghostscript-9.00/base/gxsync.h.orig	Tue Jun 25 00:51:48 2013
++++ ghostscript-9.00/base/gxsync.h	Tue Jun 25 00:55:09 2013
+@@ -52,6 +52,7 @@
+ /* the event count is set to 1 (1st 'enter' succeeds immediately). */
+ typedef struct gx_monitor_s {
+     gs_memory_t *memory;	/* allocator to free memory */
++    int	*dummy;			/* to address alignment issue on sparc */
+     gp_monitor native;		/* platform-dep impl, len is gp_monitor_sizeof() */
+ } gx_monitor_t;
+