summaryrefslogtreecommitdiff
path: root/print/ghostscript7/files/patch-src:gxobj.h
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-04-29 20:12:16 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-04-29 20:12:16 +0000
commit045633a1b8b9a93da39276c44d8313ec66a07545 (patch)
treeb668622bec03cea02602798988a5ed72533143b2 /print/ghostscript7/files/patch-src:gxobj.h
parentUpdate to 3.6.3 (diff)
Resurrect print/ghostscript7*. Ghostscript 7.x is incompatible with 8.x
and 9.x in terms of CJK character support and they are still in demand. While I am here, the following changes have been added: - Add LICENSE. - Use OPTIONS_DEFINE for ghostscript drivers. - Add MAKE_JOBS_SAFE=yes. Discussed with: bapt
Notes
Notes: svn path=/head/; revision=316845
Diffstat (limited to 'print/ghostscript7/files/patch-src:gxobj.h')
-rw-r--r--print/ghostscript7/files/patch-src:gxobj.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/print/ghostscript7/files/patch-src:gxobj.h b/print/ghostscript7/files/patch-src:gxobj.h
new file mode 100644
index 000000000000..f0df8565100c
--- /dev/null
+++ b/print/ghostscript7/files/patch-src:gxobj.h
@@ -0,0 +1,17 @@
+--- src/gxobj.h.orig Fri Feb 22 19:45:59 2002
++++ src/gxobj.h Thu Dec 19 00:16:57 2002
+@@ -99,10 +99,14 @@
+ * The final | is because back pointer values are divided by obj_back_scale,
+ * so objects must be aligned at least 0 mod obj_back_scale.
+ */
++#if !defined(__ia64__) && !defined(__amd64__)
+ #define obj_align_mod\
+ (((arch_align_long_mod - 1) | (arch_align_ptr_mod - 1) |\
+ (arch_align_double_mod - 1) | (align_bitmap_mod - 1) |\
+ (obj_back_scale - 1)) + 1)
++#else
++#define obj_align_mod 16
++#endif
+ /* The only possible values for obj_align_mod are 4, 8, or 16.... */
+ #if obj_align_mod == 4
+ # define log2_obj_align_mod 2