components/ghostscript/patches/16730811.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 24 Sep 2015 23:16:46 -0700
changeset 4905 9567ece93afb
parent 1315 4a5fc1fadc50
permissions -rw-r--r--
Added tag s12-84 for changeset 4f05d46b7e44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1315
4a5fc1fadc50 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
/*
4a5fc1fadc50 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.
4a5fc1fadc50 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.
4a5fc1fadc50 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
 */
4a5fc1fadc50 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	Thu May  2 05:50:31 2013
4a5fc1fadc50 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	Thu May  2 05:51:09 2013
4a5fc1fadc50 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 @@
4a5fc1fadc50 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). */
4a5fc1fadc50 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 {
4a5fc1fadc50 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 */
4a5fc1fadc50 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 */
4a5fc1fadc50 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() */
4a5fc1fadc50 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;
4a5fc1fadc50 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