diff options
author | Shigeyuki Fukushima <shige@FreeBSD.org> | 2000-01-11 15:52:35 +0000 |
---|---|---|
committer | Shigeyuki Fukushima <shige@FreeBSD.org> | 2000-01-11 15:52:35 +0000 |
commit | d0094e951a8f7bd1f793e0cd66cc6ed91b034a58 (patch) | |
tree | db5ef3978ff9d2fc60f3bf46216c152189bffdb9 /japanese/iv/files/patch-ad | |
parent | Add 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-ad')
-rw-r--r-- | japanese/iv/files/patch-ad | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/japanese/iv/files/patch-ad b/japanese/iv/files/patch-ad index fe3a32318a8b..6fc41679c0c8 100644 --- a/japanese/iv/files/patch-ad +++ b/japanese/iv/files/patch-ad @@ -910,6 +910,24 @@ diff -rc --exclude=Makefile --exclude=FREEBSD work-orig/iv/src/lib/IV-2_6/xpaint PainterRep::PainterRep() { display = Session::instance()->default_display(); +*************** +*** 1231,1237 **** + return; + } + register XPoint* v = AllocPts(n+1); +! for (register int i = 0; i < n; i++) { + Map(c, x[i], y[i], v[i].x, v[i].y); + } + if (x[i-1] != x[0] || y[i-1] != y[0]) { +--- 1232,1239 ---- + return; + } + register XPoint* v = AllocPts(n+1); +! register int i; +! for (i = 0; i < n; i++) { + Map(c, x[i], y[i], v[i].x, v[i].y); + } + if (x[i-1] != x[0] || y[i-1] != y[0]) { diff -rc --exclude=Makefile --exclude=FREEBSD work-orig/iv/src/lib/TIFF/prototypes.h ./src/lib/TIFF/prototypes.h *** work-orig/iv/src/lib/TIFF/prototypes.h Wed May 31 08:52:12 1995 --- ./src/lib/TIFF/prototypes.h Sun May 28 14:21:04 1995 |