aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xvi-euc
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-12-19 04:01:26 +0800
committernaddy <naddy@FreeBSD.org>2002-12-19 04:01:26 +0800
commit6c362bd77f8e84726e365be8587ac2c428cb11c9 (patch)
tree1b1f40719046157b4c1600fccd2ec15be390de2b /japanese/xvi-euc
parent555aec1930457366a47f35a2d6a7d2742156088e (diff)
downloadfreebsd-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/xvi-euc')
-rw-r--r--japanese/xvi-euc/files/patch-xvi.h16
1 files changed, 16 insertions, 0 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
+