aboutsummaryrefslogtreecommitdiff
path: root/japanese/xvi-euc
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-12-18 20:01:26 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-12-18 20:01:26 +0000
commit8c89ab27f6051281cd7c12af0acea70c44c95407 (patch)
tree2853b3c8a9df4dca697d7f9854499e87f23031b2 /japanese/xvi-euc
parent206a1c23e10fe495513f6b9a7524dc4298fb2d63 (diff)
downloadports-8c89ab27f6051281cd7c12af0acea70c44c95407.tar.gz
ports-8c89ab27f6051281cd7c12af0acea70c44c95407.zip
Fix build on 64-bit platforms: don't define prototypes that conflict
with the system ones.
Notes
Notes: svn path=/head/; revision=71713
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
+