aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/canna-lib/files
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>2003-02-06 16:03:38 +0800
committermax <max@FreeBSD.org>2003-02-06 16:03:38 +0800
commitbe1e86dc24d1845128b282194a312de1e053d66b (patch)
treecd118e6a917c2a89d5ff968d1261f2ece202d754 /japanese/canna-lib/files
parent81e4fec33d3049d9c94709ae9db4dcfe8e3932de (diff)
downloadfreebsd-ports-gnome-be1e86dc24d1845128b282194a312de1e053d66b.tar.gz
freebsd-ports-gnome-be1e86dc24d1845128b282194a312de1e053d66b.tar.zst
freebsd-ports-gnome-be1e86dc24d1845128b282194a312de1e053d66b.zip
Upgrade to 3.6p3.
Diffstat (limited to 'japanese/canna-lib/files')
-rw-r--r--japanese/canna-lib/files/patch-ac60
-rw-r--r--japanese/canna-lib/files/patch-ag18
-rw-r--r--japanese/canna-lib/files/patch-al38
3 files changed, 16 insertions, 100 deletions
diff --git a/japanese/canna-lib/files/patch-ac b/japanese/canna-lib/files/patch-ac
index 42a70332d271..676f2d290887 100644
--- a/japanese/canna-lib/files/patch-ac
+++ b/japanese/canna-lib/files/patch-ac
@@ -1,47 +1,19 @@
---- Canna.conf.orig Thu Oct 24 23:37:25 2002
-+++ Canna.conf Thu Nov 14 09:28:18 2002
-@@ -132,11 +132,12 @@
-
+--- Canna.conf.orig Sat Jan 25 17:47:47 2003
++++ Canna.conf Tue Feb 4 16:20:34 2003
+@@ -133,13 +133,14 @@
/* rootにならずにインストールする時はこれを定義して下さい */
/* #define InstallAsUser */
--cannaPrefix = /usr/local/canna
+ /* 従来と互換のディレクトリ構造にする場合はこれを定義してください */
+-#define ObsoleteInstallDir
++/* #define ObsoleteInstallDir */
+ #ifdef InstallAsUser
+ # define DefCannaPrefix $(HOME)/canna
+ # define DefErrDir $(cannaPrefix)/log
+ # define DefLibCannaDir $(cannaExecPrefix)/lib
+ #else
+-# define DefCannaPrefix /usr/local/canna
+PREFIX?= /usr/local
-+cannaPrefix = $(PREFIX)
- cannaExecPrefix = $(cannaPrefix)
- cannaBinDir = $(cannaExecPrefix)/bin
--cannaSrvDir = $(cannaExecPrefix)/bin
--cannaLibDir = $(cannaPrefix)/lib
-+cannaSrvDir = $(cannaExecPrefix)/sbin
-+cannaLibDir = $(cannaPrefix)/lib/canna
- cannaManDir = $(cannaPrefix)/man
- cannaIncDir = $(cannaPrefix)/include/canna
-
-@@ -144,8 +145,8 @@
- libCannaDir = $(cannaExecPrefix)/lib
- ErrDir = $(cannaExecPrefix)/log
- #else
--libCannaDir = /usr/lib
--ErrDir = /usr/spool/canna
-+libCannaDir = $(cannaPrefix)/lib
-+ErrDir = /var/log
- #endif
-
- /* 次の3行は変更しないでください */
-@@ -164,7 +165,7 @@
-
- pointerIntegerDef =
-
--cannaDsoRev = 1
-+cannaDsoRev = 1.0
- /* SunOS 4.x をお使いの方で shared object を利用する場合には
- cannaDsoRev = 1.1
- と指定してください。また、FreeBSD を利用する場合は、
-@@ -308,7 +309,7 @@
- * ここから下は変更しないようにしてください。
- */
-
-- CANNASERVER_DEFINES = $(wcharDefinition)
-+ CANNASERVER_DEFINES = $(wcharDefinition) $(cannaOwnerDefinition)
- RK_DEFINES = $(pointerIntegerDef)
- RKC_DEFINES = $(wcharDefinition)
- UILIB_DEFINES = $(wcharDefinition) $(pointerIntegerDef) \
++# define DefCannaPrefix $(PREFIX)
+ # ifdef ObsoleteInstallDir
+ # define DefErrDir /usr/spool/canna
+ # define DefLibCannaDir /usr/lib
diff --git a/japanese/canna-lib/files/patch-ag b/japanese/canna-lib/files/patch-ag
deleted file mode 100644
index 98f85358433f..000000000000
--- a/japanese/canna-lib/files/patch-ag
+++ /dev/null
@@ -1,18 +0,0 @@
---- cmd/catdic/Imakefile.orig Thu Nov 7 23:46:02 2002
-+++ cmd/catdic/Imakefile Mon Dec 2 12:09:42 2002
-@@ -84,7 +84,7 @@
- $(RM) $(DESTDIR)$(cannaBinDir)/chmoddic
- $(RM) $(DESTDIR)$(cannaBinDir)/addwords
- $(RM) $(DESTDIR)$(cannaBinDir)/delwords
-- $(RM) $(DESTDIR)$(cannaBinDir)/cannakill
-+ $(RM) $(DESTDIR)$(cannaSrvDir)/cannakill
- $(LN) $(DESTDIR)$(cannaBinDir)/catdic $(DESTDIR)$(cannaBinDir)/cpdic
- $(LN) $(DESTDIR)$(cannaBinDir)/catdic $(DESTDIR)$(cannaBinDir)/lsdic
- $(LN) $(DESTDIR)$(cannaBinDir)/catdic $(DESTDIR)$(cannaBinDir)/mkdic
-@@ -94,5 +94,5 @@
- $(LN) $(DESTDIR)$(cannaBinDir)/catdic $(DESTDIR)$(cannaBinDir)/chmoddic
- $(LN) $(DESTDIR)$(cannaBinDir)/catdic $(DESTDIR)$(cannaBinDir)/addwords
- $(LN) $(DESTDIR)$(cannaBinDir)/catdic $(DESTDIR)$(cannaBinDir)/delwords
-- $(LN) $(DESTDIR)$(cannaBinDir)/catdic $(DESTDIR)$(cannaBinDir)/cannakill
-+ $(LN) $(DESTDIR)$(cannaBinDir)/catdic $(DESTDIR)$(cannaSrvDir)/cannakill
- #endif
diff --git a/japanese/canna-lib/files/patch-al b/japanese/canna-lib/files/patch-al
deleted file mode 100644
index 27876dd02ac4..000000000000
--- a/japanese/canna-lib/files/patch-al
+++ /dev/null
@@ -1,38 +0,0 @@
---- 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__)
-+#ifdef __FreeBSD__
-+# include <osreldate.h>
-+#endif
-+
-+#if (defined(__FreeBSD__) && __FreeBSD_version < 500000) || defined(__NetBSD__)
- # include <machine/ansi.h>
- #endif
-
-@@ -61,7 +65,7 @@
- #endif /* !nec_ews_svr2 */
- #endif /* HAVE_WCHAR_OPERATION */
-
--#if defined(__FreeBSD__) || defined(__NetBSD__)
-+#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
-+typedef unsigned short wchar_t;
-+# define _WCHAR_T_DECLARED
-+# endif
-+# include <stddef.h>
-+# define _WCHAR_T
- #else
- #if !defined(WCHAR_T) && !defined(_WCHAR_T) && !defined(_WCHAR_T_) \
- && !defined(__WCHAR_T) && !defined(_GCC_WCHAR_T) && !defined(_WCHAR_T_DEFINED)