summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files/patch-src:gxobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gpl/files/patch-src:gxobj.h')
-rw-r--r--print/ghostscript-gpl/files/patch-src:gxobj.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/patch-src:gxobj.h b/print/ghostscript-gpl/files/patch-src:gxobj.h
new file mode 100644
index 000000000000..e3dca6b573f6
--- /dev/null
+++ b/print/ghostscript-gpl/files/patch-src:gxobj.h
@@ -0,0 +1,17 @@
+--- src/gxobj.h.orig Fri Feb 22 07:24:53 2002
++++ src/gxobj.h Fri Dec 20 22:56:03 2002
+@@ -103,10 +103,14 @@
+ * required by the hardware, regardless of the value of obj_align_mod.
+ * See gsmemraw.h for more information about this.
+ */
++#if !defined(__ia64__)
+ #define obj_align_mod\
+ (((arch_align_memory_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