summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files/patch-lips:gdevlprn.h
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gpl/files/patch-lips:gdevlprn.h')
-rw-r--r--print/ghostscript-gpl/files/patch-lips:gdevlprn.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/print/ghostscript-gpl/files/patch-lips:gdevlprn.h b/print/ghostscript-gpl/files/patch-lips:gdevlprn.h
index f8169e113db7..f692dbe410a2 100644
--- a/print/ghostscript-gpl/files/patch-lips:gdevlprn.h
+++ b/print/ghostscript-gpl/files/patch-lips:gdevlprn.h
@@ -1,11 +1,16 @@
--- lips/gdevlprn.h.orig Thu Nov 2 12:09:18 2000
-+++ lips/gdevlprn.h Sun Nov 10 21:11:22 2002
-@@ -29,7 +29,7 @@
++++ lips/gdevlprn.h Sat Sep 13 23:06:38 2003
+@@ -28,8 +28,13 @@
+
#include "gdevprn.h"
- #define lprn_dev_proc_image_out(proc)\
-- void proc(P6(gx_device_printer *, FILE *, int, int, int, int))
++#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)