1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/japanese/iv/files/patch-af
Shigeyuki Fukushima d0094e951a Fix build error under 4-current and new egcs/C++ compiler.
PR:		ports/16024
Submitted by:	MIHIRA Yoshiro <sanpei@sanpei.org>
2000-01-11 15:52:35 +00:00

34 lines
775 B
Plaintext

*** src/lib/InterViews/style.c.orig Wed Jan 17 10:36:19 1996
--- src/lib/InterViews/style.c Mon Jan 3 13:49:46 2000
***************
*** 41,47 ****
--- 41,51 ----
#include <OS/ustring.h>
#include <ctype.h>
#ifdef JIV
+ #ifdef __STDC__
+ #include <stdio.h>
+ #else
#include <libc.h>
+ #endif
#endif /* JIV */
declarePtrList(StyleList,Style)
***************
*** 427,433 ****
for (long i = 0; i < e->avail_; i++) {
new_list[i] = e->entries_[i];
}
! for (i = e->avail_; i < new_avail; i++) {
new_list[i] = nil;
}
delete e->entries_;
--- 431,437 ----
for (long i = 0; i < e->avail_; i++) {
new_list[i] = e->entries_[i];
}
! for (int i = e->avail_; i < new_avail; i++) {
new_list[i] = nil;
}
delete e->entries_;