diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-17 23:28:04 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-17 23:28:04 +0000 |
commit | 1a8a092d9fefcbd7f960c82c59802c61807867a6 (patch) | |
tree | 48e47bf661e0e5d6ed9c060e8aea683b30d4540f /print/ghostscript7-base/files/patch-src_zdps.c | |
parent | - Update to 1.7.1 (diff) |
Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches
accordingly.
Sponsored by: Absolight
Diffstat (limited to 'print/ghostscript7-base/files/patch-src_zdps.c')
-rw-r--r-- | print/ghostscript7-base/files/patch-src_zdps.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/print/ghostscript7-base/files/patch-src_zdps.c b/print/ghostscript7-base/files/patch-src_zdps.c new file mode 100644 index 000000000000..414a296cd4ea --- /dev/null +++ b/print/ghostscript7-base/files/patch-src_zdps.c @@ -0,0 +1,25 @@ +--- src/zdps.c.orig 2013-04-30 11:05:10.000000000 +0900 ++++ src/zdps.c 2013-04-30 11:05:50.000000000 +0900 +@@ -46,19 +46,18 @@ + { + os_ptr op = osp; + int code; +- long x, y; ++ int x, y; + + check_type(op[-2], t_integer); + check_type(op[-1], t_integer); + check_type(*op, t_integer); + x = op[-1].value.intval; + y = op->value.intval; +- if (x != (int)x || y != (int)y || +- op[-2].value.intval < -1 || ++ if (op[-2].value.intval < -1 || + op[-2].value.intval >= gs_color_select_count + ) + return_error(e_rangecheck); +- code = gs_setscreenphase(igs, (int)x, (int)y, ++ code = gs_setscreenphase(igs, x, y, + (gs_color_select_t) op[-2].value.intval); + if (code >= 0) + pop(3); |