16730811 convert(1) dumps core when processing PDF file
authorSunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
Tue, 28 May 2013 13:10:38 -0400
changeset 1315 4a5fc1fadc50
parent 1314 aa76e58a37ce
child 1316 22b5cf35a3ea
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 May 28 13:10:38 2013 -0400
@@ -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	Thu May  2 05:50:31 2013
++++ ghostscript-9.00/base/gxsync.h	Thu May  2 05:51:09 2013
[email protected]@ -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;
+