components/ghostscript/patches/16730811.patch
author Drew Fisher <drew.fisher@oracle.com>
Fri, 13 Jun 2014 10:00:52 -0600
changeset 1947 b80524cd88bc
parent 1315 4a5fc1fadc50
permissions -rw-r--r--
18977267 common/openstack.p5m should have additional dependencies
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