components/ghostscript/patches/16730811.patch
author Petr Nyc <Petr.Nyc@Oracle.COM>
Wed, 07 Aug 2013 01:14:19 -0700
branchs11u1-sru
changeset 2719 8a85b880d7f1
parent 2663 3dee483c5b19
permissions -rw-r--r--
Added tag 0.175.1.11.0.1.0, S11.1SRU11.1 for changeset c1e0ab04f363
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2663
3dee483c5b19 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
/*
3dee483c5b19 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.
3dee483c5b19 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.
3dee483c5b19 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
 */
3dee483c5b19 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
3dee483c5b19 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
3dee483c5b19 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 @@
3dee483c5b19 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). */
3dee483c5b19 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 {
3dee483c5b19 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 */
3dee483c5b19 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 */
3dee483c5b19 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() */
3dee483c5b19 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;
3dee483c5b19 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