summaryrefslogtreecommitdiff
path: root/print/ghostscript7/files/patch-lips:gdevlprn.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-lips:gdevlprn.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-lips:gdevlprn.h')
-rw-r--r--print/ghostscript7/files/patch-lips:gdevlprn.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/print/ghostscript7/files/patch-lips:gdevlprn.h b/print/ghostscript7/files/patch-lips:gdevlprn.h
new file mode 100644
index 000000000000..f692dbe410a2
--- /dev/null
+++ b/print/ghostscript7/files/patch-lips:gdevlprn.h
@@ -0,0 +1,16 @@
+--- lips/gdevlprn.h.orig Thu Nov 2 12:09:18 2000
++++ lips/gdevlprn.h Sat Sep 13 23:06:38 2003
+@@ -28,8 +28,13 @@
+
+ #include "gdevprn.h"
+
++#if GS_VERSION_MAJOR >= 8
++#define lprn_dev_proc_image_out(proc)\
++ void proc(gx_device_printer *, FILE *, int, int, int, int)
++#else
+ #define lprn_dev_proc_image_out(proc)\
+ void proc(P6(gx_device_printer *, FILE *, int, int, int, int))
++#endif
+
+ #define dev_proc_image_out(proc) lprn_dev_proc_image_out(proc)
+