diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-04-03 03:01:26 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-04-03 03:01:26 +0000 |
commit | a753bb98f57aa12a62222c6f07294aaabb27f391 (patch) | |
tree | 8c14c07bdb6f3fb3bf883c9220612157c7448bdc /print/ghostscript-afpl/files/patch-eplaser:gdevesmv.c | |
parent | Update to 7.04. (diff) |
Update to 7.04.
Modifications against PR are:
o $MASTER_SITES substitution.
o Typo in scripts/configure.
PR: ports/36673
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=57252
Diffstat (limited to 'print/ghostscript-afpl/files/patch-eplaser:gdevesmv.c')
-rw-r--r-- | print/ghostscript-afpl/files/patch-eplaser:gdevesmv.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/print/ghostscript-afpl/files/patch-eplaser:gdevesmv.c b/print/ghostscript-afpl/files/patch-eplaser:gdevesmv.c new file mode 100644 index 000000000000..8764eb63292f --- /dev/null +++ b/print/ghostscript-afpl/files/patch-eplaser:gdevesmv.c @@ -0,0 +1,43 @@ +--- eplaser/gdevesmv.c.orig Fri Dec 14 10:50:14 2001 ++++ eplaser/gdevesmv.c Fri Mar 15 04:28:41 2002 +@@ -1799,13 +1799,13 @@ + + /* Process the next piece of an image. */ + private int +-#if GS_VERSION_MAJOR == 6 ++#if GS_VERSION_MAJOR >= 6 + esmv_image_plane_data(gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height, int *rows_used) + #else + esmv_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; +@@ -1823,7 +1823,7 @@ + + { + +-#if GS_VERSION_MAJOR == 6 ++#if GS_VERSION_MAJOR >= 6 + if (height == 260) + height = 1; + #endif +@@ -1980,13 +1980,13 @@ + + + private int +-#if GS_VERSION_MAJOR == 6 ++#if GS_VERSION_MAJOR >= 6 + esmv_image_end_image(gx_image_enum_common_t * info, bool draw_last) + #else + esmv_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; |