diff options
author | naddy <naddy@FreeBSD.org> | 2002-12-19 04:01:26 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-12-19 04:01:26 +0800 |
commit | 6c362bd77f8e84726e365be8587ac2c428cb11c9 (patch) | |
tree | 1b1f40719046157b4c1600fccd2ec15be390de2b /japanese | |
parent | 555aec1930457366a47f35a2d6a7d2742156088e (diff) | |
download | freebsd-ports-gnome-6c362bd77f8e84726e365be8587ac2c428cb11c9.tar.gz freebsd-ports-gnome-6c362bd77f8e84726e365be8587ac2c428cb11c9.tar.zst freebsd-ports-gnome-6c362bd77f8e84726e365be8587ac2c428cb11c9.zip |
Fix build on 64-bit platforms: don't define prototypes that conflict
with the system ones.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/xvi-euc/files/patch-xvi.h | 16 | ||||
-rw-r--r-- | japanese/xvi-sjis/files/patch-xvi.h | 15 |
2 files changed, 29 insertions, 2 deletions
diff --git a/japanese/xvi-euc/files/patch-xvi.h b/japanese/xvi-euc/files/patch-xvi.h new file mode 100644 index 000000000000..b81db012cb44 --- /dev/null +++ b/japanese/xvi-euc/files/patch-xvi.h @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- xvi.h.orig Wed Dec 18 20:45:08 2002 ++++ xvi.h Wed Dec 18 20:45:25 2002 +@@ -90,9 +90,9 @@ + * Functions which ANSI does not specify should + * be included in any standard header file. + */ ++#ifndef BSD386 /* ken */ + extern int chdir P((const char *path)); + extern char *getcwd P((char *, unsigned)); +-#ifndef BSD386 /* ken */ + extern void sleep P((unsigned seconds)); + #endif + diff --git a/japanese/xvi-sjis/files/patch-xvi.h b/japanese/xvi-sjis/files/patch-xvi.h index 598e4e85a71d..d9205edb3126 100644 --- a/japanese/xvi-sjis/files/patch-xvi.h +++ b/japanese/xvi-sjis/files/patch-xvi.h @@ -1,5 +1,16 @@ ---- xvi.h.orig Tue Aug 27 14:27:05 2002 -+++ xvi.h Tue Aug 27 14:27:05 2002 +--- xvi.h.orig Wed Dec 18 20:50:06 2002 ++++ xvi.h Wed Dec 18 20:50:43 2002 +@@ -90,9 +90,9 @@ + * Functions which ANSI does not specify should + * be included in any standard header file. + */ ++#ifndef BSD386 /* ken */ + extern int chdir P((const char *path)); + extern char *getcwd P((char *, unsigned)); +-#ifndef BSD386 /* ken */ + extern void sleep P((unsigned seconds)); + #endif + @@ -151,11 +151,7 @@ # else # define KANJI_VER "jXvi K.Tsuchida" |