mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fix build on -current
Submitted by: tjr
This commit is contained in:
parent
742e6fd884
commit
d3b6a0557b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68852
26
japanese/Canna/files/patch-al
Normal file
26
japanese/Canna/files/patch-al
Normal file
@ -0,0 +1,26 @@
|
||||
--- canna/widedef.h.OLD Sat Oct 26 11:59:11 2002
|
||||
+++ canna/widedef.h Sat Oct 26 12:04:56 2002
|
||||
@@ -35,7 +35,7 @@
|
||||
#define WCHAR16
|
||||
#endif
|
||||
|
||||
-#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
+#if defined(__NetBSD__)
|
||||
# include <machine/ansi.h>
|
||||
#endif
|
||||
|
||||
@@ -61,7 +61,13 @@
|
||||
#endif /* !nec_ews_svr2 */
|
||||
#endif /* HAVE_WCHAR_OPERATION */
|
||||
|
||||
-#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
+#if defined(__FreeBSD__)
|
||||
+# ifdef WCHAR16
|
||||
+# warning FreeBSD does not use 16-bit wide character types
|
||||
+# endif
|
||||
+# include <stddef.h>
|
||||
+# define _WCHAR_T
|
||||
+#elif defined(__NetBSD__)
|
||||
# ifdef _BSD_WCHAR_T_
|
||||
# undef _BSD_WCHAR_T_
|
||||
# ifdef WCHAR16
|
26
japanese/canna-lib/files/patch-al
Normal file
26
japanese/canna-lib/files/patch-al
Normal file
@ -0,0 +1,26 @@
|
||||
--- canna/widedef.h.OLD Sat Oct 26 11:59:11 2002
|
||||
+++ canna/widedef.h Sat Oct 26 12:04:56 2002
|
||||
@@ -35,7 +35,7 @@
|
||||
#define WCHAR16
|
||||
#endif
|
||||
|
||||
-#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
+#if defined(__NetBSD__)
|
||||
# include <machine/ansi.h>
|
||||
#endif
|
||||
|
||||
@@ -61,7 +61,13 @@
|
||||
#endif /* !nec_ews_svr2 */
|
||||
#endif /* HAVE_WCHAR_OPERATION */
|
||||
|
||||
-#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
+#if defined(__FreeBSD__)
|
||||
+# ifdef WCHAR16
|
||||
+# warning FreeBSD does not use 16-bit wide character types
|
||||
+# endif
|
||||
+# include <stddef.h>
|
||||
+# define _WCHAR_T
|
||||
+#elif defined(__NetBSD__)
|
||||
# ifdef _BSD_WCHAR_T_
|
||||
# undef _BSD_WCHAR_T_
|
||||
# ifdef WCHAR16
|
26
japanese/canna-server/files/patch-al
Normal file
26
japanese/canna-server/files/patch-al
Normal file
@ -0,0 +1,26 @@
|
||||
--- canna/widedef.h.OLD Sat Oct 26 11:59:11 2002
|
||||
+++ canna/widedef.h Sat Oct 26 12:04:56 2002
|
||||
@@ -35,7 +35,7 @@
|
||||
#define WCHAR16
|
||||
#endif
|
||||
|
||||
-#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
+#if defined(__NetBSD__)
|
||||
# include <machine/ansi.h>
|
||||
#endif
|
||||
|
||||
@@ -61,7 +61,13 @@
|
||||
#endif /* !nec_ews_svr2 */
|
||||
#endif /* HAVE_WCHAR_OPERATION */
|
||||
|
||||
-#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
+#if defined(__FreeBSD__)
|
||||
+# ifdef WCHAR16
|
||||
+# warning FreeBSD does not use 16-bit wide character types
|
||||
+# endif
|
||||
+# include <stddef.h>
|
||||
+# define _WCHAR_T
|
||||
+#elif defined(__NetBSD__)
|
||||
# ifdef _BSD_WCHAR_T_
|
||||
# undef _BSD_WCHAR_T_
|
||||
# ifdef WCHAR16
|
Loading…
Reference in New Issue
Block a user