freebsd-ports/print/ghostscript7/files/patch-lips:gdevlprn.h
Hiroki Sato 045633a1b8 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
2013-04-29 20:12:16 +00:00

16 lines
458 B
C

--- 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)