summaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu/files/patch-eplaser:gdevescv.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2008-09-05 19:41:48 +0000
committerHiroki Sato <hrs@FreeBSD.org>2008-09-05 19:41:48 +0000
commit6e0909e045a068d899c6347684796ba545f7202e (patch)
treee79848665db740cc8788eb18695e78e172bdef35 /print/ghostscript-gnu/files/patch-eplaser:gdevescv.c
parentUpgrade to snapshot 2008.09.05 (SVN revision 73). (diff)
* print/ghostscript-* and related ports have been renamed in the
following way: print/ghostscript-gnu -> print/ghostscript7 print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11 print/ghostscript-gnu-commfont -> print/ghostscript7-commfont print/ghostscript-gpl -> print/ghostscript8 print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11 japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont * USE_GHOSTSCRIPT now supports a version number which the port requires. The valid value is "7" or "8". If other value is specified, value of WITH_GHOSTSCRIPT_VER is used. * WITH_GHOSTSCRIPT_GNU has been removed in favor of WITH_GHOSTSCRIPT_VER. The valid value of WITH_GHOSTSCRIPT_VER is "7" or "8", and the default value is "8". Approved by: portmgr (pav)
Diffstat (limited to '')
-rw-r--r--print/ghostscript-gnu/files/patch-eplaser:gdevescv.c84
1 files changed, 0 insertions, 84 deletions
diff --git a/print/ghostscript-gnu/files/patch-eplaser:gdevescv.c b/print/ghostscript-gnu/files/patch-eplaser:gdevescv.c
deleted file mode 100644
index ee548e3019e6..000000000000
--- a/print/ghostscript-gnu/files/patch-eplaser:gdevescv.c
+++ /dev/null
@@ -1,84 +0,0 @@
---- eplaser/gdevescv.c.orig Mon May 17 14:25:19 2004
-+++ eplaser/gdevescv.c Mon Aug 2 14:01:21 2004
-@@ -37,10 +37,6 @@
-
- */
-
--#include <stdlib.h>
--#include <unistd.h>
--#include <string.h>
--
- #include "math_.h"
- #include "gx.h"
- #include "gserrors.h"
-@@ -62,6 +58,10 @@
- #include "gspath.h"
- #include "gzpath.h"
-
-+#include <stdlib.h>
-+#include <unistd.h>
-+#include <string.h>
-+
- /* ---------------- Device definition ---------------- */
-
- /* Device procedures */
-@@ -342,6 +342,16 @@
- };
-
- /* Vector device implementation */
-+#if GS_VERSION_MAJOR >= 8
-+private int escv_beginpage(gx_device_vector * vdev);
-+private int escv_setfillcolor(gx_device_vector * vdev, const gx_drawing_color * pdc);
-+private int escv_setstrokecolor(gx_device_vector * vdev, const gx_drawing_color * pdc);
-+private int escv_setdash(gx_device_vector * vdev, const float *pattern,
-+ uint count, floatp offset);
-+private int escv_setflat(gx_device_vector * vdev, floatp flatness);
-+private int escv_setlogop(gx_device_vector * vdev, gs_logical_operation_t lop,
-+ gs_logical_operation_t diff);
-+#else
- private int escv_beginpage(P1(gx_device_vector * vdev));
- private int escv_setfillcolor(P2(gx_device_vector * vdev, const gx_drawing_color * pdc));
- private int escv_setstrokecolor(P2(gx_device_vector * vdev, const gx_drawing_color * pdc));
-@@ -350,10 +360,25 @@
- private int escv_setflat(P2(gx_device_vector * vdev, floatp flatness));
- private int escv_setlogop(P3(gx_device_vector * vdev, gs_logical_operation_t lop,
- gs_logical_operation_t diff));
-+#endif
- private int escv_vector_dorect(gx_device_vector * vdev, fixed x0, fixed y0, fixed x1,
- fixed y1, gx_path_type_t type);
- private int escv_vector_dopath(gx_device_vector * vdev, const gx_path * ppath,
- gx_path_type_t type);
-+#if GS_VERSION_MAJOR >= 8
-+private int escv_beginpath(gx_device_vector * vdev, gx_path_type_t type);
-+private int escv_moveto(gx_device_vector * vdev, floatp x0, floatp y0,
-+ floatp x, floatp y, gx_path_type_t type);
-+private int escv_lineto(gx_device_vector * vdev, floatp x0, floatp y0,
-+ floatp x, floatp y, gx_path_type_t type);
-+private int escv_curveto(gx_device_vector * vdev, floatp x0, floatp y0,
-+ floatp x1, floatp y1, floatp x2, floatp y2,
-+ floatp x3, floatp y3, gx_path_type_t type);
-+private int escv_closepath(gx_device_vector * vdev, floatp x, floatp y,
-+ floatp x_start, floatp y_start, gx_path_type_t type);
-+
-+private int escv_endpath(gx_device_vector * vdev, gx_path_type_t type);
-+#else
- private int escv_beginpath(P2(gx_device_vector * vdev, gx_path_type_t type));
- private int escv_moveto(P6(gx_device_vector * vdev, floatp x0, floatp y0,
- floatp x, floatp y, gx_path_type_t type));
-@@ -366,6 +391,7 @@
- floatp x_start, floatp y_start, gx_path_type_t type));
-
- private int escv_endpath(P2(gx_device_vector * vdev, gx_path_type_t type));
-+#endif
- private int escv_setlinewidth(gx_device_vector * vdev, floatp width);
- private int escv_setlinecap(gx_device_vector * vdev, gs_line_cap cap);
- private int escv_setlinejoin(gx_device_vector * vdev, gs_line_join join);
-@@ -1671,7 +1697,7 @@
- gs_logical_operation_t lop, const gx_clip_path * pcpath)
- {
- gx_device_vector const *vdev = (gx_device_vector *) dev;
-- gx_device_escv const *pdev = (gx_device_escv *) dev;
-+ gx_device_escv *pdev = (gx_device_escv *) dev;
- stream *s = gdev_vector_stream(vdev);
-
- if (w <= 0 || h <= 0) return 0;