summaryrefslogtreecommitdiff
path: root/print/ghostscript9-base/files/patch-contrib_lips4_gdevlips.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-base/files/patch-contrib_lips4_gdevlips.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
Diffstat (limited to 'print/ghostscript9-base/files/patch-contrib_lips4_gdevlips.h')
-rw-r--r--print/ghostscript9-base/files/patch-contrib_lips4_gdevlips.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/print/ghostscript9-base/files/patch-contrib_lips4_gdevlips.h b/print/ghostscript9-base/files/patch-contrib_lips4_gdevlips.h
new file mode 100644
index 000000000000..68b4769ae8ff
--- /dev/null
+++ b/print/ghostscript9-base/files/patch-contrib_lips4_gdevlips.h
@@ -0,0 +1,17 @@
+--- contrib/lips4/gdevlips.h.orig 2012-08-08 08:01:36 UTC
++++ contrib/lips4/gdevlips.h
+@@ -191,6 +191,14 @@
+ bool faceup;\
+ char mediaType[LIPS_MEDIACHAR_MAX]
+
++/* added by shige 11/06 2003 */
++#define USE_LIPS_SIZE_ERROR
++#define LIPS_SIZE_ERROR_VALUE 2
++
++/* added by shige 11/09 2003 */
++#define LIPS_HEIGHT_MAX_720 11906
++#define LIPS_WIDTH_MAX_720 8419
++
+ int lips_media_selection(int width, int height);
+ int lips_packbits_encode(byte * inBuff, byte * outBuff, int Length);
+ int lips_mode3format_encode(byte * inBuff, byte * outBuff, int Length);