summaryrefslogtreecommitdiff
path: root/japanese/iv/files/patch-by
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>2000-01-11 15:52:35 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>2000-01-11 15:52:35 +0000
commitd0094e951a8f7bd1f793e0cd66cc6ed91b034a58 (patch)
treedb5ef3978ff9d2fc60f3bf46216c152189bffdb9 /japanese/iv/files/patch-by
parentAdd explanation of `locale warning message' to DESCR and MESSAGE. (diff)
Fix build error under 4-current and new egcs/C++ compiler.
PR: ports/16024 Submitted by: MIHIRA Yoshiro <sanpei@sanpei.org>
Diffstat (limited to 'japanese/iv/files/patch-by')
-rw-r--r--japanese/iv/files/patch-by14
1 files changed, 14 insertions, 0 deletions
diff --git a/japanese/iv/files/patch-by b/japanese/iv/files/patch-by
new file mode 100644
index 000000000000..400553ae50de
--- /dev/null
+++ b/japanese/iv/files/patch-by
@@ -0,0 +1,14 @@
+--- src/lib/Unidraw/text.c.org Wed Mar 25 10:18:22 1992
++++ src/lib/Unidraw/text.c Mon Jan 3 15:32:12 2000
+@@ -560,9 +560,10 @@
+ // errors in a Postscript string.
+
+ const char* PSText::Filter (const char* string, int len) {
++ int dot;
+ TextBuffer stext(sbuf, 0, SBUFSIZE);
+
+- for (int dot = 0; len--; string++) {
++ for (dot = 0; len--; string++) {
+ char c = *string;
+
+ if (!isascii(c) || iscntrl(c)) {