components/ghostscript/patches/16730811.patch
author Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
Tue, 02 Jul 2013 23:04:36 -0700
branchs11u1-sru
changeset 2663 3dee483c5b19
permissions -rw-r--r--
16730811 convert(1) dumps core when processing PDF file

/*
 * 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;