summaryrefslogtreecommitdiff
path: root/japanese/iv/files/patch-cn
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-cn
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-cn')
-rw-r--r--japanese/iv/files/patch-cn63
1 files changed, 63 insertions, 0 deletions
diff --git a/japanese/iv/files/patch-cn b/japanese/iv/files/patch-cn
new file mode 100644
index 000000000000..72afe13bf958
--- /dev/null
+++ b/japanese/iv/files/patch-cn
@@ -0,0 +1,63 @@
+diff -Ncr src/lib/IV-X11/xjivfunc.c src/lib/IV-X11/xjivfunc.c
+*** src/lib/IV-X11/xjivfunc.c Sat Feb 6 19:11:35 1999
+--- src/lib/IV-X11/xjivfunc.c Sat Feb 6 19:05:50 1999
+***************
+*** 110,115 ****
+--- 110,116 ----
+ rb += c.rbearing;
+ }
+ }
++ delete[] ss;
+ return rb;
+ }
+
+***************
+*** 175,180 ****
+--- 176,182 ----
+ w += c.width;
+ }
+ }
++ delete[] ss;
+ return w;
+ }
+
+***************
+*** 248,253 ****
+--- 250,256 ----
+ }
+ }
+ }
++ delete[] ss;
+ return a;
+ }
+
+***************
+*** 321,326 ****
+--- 324,330 ----
+ }
+ }
+ }
++ delete[] ss;
+ return d;
+ }
+
+***************
+*** 404,409 ****
+--- 408,414 ----
+ XDrawString(dpy, d, gc, x, y, (const char*)ss, sl);
+ }
+ }
++ delete[] ss;
+ }
+
+ void JIVDrawImageString(XDisplay *dpy, XDrawable d, GC gc, const Font* f,
+***************
+*** 487,492 ****
+--- 492,498 ----
+ XDrawImageString(dpy, d, gc, x, y, (const char*)ss, sl);
+ }
+ }
++ delete[] ss;
+ }
+
+ #endif /* JIV */