summaryrefslogtreecommitdiff
path: root/print/ghostscript7/files/patch-src-iutil.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2014-11-23 06:14:21 +0000
committerHiroki Sato <hrs@FreeBSD.org>2014-11-23 06:14:21 +0000
commit118978bf4c6dbf7ffc92a190aab60942c56093f4 (patch)
tree129b54759668029d5b4e2c90770cbd6d51066db8 /print/ghostscript7/files/patch-src-iutil.c
parentUpgrade to 4.7.1 (diff)
Resurrect print/ghostscript7{,-commfont,-jpnfont,-korfont,-nox11}.
Notes
Notes: svn path=/head/; revision=373122
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);