diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1999-02-10 14:32:00 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1999-02-10 14:32:00 +0000 |
commit | b300811eaf814edbd9656eac7b573d7993927f72 (patch) | |
tree | 87a320605ebd26e3bb1a8e03d2d35092095f103c /japanese/FreeWnn-lib/files | |
parent | upgrade to vr13 to close security hole and lots of enhancements (diff) |
Add dictionaries and some fixes.
PR: ports/9625
Submitted by: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
Diffstat (limited to 'japanese/FreeWnn-lib/files')
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-aa | 152 | ||||
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-ac | 10 | ||||
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-ad | 40 | ||||
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-af | 2 | ||||
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-ai | 72 | ||||
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-an | 66 | ||||
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-ao | 81 | ||||
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-ap | 25 | ||||
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-aq | 26 |
9 files changed, 258 insertions, 216 deletions
diff --git a/japanese/FreeWnn-lib/files/patch-aa b/japanese/FreeWnn-lib/files/patch-aa deleted file mode 100644 index 2ac4202cc650..000000000000 --- a/japanese/FreeWnn-lib/files/patch-aa +++ /dev/null @@ -1,152 +0,0 @@ -diff -arcN ../Xsi.org/Wnn/jlib/js.c ./Wnn/jlib/js.c -*** ../Xsi.org/Wnn/jlib/js.c Fri Aug 19 10:30:48 1994 ---- ./Wnn/jlib/js.c Tue Aug 20 21:39:15 1996 -*************** -*** 221,227 **** - #endif - return -1; - } -! if (connect(sd,(caddr_t)&saddr,strlen(saddr.sun_path)+sizeof(saddr.sun_family)) == ERROR) { - - #if DEBUG - xerror("jslib:Can't connect socket.\n"); ---- 221,227 ---- - #endif - return -1; - } -! if (connect(sd,(caddr_t)&saddr,SUN_LEN(&saddr)) == ERROR) { - - #if DEBUG - xerror("jslib:Can't connect socket.\n"); -diff -arcN ../Xsi.org/Wnn/pubdic/Imakefile ./Wnn/pubdic/Imakefile -*** ../Xsi.org/Wnn/pubdic/Imakefile Tue Aug 23 11:21:30 1994 ---- ./Wnn/pubdic/Imakefile Wed Aug 21 20:13:36 1996 -*************** -*** 96,106 **** - instserver:: install - - WnnMakeDirectories(install,$(JWNNDICDIR)) -! #if WnnInstallDicForcibly - InstallMultiple($(DIC),$(JWNNPUBDICDIR)) - - install:: -! @for i in $(DICS); \ - do \ - $(WNNTOUCH) $(DESTDIR)$(JWNNPUBDICDIR)/$$i ;\ - done ---- 96,112 ---- - instserver:: install - - WnnMakeDirectories(install,$(JWNNDICDIR)) -! /* -! * Bugfix. -! * Because "NO" is same to "YES"!! -! * And some additional bugfix. -! * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/20 -! */ -! #if (WnnInstallDicForcibly == YES) - InstallMultiple($(DIC),$(JWNNPUBDICDIR)) - - install:: -! @for i in $(DIC); \ - do \ - $(WNNTOUCH) $(DESTDIR)$(JWNNPUBDICDIR)/$$i ;\ - done -*************** -*** 108,114 **** ---- 114,133 ---- - #else - WnnInstallDicMultiple($(DIC),$(JWNNPUBDICDIR)) - #endif -+ -+ #if (WnnInstallDicForcibly == YES) - InstallMultiple($(FZKDATA),$(JWNNPUBDICDIR)) -+ -+ install:: -+ @for i in $(FZKDATA); \ -+ do \ -+ $(WNNTOUCH) $(DESTDIR)$(JWNNPUBDICDIR)/$$i ;\ -+ done -+ -+ #else -+ WnnInstallDicMultiple($(FZKDATA),$(JWNNPUBDICDIR)) -+ #endif -+ - InstallMultiple($(FZK_SRC),$(JWNNFZKSRCDIR)) - - depend:: -diff -arcN ../Xsi.org/config/Project.tmpl ./config/Project.tmpl -*** ../Xsi.org/config/Project.tmpl Mon Aug 29 17:40:17 1994 ---- ./config/Project.tmpl Wed Aug 21 20:07:05 1996 -*************** -*** 389,394 **** ---- 389,396 ---- - XCOMM ----------------------------------------------------------------------- - XCOMM X Window System make variables; these need to be coordinated with rules - -+ SYS_LIBRARIES = -lcrypt /* For FreeBSD */ -+ - /* - * This list must be reflected in the DIRS_TO_BUILD list in the top-level - * Makefile. -*************** -*** 413,418 **** ---- 415,423 ---- - XAPPLOADDIR = XAppLoadDir /* application default resource dir */ - FONTCFLAGS = FontCompilerFlags - -+ INSTINCFLAGS = InstIncFlags -c /* XXX - dirty hack by */ -+ INSTDATFLAGS = InstDatFlags -c /* XXX - Satoshi */ -+ INSTBINFLAGS = InstBinFlags -c /* XXX - Asami */ - INSTAPPFLAGS = $(INSTDATFLAGS) /* XXX - this should go away - XXX */ - - #ifdef UseInstalled -*************** -*** 1117,1126 **** - #undef ImakeSubCmdHelper - #endif - - #ifdef UseInstalled -! #define ImakeSubCmdHelper $(IMAKE) -DUseInstalled -I$$imakeprefix$(IMIRULESRC) -I$(IRULESRC) $(IMAKE_DEFINES) - #else -! #define ImakeSubCmdHelper $$imakeprefix$(IMAKE) -I$$imakeprefix$(IMIRULESRC) -I$$imakeprefix$(IRULESRC) $(IMAKE_DEFINES) - #endif - - #define WnnInstallDicMultiple(list,dest) @@\ ---- 1122,1137 ---- - #undef ImakeSubCmdHelper - #endif - -+ /* -+ * Change a variavle's name from "$imakeprefix" to "$(IMAKEPREFIX)". -+ * Because it caused a error on XFree86 3.1.2S and 3.1.2E. -+ * The Imake rule of XFree86 3.1.2S and 3.1.2E FreeBSD was changed. -+ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/20 -+ */ - #ifdef UseInstalled -! #define ImakeSubCmdHelper $(IMAKE) -DUseInstalled -I$(IMAKEPREFIX)$(IMIRULESRC) -I$(IRULESRC) $(IMAKE_DEFINES) - #else -! #define ImakeSubCmdHelper $(IMAKEPREFIX)$(IMAKE) -I$(IMAKEPREFIX)$(IMIRULESRC) -I$(IMAKEPREFIX)$(IRULESRC) $(IMAKE_DEFINES) - #endif - - #define WnnInstallDicMultiple(list,dest) @@\ -*************** -*** 1236,1243 **** - #else - IMTOP = $(CONTRIBSRC)/programs/Xsi - #endif -! WNNWNNDIR = /usr/local/lib/wnn -! WNNBINDIR = /usr/local/bin - WNNINCDIR = $(INCROOT) - WNNLIBDIR = $(USRLIBDIR) - WNNTERM_LIB = termLibrary ---- 1251,1259 ---- - #else - IMTOP = $(CONTRIBSRC)/programs/Xsi - #endif -! PREFIX = /usr/local -! WNNWNNDIR = ${PREFIX}/lib/wnn -! WNNBINDIR = ${PREFIX}/bin - WNNINCDIR = $(INCROOT) - WNNLIBDIR = $(USRLIBDIR) - WNNTERM_LIB = termLibrary diff --git a/japanese/FreeWnn-lib/files/patch-ac b/japanese/FreeWnn-lib/files/patch-ac deleted file mode 100644 index a5d7d6c8f550..000000000000 --- a/japanese/FreeWnn-lib/files/patch-ac +++ /dev/null @@ -1,10 +0,0 @@ ---- ./Wnn/jserver/readfile.c.org Thu Sep 24 15:35:47 1992 -+++ ./Wnn/jserver/readfile.c Fri Feb 28 01:13:46 1997 -@@ -423,6 +423,7 @@ - - jt2 = (struct JT *)malloc(sizeof(struct JT)); - *jt2 = *jt1; -+ jt2->node = 0; - - if(alloc_dict(jt2) == -1){ - free(jt2); diff --git a/japanese/FreeWnn-lib/files/patch-ad b/japanese/FreeWnn-lib/files/patch-ad deleted file mode 100644 index 0cbf0efb0822..000000000000 --- a/japanese/FreeWnn-lib/files/patch-ad +++ /dev/null @@ -1,40 +0,0 @@ ---- ./Wnn/jserver/b_index.c.orig Tue Jun 28 11:06:49 1994 -+++ ./Wnn/jserver/b_index.c Sat Jul 19 00:45:21 1997 -@@ -99,8 +99,8 @@ - - /** For each tuple in ri1[0] create b_nodes */ - for (i=0; i<jt->maxri1[0]; i++){ -- serial = (jt->ri1[0]+i)->pter; -- yomi = KANJI_str(jt->ri2[serial].kanjipter + jt->kanji, 0); -+ serial = ntohs((jt->ri1[0]+i)->pter); -+ yomi = KANJI_str(ntohs(jt->ri2[serial].kanjipter) + jt->kanji, 0); - b_index_add(jt, yomi, serial); - } - return(b_cnt); -@@ -133,7 +133,7 @@ - int serial; - { - w_char *yomi; -- yomi = KANJI_str(jt->ri2[serial].kanjipter + jt->kanji, 0); -+ yomi = KANJI_str(ntohs(jt->ri2[serial].kanjipter) + jt->kanji, 0); - delete_b_node(jt, yomi, 0, 0 ); - } - -@@ -160,7 +160,7 @@ - tmp_node = jt->bind[tmp_node].pter_son; - } - yo_kanji = KANJI_str( -- jt->ri2[jt->bind[tmp_node].pter].kanjipter+jt->kanji, 0); -+ ntohs(jt->ri2[jt->bind[tmp_node].pter].kanjipter)+jt->kanji, 0); - if ( yomi[level] > yo_kanji[level] ) { - buf_node1 = buf_node2; - buf_node2 = jt->bind[buf_node2].pter_next ; -@@ -216,7 +216,7 @@ - tmp_node = jt->bind[tmp_node].pter_son; - } - yo_kanji = KANJI_str( -- jt->ri2[jt->bind[tmp_node].pter].kanjipter+jt->kanji, 0); -+ ntohs(jt->ri2[jt->bind[tmp_node].pter].kanjipter)+jt->kanji, 0); - - if ( yomi[level] > yo_kanji[level] ) { - buf_node1 = buf_node2; diff --git a/japanese/FreeWnn-lib/files/patch-af b/japanese/FreeWnn-lib/files/patch-af index 7bda975ebb7d..577c5210fb5f 100644 --- a/japanese/FreeWnn-lib/files/patch-af +++ b/japanese/FreeWnn-lib/files/patch-af @@ -35,7 +35,7 @@ #endif /* JAPANESE */ #ifdef CHINESE - fprintf(stderr, "wnnstat [-weEdDfFSUJBC] [-L lang_name] [server_name]\n"); -+ fprintf(stderr, "wnnstat [-weEdDfFUBCV] [-L lang_name] [server_name]\n"); ++ fprintf(stderr, "cwnnstat [-weEdDfFUBCV] [-L lang_name] [server_name]\n"); #endif /* CHINESE */ #ifdef KOREAN - fprintf(stderr, "kwnnstat [-weEdDfFKU] [-L lang_name] [server_name]\n"); diff --git a/japanese/FreeWnn-lib/files/patch-ai b/japanese/FreeWnn-lib/files/patch-ai index e7cf3360fbb4..451f9a9b4956 100644 --- a/japanese/FreeWnn-lib/files/patch-ai +++ b/japanese/FreeWnn-lib/files/patch-ai @@ -1,6 +1,6 @@ ---- ./kWnn/jlib/Imakefile.orig Wed Aug 17 10:11:40 1994 -+++ ./kWnn/jlib/Imakefile Sat Jul 19 23:55:17 1997 -@@ -1,6 +1,9 @@ +--- kWnn/jlib/Imakefile.orig Wed Aug 17 10:11:40 1994 ++++ kWnn/jlib/Imakefile Tue Jan 5 23:06:15 1999 +@@ -1,7 +1,11 @@ XCOMM XCOMM $Id: Imakefile,v 1.2 1994/08/17 01:11:40 kuwa Exp $ XCOMM @@ -8,9 +8,11 @@ +XCOMM -- S. Taoka +XCOMM #define DoNormalLib YES ++#define DoSharedLib YES #include <Library.tmpl> -@@ -10,7 +13,9 @@ + +@@ -10,7 +14,9 @@ LINKS = getopt.c jl.c js.c wnnerrmsg.c JLIBDEFINES = -DWRITE_CHECK INCLUDES = -I$(KWNNINCLUDESRC) -I$(TOP) @@ -21,7 +23,7 @@ INSTALLFLAGS = $(INSTBINFLAGS) LINTLIBS = -@@ -28,6 +33,15 @@ +@@ -28,6 +34,15 @@ OBJ4= strings.o SRC5= $(KWNNETCSRC)/bcopy.c OBJ5= bcopy.o @@ -37,25 +39,69 @@ LOCAL_RKSRCS= $(KWNNROMKANSRC)/rk_bltinfn.c \ $(KWNNROMKANSRC)/rk_main.c \ $(KWNNROMKANSRC)/rk_modread.c \ -@@ -40,8 +54,8 @@ +@@ -40,13 +55,26 @@ $(KWNNROMKANSRC)/rk_read.o \ $(KWNNROMKANSRC)/rk_vars.o -LOCAL_ETCSRCS = $(SRC4) $(SRC5) -LOCAL_ETCOBJS = $(OBJ4) $(OBJ5) ++UNSHARED_LOCAL_RKOBJS= $(KWNNROMKANSRC)/unshared/rk_bltinfn.o \ ++ $(KWNNROMKANSRC)/unshared/rk_main.o \ ++ $(KWNNROMKANSRC)/unshared/rk_modread.o \ ++ $(KWNNROMKANSRC)/unshared/rk_read.o \ ++ $(KWNNROMKANSRC)/unshared/rk_vars.o ++ +LOCAL_ETCSRCS = $(SRC4) $(SRC5) $(SRC6) $(SRC7) $(SRC8) +LOCAL_ETCOBJS = $(OBJ4) $(OBJ5) $(OBJ6) $(OBJ7) $(OBJ8) SRCS= $(SRC1) $(SRC3) $(LOCAL_ETCSRCS) OBJS= $(OBJ1) $(OBJ3) $(LOCAL_ETCOBJS) $(LOCAL_RKOBJS) ++UNSHAREDOBJS= $(OBJ1) $(OBJ3) $(LOCAL_ETCOBJS) $(UNSHARED_LOCAL_RKOBJS) ++ ++SOKWNN4LIBREV=1.0 + + LibraryObjectRule() ++#if DoSharedLib ++AllTarget($(OBJS) libkwnn.a libkwnn4.so.$(SOKWNN4LIBREV)) ++#else + AllTarget($(OBJS) libkwnn.a) ++#endif + + includes:: $(LINKS) + +@@ -65,11 +93,19 @@ -@@ -80,6 +94,10 @@ - WnnSpecialObjectRule($(OBJ3),$(SRC3),$(KWNNETCSRC),) - WnnSpecialObjectRule($(OBJ4),$(SRC4),$(KWNNETCSRC),) - WnnSpecialObjectRule($(OBJ5),$(SRC5),$(KWNNETCSRC),) -+WnnSpecialObjectRule($(OBJ6),$(SRC6),$(KWNNETCSRC),) -+WnnSpecialObjectRule($(OBJ7),$(SRC7),$(KWNNETCSRC),) -+WnnSpecialObjectRule($(OBJ8),$(SRC8),$(KWNNETCSRC),) + NormalLintTarget($(SRC2)) + +-NormalLibraryTarget(kwnn,$(OBJS)) ++#if DoSharedLib ++SharedLibraryTarget(kwnn4,$(SOKWNN4LIBREV),$(OBJS),.,.) ++#endif ++ ++UnsharedLibraryTarget(kwnn,$(UNSHAREDOBJS),unshared,..) + LintLibraryTarget(kwnn,$(SRCS)) + + instlib:: install + ++#if DoSharedLib ++InstallSharedLibrary(kwnn4,$(SOKWNN4LIBREV),$(WNNLIBDIR)) ++#endif + + InstallLibrary(kwnn,$(WNNLIBDIR)) + + #if ProfileLibJlib +@@ -77,9 +113,12 @@ + InstallLibrary(kwnn_p,$(WNNLIBDIR)) + #endif + +-WnnSpecialObjectRule($(OBJ3),$(SRC3),$(KWNNETCSRC),) +-WnnSpecialObjectRule($(OBJ4),$(SRC4),$(KWNNETCSRC),) +-WnnSpecialObjectRule($(OBJ5),$(SRC5),$(KWNNETCSRC),) ++WnnSpecialSharedObjectRule($(OBJ3),$(SRC3),$(KWNNETCSRC),) ++WnnSpecialSharedObjectRule($(OBJ4),$(SRC4),$(KWNNETCSRC),) ++WnnSpecialSharedObjectRule($(OBJ5),$(SRC5),$(KWNNETCSRC),) ++WnnSpecialSharedObjectRule($(OBJ6),$(SRC6),$(KWNNETCSRC),) ++WnnSpecialSharedObjectRule($(OBJ7),$(SRC7),$(KWNNETCSRC),) ++WnnSpecialSharedObjectRule($(OBJ8),$(SRC8),$(KWNNETCSRC),) $(LOCAL_RKOBJS) : $(LOCAL_RKSRCS) @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ diff --git a/japanese/FreeWnn-lib/files/patch-an b/japanese/FreeWnn-lib/files/patch-an new file mode 100644 index 000000000000..885b931a2511 --- /dev/null +++ b/japanese/FreeWnn-lib/files/patch-an @@ -0,0 +1,66 @@ +--- Xwnmo/xwnmo/client.c.~1~ Mon Aug 23 11:06:16 1993 ++++ Xwnmo/xwnmo/client.c Fri Feb 6 06:44:03 1998 +@@ -53,7 +53,7 @@ + { + char *p; + char ret = '\0'; +- extern char *index(); ++/* extern char *index();*/ + + if ((p = romkan_dispmode()) == NULL) return(ret); + if ((p = (char*)index(p, ':')) == NULL) return(ret); +--- Xwnmo/xwnmo/screen.c.~1~ Tue Dec 1 15:10:57 1992 ++++ Xwnmo/xwnmo/screen.c Fri Feb 6 06:48:15 1998 +@@ -361,7 +361,7 @@ + get_rk_modes() + { + char *p; +- extern char *index(); ++/* extern char *index();*/ + + strcpy(rk_modes, (NULL == (p = romkan_dispmode()) ? "[ ]" : p)); + if ((p = (char*)index(rk_modes, ':')) != NULL && *(p + 1)) { +--- Xwnmo/xwnmo/jhlp.c.~1~ Thu Aug 4 16:10:14 1994 ++++ Xwnmo/xwnmo/jhlp.c Fri Feb 6 06:50:24 1998 +@@ -415,7 +415,7 @@ + XLCd xlc; + #endif /* X11R5 */ + extern char *get_server_env(); +- extern char *index(); ++/* extern char *index(); */ + + prgname = argv[0]; + if (create_arg_string(argv, argc) == -1) exit(1); +--- Xwnmo/xjutil/init_w.c.~1~ Thu Aug 4 16:10:10 1994 ++++ Xwnmo/xjutil/init_w.c Fri Feb 6 07:54:48 1998 +@@ -76,7 +76,7 @@ + char *p; + char ret = '\0'; + #ifndef SYSVR2 +- extern char *index(); ++/* extern char *index(); */ + #else + extern char *strchr(); + #endif +--- Xwnmo/xjutil/jutil.c.~1~ Thu Jan 21 17:05:44 1993 ++++ Xwnmo/xjutil/jutil.c Fri Feb 6 07:56:50 1998 +@@ -664,7 +664,7 @@ + extern int srand(); + extern long rand(); + #else +- extern int srandom(); ++/* extern int srandom(); */ + extern long random(); + #endif + extern long time(); +--- Xwnmo/xjutil/kensaku.c.~1~ Tue Dec 1 14:59:48 1992 ++++ Xwnmo/xjutil/kensaku.c Fri Feb 6 07:58:54 1998 +@@ -154,7 +154,7 @@ + static char message4[2048]; + int ret; + char *table_t[6]; +- extern int qsort(); ++/* extern int qsort();*/ + + if (get_env() == -1) return(NULL); + diff --git a/japanese/FreeWnn-lib/files/patch-ao b/japanese/FreeWnn-lib/files/patch-ao new file mode 100644 index 000000000000..c3aa020ff065 --- /dev/null +++ b/japanese/FreeWnn-lib/files/patch-ao @@ -0,0 +1,81 @@ +diff -ru Wnn.org/jd/jserverrc Wnn/jd/jserverrc +--- Wnn.org/jd/jserverrc Mon Sep 6 10:47:31 1993 ++++ Wnn/jd/jserverrc Tue Feb 10 07:58:43 1998 +@@ -20,7 +20,9 @@ + ;readfile wnncons/tankan3.dic + + ; n nbun hindo len jiri flag jisho sbn dbn_len sbn_cnt suji kana eisuu kigou toji fuzoku kai +-def_param 2 10 2 40 100 200 20 1 40 -40 40 -100 40 80 40 100 40 ++;def_param 2 10 2 40 100 200 20 1 40 -40 40 -100 40 80 40 100 40 ++; New Parameter ++def_param 2 10 2 45 100 200 5 1 40 -100 200 -100 200 80 200 200 200 + + ;set_giji_eisuu '-' '_' 0x20 \x5c ^M '変' 1234 012 \o12 + set_giji_eisuu '-' '_' 0x20 '―' '_' ' ̄' '!' '?' '.' ',' ':' ';' ':' ';' '?' '!' ',' '.' '・' +diff -ru Wnn.org/jd/wnnenvrc.omr Wnn/jd/wnnenvrc.omr +--- Wnn.org/jd/wnnenvrc.omr Mon Sep 6 10:47:34 1993 ++++ Wnn/jd/wnnenvrc.omr Tue Feb 10 07:58:56 1998 +@@ -19,4 +19,7 @@ + ;setdic wnncons/tankan3.dic - 1 1 1 - - 0 + + ;; N nsho hindo len jiri flag jisho sbn dbn_len sbn_cnt suuji kana eisuu kigou toji_kakko fuzokogo kaikakko +-setparam 2 10 2 40 100 200 20 1 40 -40 40 -100 40 80 40 100 40 ++;setparam 2 10 2 40 100 200 20 1 40 -40 40 -100 40 80 40 100 40 ++; New Parameter ++setparam 2 10 2 45 100 200 5 1 40 -100 200 -100 200 80 200 200 200 ++ +diff -ru Wnn.org/jd/wnnenvrc.rem Wnn/jd/wnnenvrc.rem +--- Wnn.org/jd/wnnenvrc.rem Mon Sep 6 10:47:36 1993 ++++ Wnn/jd/wnnenvrc.rem Tue Feb 10 07:59:06 1998 +@@ -19,4 +19,6 @@ + ;setdic wnncons/tankan3.dic - 1 1 1 - - 0 + + ;; N nsho hindo len jiri flag jisho sbn dbn_len sbn_cnt suuji kana eisuu kigou toji_kakko fuzokogo kaikakko +-setparam 2 10 2 40 100 200 20 1 40 -40 40 -100 40 80 40 100 40 ++;setparam 2 10 2 40 100 200 20 1 40 -40 40 -100 40 80 40 100 40 ++; New Parameter ++setparam 2 10 2 45 100 200 5 1 40 -100 200 -100 200 80 200 200 200 +diff -ru Wnn.org/jd/wnnenvrc.rev Wnn/jd/wnnenvrc.rev +--- Wnn.org/jd/wnnenvrc.rev Mon Sep 6 10:47:37 1993 ++++ Wnn/jd/wnnenvrc.rev Tue Feb 10 07:59:15 1998 +@@ -19,4 +19,6 @@ + ;setdic wnncons/tankan3.dic !@WNN_DIC_DIR/wnncons/tankan3.frq 1 1 1 - - 0 + + ;; N nsho hindo len jiri flag jisho sbn dbn_len sbn_cnt suuji kana eisuu kigou toji_kakko fuzokogo kaikakko +-setparam 2 10 2 40 100 200 20 1 40 -40 40 -100 40 80 40 100 40 ++;setparam 2 10 2 40 100 200 20 1 40 -40 40 -100 40 80 40 100 40 ++; New Parameter ++setparam 2 10 2 45 100 200 5 1 40 -100 200 -100 200 80 200 200 200 +diff -ru Wnn.org/jd/wnnenvrc_R.omr Wnn/jd/wnnenvrc_R.omr +--- Wnn.org/jd/wnnenvrc_R.omr Wed Aug 25 15:11:40 1993 ++++ Wnn/jd/wnnenvrc_R.omr Tue Feb 10 07:59:24 1998 +@@ -19,4 +19,6 @@ + ;setdic wnncons/tankan3.dic - 1 1 1 - - 1 + + ;; N nsho hindo len jiri flag jisho sbn dbn_len sbn_cnt suuji kana eisuu kigou toji_kakko fuzokogo kaikakko +-setparam 2 10 2 45 1 80 5 1 50 -20 400 -10 100 -100 200 0 200 ++;setparam 2 10 2 45 1 80 5 1 50 -20 400 -10 100 -100 200 0 200 ++; New Parameter ++setparam 2 10 2 45 100 200 5 1 40 -100 200 -100 200 80 200 200 200 +diff -ru Wnn.org/jd/wnnenvrc_R.rem Wnn/jd/wnnenvrc_R.rem +--- Wnn.org/jd/wnnenvrc_R.rem Wed Aug 25 15:11:48 1993 ++++ Wnn/jd/wnnenvrc_R.rem Tue Feb 10 07:59:34 1998 +@@ -19,4 +19,6 @@ + ;setdic wnncons/tankan3.dic - 1 1 1 - - 1 + + ;; N nsho hindo len jiri flag jisho sbn dbn_len sbn_cnt suuji kana eisuu kigou toji_kakko fuzokogo kaikakko +-setparam 2 10 2 45 1 80 5 1 50 -20 400 -10 100 -100 200 0 200 ++;setparam 2 10 2 45 1 80 5 1 50 -20 400 -10 100 -100 200 0 200 ++; New Parameter ++setparam 2 10 2 45 100 200 5 1 40 -100 200 -100 200 80 200 200 200 +diff -ru Wnn.org/jd/wnnenvrc_R.rev Wnn/jd/wnnenvrc_R.rev +--- Wnn.org/jd/wnnenvrc_R.rev Wed Aug 25 15:11:54 1993 ++++ Wnn/jd/wnnenvrc_R.rev Tue Feb 10 07:59:42 1998 +@@ -19,4 +19,6 @@ + ;setdic wnncons/tankan3.dic - 1 1 1 - - 1 + + ;; N nsho hindo len jiri flag jisho sbn dbn_len sbn_cnt suuji kana eisuu kigou toji_kakko fuzokogo kaikakko +-setparam 2 10 2 45 1 80 5 1 50 -20 400 -10 100 -100 200 0 200 ++;setparam 2 10 2 45 1 80 5 1 50 -20 400 -10 100 -100 200 0 200 ++; New Parameter ++setparam 2 10 2 45 100 200 5 1 40 -100 200 -100 200 80 200 200 200 diff --git a/japanese/FreeWnn-lib/files/patch-ap b/japanese/FreeWnn-lib/files/patch-ap new file mode 100644 index 000000000000..17495e11a56e --- /dev/null +++ b/japanese/FreeWnn-lib/files/patch-ap @@ -0,0 +1,25 @@ +--- Imakefile.~1~ Tue Oct 4 08:18:46 1994 ++++ Imakefile Tue Feb 10 11:29:58 1998 +@@ -4,7 +4,7 @@ + #define IHaveSubdirs + #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' + +-#if BuildWnn || BuildXwnmo ++#if BuildWnn + WNNDIR = Wnn + #endif + #if BuildCWnn +--- ./Xwnmo/jd/ximconf.~1~ Thu Feb 12 10:20:17 1998 ++++ ./Xwnmo/jd/ximconf Thu Feb 12 10:32:59 1998 +@@ -18,8 +18,8 @@ + zh_TW zh_TW.ucns 2,1,2 True Yincoding + zh_CN.eucCN|zh_CN.ugb \ + zh_CN zh_CN.ugb 2,1,2 True Yincoding +-ja|ja_JP.eucJP|ja_JP.ujis|ja_JP.mscode|ja_JP.SJIS|ja_JP.jis8|ja_JP.jis7|ja_JP.pjis \ +- ja_JP ja_JP.ujis 2,1,2 True Normal ++ja|ja_JP.EUC|ja_JP.eucJP|ja_JP.ujis|ja_JP.mscode|ja_JP.SJIS|ja_JP.jis8|ja_JP.jis7|ja_JP.pjis \ ++ ja_JP ja_JP.EUC 2,1,2 True Normal + +-setdefaultlocale ja_JP.ujis ++setdefaultlocale ja_JP.EUC + setworldlocale wr_WR.ct diff --git a/japanese/FreeWnn-lib/files/patch-aq b/japanese/FreeWnn-lib/files/patch-aq new file mode 100644 index 000000000000..d476242347bd --- /dev/null +++ b/japanese/FreeWnn-lib/files/patch-aq @@ -0,0 +1,26 @@ +--- Xwnmo/xwnmo/localalloc.c.~1~ Tue Dec 1 15:10:40 1992 ++++ Xwnmo/xwnmo/localalloc.c Thu Jun 25 12:11:29 1998 +@@ -112,6 +112,7 @@ + { + char *ptr; + if (size == 0) return(NULL); ++ size += (sizeof(char *)-(size%sizeof(char *))); + if ((ptr = malloc(size)) == NULL) { + #ifdef ALLOC_DEBUG + print_out1("alloc failed with size = %d", size); +@@ -134,6 +135,7 @@ + unsigned size; + { + if (size == 0) return(ptr); ++ size += (sizeof(char *)-(size%sizeof(char *))); + if (ptr == NULL) return(Malloc(size)); + #ifdef ALLOC_DEBUG + unregister_debug(ptr); +@@ -153,6 +155,7 @@ + { + char *ptr; + if (size == 0) return(NULL); ++ size += (sizeof(char *)-(size%sizeof(char *))); + if ((ptr = calloc(num, size)) == NULL) { + return(NULL); + } |