summaryrefslogtreecommitdiff
path: root/print/ghostscript7/files/patch-src-iutil.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-05-01 02:45:12 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-05-01 02:45:12 +0000
commit6cbb39d5e59b8c9869dd883731e05027f914d132 (patch)
tree233aaa622aecadadc1d839888d2a15892ac0621d /print/ghostscript7/files/patch-src-iutil.c
parent- Fix DATADIR. (diff)
Fix issues on 64-bit platforms.
Notes
Notes: svn path=/head/; revision=316980
Diffstat (limited to 'print/ghostscript7/files/patch-src-iutil.c')
-rw-r--r--print/ghostscript7/files/patch-src-iutil.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript7/files/patch-src-iutil.c b/print/ghostscript7/files/patch-src-iutil.c
new file mode 100644
index 000000000000..c77cb19ddd84
--- /dev/null
+++ b/print/ghostscript7/files/patch-src-iutil.c
@@ -0,0 +1,11 @@
+--- src/iutil.c.orig 2013-04-30 10:51:05.000000000 +0900
++++ src/iutil.c 2013-04-30 10:51:20.000000000 +0900
+@@ -428,7 +428,7 @@
+ data = (const byte *)(op->value.boolval ? "true" : "false");
+ break;
+ case t_integer:
+- sprintf(buf, "%ld", op->value.intval);
++ sprintf(buf, "%d", op->value.intval);
+ break;
+ case t_string:
+ check_read(*op);