summaryrefslogtreecommitdiff
path: root/print/ghostscript9-x11/files/patch-base_gxobj.h
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-17 23:28:04 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-17 23:28:04 +0000
commit1a8a092d9fefcbd7f960c82c59802c61807867a6 (patch)
tree48e47bf661e0e5d6ed9c060e8aea683b30d4540f /print/ghostscript9-x11/files/patch-base_gxobj.h
parent- Update to 1.7.1 (diff)
Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches accordingly. Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=417041
Diffstat (limited to 'print/ghostscript9-x11/files/patch-base_gxobj.h')
-rw-r--r--print/ghostscript9-x11/files/patch-base_gxobj.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/print/ghostscript9-x11/files/patch-base_gxobj.h b/print/ghostscript9-x11/files/patch-base_gxobj.h
new file mode 100644
index 000000000000..762709c55265
--- /dev/null
+++ b/print/ghostscript9-x11/files/patch-base_gxobj.h
@@ -0,0 +1,18 @@
+--- base/gxobj.h.orig 2012-08-08 08:01:36 UTC
++++ base/gxobj.h
+@@ -109,11 +109,15 @@ typedef struct obj_header_data_s {
+ * required by the hardware, regardless of the value of obj_align_mod.
+ * See gsmemraw.h for more information about this.
+ */
++#if !defined(__ia64__) && !defined(__amd64__)
+ #define obj_align_mod\
+ (((ARCH_ALIGN_MEMORY_MOD - 1) |\
+ (align_bitmap_mod - 1) |\
+ (obj_back_scale - 1)) + 1)
+ /* The only possible values for obj_align_mod are 4, 8, or 16.... */
++#else
++#define obj_align_mod 16
++#endif
+ #if obj_align_mod == 4
+ # define log2_obj_align_mod 2
+ #else