aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>2002-11-20 05:35:14 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>2002-11-20 05:35:14 +0000
commitc363efe2a4ec7ba2c7bb4c88cb12b4db98d8bd10 (patch)
treed2636ec61c00fe04ed91fdeb23178b8a54d41eb6
parentb88260c8c9e7c0e07a68a7f51573e4ab35e43d03 (diff)
downloadports-c363efe2a4ec7ba2c7bb4c88cb12b4db98d8bd10.tar.gz
ports-c363efe2a4ec7ba2c7bb4c88cb12b4db98d8bd10.zip
Notes
-rw-r--r--japanese/Canna/Makefile1
-rw-r--r--japanese/Canna/files/patch-al34
-rw-r--r--japanese/canna-lib/Makefile1
-rw-r--r--japanese/canna-lib/files/patch-al34
-rw-r--r--japanese/canna-server/Makefile1
-rw-r--r--japanese/canna-server/files/patch-al34
6 files changed, 72 insertions, 33 deletions
diff --git a/japanese/Canna/Makefile b/japanese/Canna/Makefile
index ceb61b8d7604..53097d29c0dd 100644
--- a/japanese/Canna/Makefile
+++ b/japanese/Canna/Makefile
@@ -8,6 +8,7 @@
PORTNAME= Canna
PORTVERSION= 3.6
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://downloads.sourceforge.jp/canna/1425/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
diff --git a/japanese/Canna/files/patch-al b/japanese/Canna/files/patch-al
index 84d0c4172999..27876dd02ac4 100644
--- a/japanese/Canna/files/patch-al
+++ b/japanese/Canna/files/patch-al
@@ -1,26 +1,38 @@
---- 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 @@
+--- canna/widedef.h.orig Sat Oct 19 17:27:28 2002
++++ canna/widedef.h Tue Nov 19 08:20:30 2002
+@@ -35,7 +35,11 @@
#define WCHAR16
#endif
-#if defined(__FreeBSD__) || defined(__NetBSD__)
-+#if defined(__NetBSD__)
++#ifdef __FreeBSD__
++# include <osreldate.h>
++#endif
++
++#if (defined(__FreeBSD__) && __FreeBSD_version < 500000) || defined(__NetBSD__)
# include <machine/ansi.h>
#endif
-@@ -61,7 +61,13 @@
+@@ -61,7 +65,7 @@
#endif /* !nec_ews_svr2 */
#endif /* HAVE_WCHAR_OPERATION */
-#if defined(__FreeBSD__) || defined(__NetBSD__)
-+#if defined(__FreeBSD__)
++#if (defined(__FreeBSD__) && __FreeBSD_version < 500000) || defined(__NetBSD__)
+ # ifdef _BSD_WCHAR_T_
+ # undef _BSD_WCHAR_T_
+ # ifdef WCHAR16
+@@ -72,6 +76,13 @@
+ # include <stddef.h>
+ # define _WCHAR_T
+ # endif
++#elif defined(__FreeBSD__) && __FreeBSD_version >= 500000
+# ifdef WCHAR16
-+# warning FreeBSD does not use 16-bit wide character types
++typedef unsigned short wchar_t;
++# define _WCHAR_T_DECLARED
+# endif
+# include <stddef.h>
+# define _WCHAR_T
-+#elif defined(__NetBSD__)
- # ifdef _BSD_WCHAR_T_
- # undef _BSD_WCHAR_T_
- # ifdef WCHAR16
+ #else
+ #if !defined(WCHAR_T) && !defined(_WCHAR_T) && !defined(_WCHAR_T_) \
+ && !defined(__WCHAR_T) && !defined(_GCC_WCHAR_T) && !defined(_WCHAR_T_DEFINED)
diff --git a/japanese/canna-lib/Makefile b/japanese/canna-lib/Makefile
index ceb61b8d7604..53097d29c0dd 100644
--- a/japanese/canna-lib/Makefile
+++ b/japanese/canna-lib/Makefile
@@ -8,6 +8,7 @@
PORTNAME= Canna
PORTVERSION= 3.6
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://downloads.sourceforge.jp/canna/1425/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
diff --git a/japanese/canna-lib/files/patch-al b/japanese/canna-lib/files/patch-al
index 84d0c4172999..27876dd02ac4 100644
--- a/japanese/canna-lib/files/patch-al
+++ b/japanese/canna-lib/files/patch-al
@@ -1,26 +1,38 @@
---- 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 @@
+--- canna/widedef.h.orig Sat Oct 19 17:27:28 2002
++++ canna/widedef.h Tue Nov 19 08:20:30 2002
+@@ -35,7 +35,11 @@
#define WCHAR16
#endif
-#if defined(__FreeBSD__) || defined(__NetBSD__)
-+#if defined(__NetBSD__)
++#ifdef __FreeBSD__
++# include <osreldate.h>
++#endif
++
++#if (defined(__FreeBSD__) && __FreeBSD_version < 500000) || defined(__NetBSD__)
# include <machine/ansi.h>
#endif
-@@ -61,7 +61,13 @@
+@@ -61,7 +65,7 @@
#endif /* !nec_ews_svr2 */
#endif /* HAVE_WCHAR_OPERATION */
-#if defined(__FreeBSD__) || defined(__NetBSD__)
-+#if defined(__FreeBSD__)
++#if (defined(__FreeBSD__) && __FreeBSD_version < 500000) || defined(__NetBSD__)
+ # ifdef _BSD_WCHAR_T_
+ # undef _BSD_WCHAR_T_
+ # ifdef WCHAR16
+@@ -72,6 +76,13 @@
+ # include <stddef.h>
+ # define _WCHAR_T
+ # endif
++#elif defined(__FreeBSD__) && __FreeBSD_version >= 500000
+# ifdef WCHAR16
-+# warning FreeBSD does not use 16-bit wide character types
++typedef unsigned short wchar_t;
++# define _WCHAR_T_DECLARED
+# endif
+# include <stddef.h>
+# define _WCHAR_T
-+#elif defined(__NetBSD__)
- # ifdef _BSD_WCHAR_T_
- # undef _BSD_WCHAR_T_
- # ifdef WCHAR16
+ #else
+ #if !defined(WCHAR_T) && !defined(_WCHAR_T) && !defined(_WCHAR_T_) \
+ && !defined(__WCHAR_T) && !defined(_GCC_WCHAR_T) && !defined(_WCHAR_T_DEFINED)
diff --git a/japanese/canna-server/Makefile b/japanese/canna-server/Makefile
index ceb61b8d7604..53097d29c0dd 100644
--- a/japanese/canna-server/Makefile
+++ b/japanese/canna-server/Makefile
@@ -8,6 +8,7 @@
PORTNAME= Canna
PORTVERSION= 3.6
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://downloads.sourceforge.jp/canna/1425/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
diff --git a/japanese/canna-server/files/patch-al b/japanese/canna-server/files/patch-al
index 84d0c4172999..27876dd02ac4 100644
--- a/japanese/canna-server/files/patch-al
+++ b/japanese/canna-server/files/patch-al
@@ -1,26 +1,38 @@
---- 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 @@
+--- canna/widedef.h.orig Sat Oct 19 17:27:28 2002
++++ canna/widedef.h Tue Nov 19 08:20:30 2002
+@@ -35,7 +35,11 @@
#define WCHAR16
#endif
-#if defined(__FreeBSD__) || defined(__NetBSD__)
-+#if defined(__NetBSD__)
++#ifdef __FreeBSD__
++# include <osreldate.h>
++#endif
++
++#if (defined(__FreeBSD__) && __FreeBSD_version < 500000) || defined(__NetBSD__)
# include <machine/ansi.h>
#endif
-@@ -61,7 +61,13 @@
+@@ -61,7 +65,7 @@
#endif /* !nec_ews_svr2 */
#endif /* HAVE_WCHAR_OPERATION */
-#if defined(__FreeBSD__) || defined(__NetBSD__)
-+#if defined(__FreeBSD__)
++#if (defined(__FreeBSD__) && __FreeBSD_version < 500000) || defined(__NetBSD__)
+ # ifdef _BSD_WCHAR_T_
+ # undef _BSD_WCHAR_T_
+ # ifdef WCHAR16
+@@ -72,6 +76,13 @@
+ # include <stddef.h>
+ # define _WCHAR_T
+ # endif
++#elif defined(__FreeBSD__) && __FreeBSD_version >= 500000
+# ifdef WCHAR16
-+# warning FreeBSD does not use 16-bit wide character types
++typedef unsigned short wchar_t;
++# define _WCHAR_T_DECLARED
+# endif
+# include <stddef.h>
+# define _WCHAR_T
-+#elif defined(__NetBSD__)
- # ifdef _BSD_WCHAR_T_
- # undef _BSD_WCHAR_T_
- # ifdef WCHAR16
+ #else
+ #if !defined(WCHAR_T) && !defined(_WCHAR_T) && !defined(_WCHAR_T_) \
+ && !defined(__WCHAR_T) && !defined(_GCC_WCHAR_T) && !defined(_WCHAR_T_DEFINED)