summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files/patch-eplaser:gdevescv.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gpl/files/patch-eplaser:gdevescv.c')
-rw-r--r--print/ghostscript-gpl/files/patch-eplaser:gdevescv.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/patch-eplaser:gdevescv.c b/print/ghostscript-gpl/files/patch-eplaser:gdevescv.c
new file mode 100644
index 000000000000..b1b6fc57f0c0
--- /dev/null
+++ b/print/ghostscript-gpl/files/patch-eplaser:gdevescv.c
@@ -0,0 +1,43 @@
+--- eplaser/gdevescv.c.orig Fri Dec 21 15:50:22 2001
++++ eplaser/gdevescv.c Fri Mar 15 04:27:39 2002
+@@ -1760,13 +1760,13 @@
+
+ /* Process the next piece of an image. */
+ private int
+-#if GS_VERSION_MAJOR == 6
++#if GS_VERSION_MAJOR >= 6
+ escv_image_plane_data(gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height, int *rows_used)
+ #else
+ escv_image_plane_data(gx_device *dev, gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height)
+ #endif
+ {
+-#if GS_VERSION_MAJOR == 6
++#if GS_VERSION_MAJOR >= 6
+ gx_device *dev = info->dev;
+ #endif
+ gx_device_vector *const vdev = (gx_device_vector *) dev;
+@@ -1784,7 +1784,7 @@
+
+ {
+
+-#if GS_VERSION_MAJOR == 6
++#if GS_VERSION_MAJOR >= 6
+ if (height == 260)
+ height = 1;
+ #endif
+@@ -1922,13 +1922,13 @@
+
+
+ private int
+-#if GS_VERSION_MAJOR == 6
++#if GS_VERSION_MAJOR >= 6
+ escv_image_end_image(gx_image_enum_common_t * info, bool draw_last)
+ #else
+ escv_image_end_image(gx_device *dev, gx_image_enum_common_t * info, bool draw_last)
+ #endif
+ {
+-#if GS_VERSION_MAJOR == 6
++#if GS_VERSION_MAJOR >= 6
+ gx_device *dev = info->dev;
+ #endif
+ gx_device_vector *const vdev = (gx_device_vector *) dev;