mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Fix build on 64-bit platforms: don't define prototypes that conflict
with the system ones.
This commit is contained in:
parent
206a1c23e1
commit
8c89ab27f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71713
16
japanese/xvi-euc/files/patch-xvi.h
Normal file
16
japanese/xvi-euc/files/patch-xvi.h
Normal file
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user