summaryrefslogtreecommitdiff
path: root/japanese/iv/files/patch-bs
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-bs
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-bs')
-rw-r--r--japanese/iv/files/patch-bs12
1 files changed, 12 insertions, 0 deletions
diff --git a/japanese/iv/files/patch-bs b/japanese/iv/files/patch-bs
new file mode 100644
index 000000000000..ae71df5d2d66
--- /dev/null
+++ b/japanese/iv/files/patch-bs
@@ -0,0 +1,12 @@
+--- src/bin/idraw/idcatalog.c.org Mon Jan 3 14:37:37 2000
++++ src/bin/idraw/idcatalog.c Mon Jan 3 14:36:51 2000
+@@ -662,7 +662,8 @@
+ graylevel = CalcGrayLevel(data[0]);
+ }
+ } else if (graylevel == -1) {
+- for (int i = 0; in >> _buf && i < patternHeight; i++) {
++ int i;
++ for (i = 0; in >> _buf && i < patternHeight; i++) {
+ if (_buf[0] == '>' || sscanf(_buf, "%x", &data[i]) != 1) {
+ break;
+ }