diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-05-01 02:45:12 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-05-01 02:45:12 +0000 |
commit | 6cbb39d5e59b8c9869dd883731e05027f914d132 (patch) | |
tree | 233aaa622aecadadc1d839888d2a15892ac0621d /print/ghostscript7/files/patch-src-ziodev.c | |
parent | - Fix DATADIR. (diff) |
Fix issues on 64-bit platforms.
Diffstat (limited to '')
-rw-r--r-- | print/ghostscript7/files/patch-src-ziodev.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript7/files/patch-src-ziodev.c b/print/ghostscript7/files/patch-src-ziodev.c new file mode 100644 index 000000000000..2cd6f0add7a9 --- /dev/null +++ b/print/ghostscript7/files/patch-src-ziodev.c @@ -0,0 +1,11 @@ +--- src/ziodev.c.orig 2013-04-30 11:06:19.000000000 +0900 ++++ src/ziodev.c 2013-04-30 11:06:30.000000000 +0900 +@@ -79,8 +79,6 @@ + const byte *dname; + + check_type(*op, t_integer); +- if (op->value.intval != (int)op->value.intval) +- return_error(e_rangecheck); + iodev = gs_getiodevice((int)(op->value.intval)); + if (iodev == 0) /* index out of range */ + return_error(e_rangecheck); |