components/ghostscript/patches/16730811.patch
author Sunil 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
permissions -rw-r--r--
16730811 convert(1) dumps core when processing PDF file
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2662
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
     1
/*
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
     2
 * Fix developed in-house.
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
     3
 * Upstream bug 693952, http://bugs.ghostscript.com/show_bug.cgi?id=693952#c2.
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
     4
 */
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
     5
--- ghostscript-9.00/base/gxsync.h.orig	Tue Jun 25 00:51:48 2013
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
     6
+++ ghostscript-9.00/base/gxsync.h	Tue Jun 25 00:55:09 2013
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
     7
@@ -52,6 +52,7 @@
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
     8
 /* the event count is set to 1 (1st 'enter' succeeds immediately). */
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
     9
 typedef struct gx_monitor_s {
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
    10
     gs_memory_t *memory;	/* allocator to free memory */
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
    11
+    int	*dummy;			/* to address alignment issue on sparc */
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
    12
     gp_monitor native;		/* platform-dep impl, len is gp_monitor_sizeof() */
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
    13
 } gx_monitor_t;
240ac3c3ac55 16730811 convert(1) dumps core when processing PDF file
Sunil Kumar H G - Oracle Corporation - Bangalore India <sunil.kumar.h.g@oracle.com>
parents:
diff changeset
    14