summaryrefslogtreecommitdiff
path: root/textproc/iiimf-x-lib/files/patch-iiimxcf_xiiimp.so_iiimp_iiimpIM.c
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2005-02-28 04:17:02 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2005-02-28 04:17:02 +0000
commit806320585f11517fb0170fe185bbab72146f4afb (patch)
tree27b00b83610d0ff124cac329890239f6ba0a95f2 /textproc/iiimf-x-lib/files/patch-iiimxcf_xiiimp.so_iiimp_iiimpIM.c
parentBROKEN on 5.x: Install fails (diff)
IIIMF-related ports: Update to r12_1-svn2002 and bug fixes
PR: ports/77927 Submitted by: Masanori OZAWA <ozawa@ongs.co.jp> Approved by: maintainer Pointed out by: ume, nork, hrs
Diffstat (limited to 'textproc/iiimf-x-lib/files/patch-iiimxcf_xiiimp.so_iiimp_iiimpIM.c')
-rw-r--r--textproc/iiimf-x-lib/files/patch-iiimxcf_xiiimp.so_iiimp_iiimpIM.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/iiimf-x-lib/files/patch-iiimxcf_xiiimp.so_iiimp_iiimpIM.c b/textproc/iiimf-x-lib/files/patch-iiimxcf_xiiimp.so_iiimp_iiimpIM.c
new file mode 100644
index 000000000000..7390a9f3fd88
--- /dev/null
+++ b/textproc/iiimf-x-lib/files/patch-iiimxcf_xiiimp.so_iiimp_iiimpIM.c
@@ -0,0 +1,20 @@
+--- iiimxcf/xiiimp.so/iiimp/iiimpIM.c Wed Aug 25 15:09:50 2004
++++ iiimxcf/xiiimp.so/iiimp/iiimpIM.c Wed Feb 16 22:06:57 2005
+@@ -189,7 +189,7 @@
+ };
+
+ #ifndef IMLOCALEDIR
+-#define IMLOCALEDIR "/usr/lib/im/locale"
++#define IMLOCALEDIR "/usr/local/lib/im/locale"
+ #endif
+
+ #define iscomment(ch) ((ch) == '\0' || (ch) == '#')
+@@ -625,7 +625,7 @@
+ if (mod) {
+ mod += strlen(MODIFIER);
+
+- if (!strncmp(mod, "iiimp/", 6) || !strncmp(mod, "IIIMP/", 6)) {
++ if (!strncasecmp(mod, "iiimp/", 6)) {
+ mod += 6;
+
+ if (index(mod, ':')) {