diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 2000-09-12 17:08:29 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 2000-09-12 17:08:29 +0000 |
commit | 709d4b5f38237c95a457673f25d7fbc8a9df1874 (patch) | |
tree | 44397f5145f1ffdd752937ae785b004cca61a82e /japanese/FreeWnn-lib/files/patch-ab | |
parent | Update md5. The only difference between old and new tarball is removed (diff) |
(1) {chinese,korean,japanese}/Wnn (Wnn 4.2) was updated as follows:
(a) Its name was changed from Wnn to FreeWnn because Wnn6 which is a
commercial software exits
(b) Its license was changed to GPL.
(c) The method to configure was changed from imake to GNU configure.
(d) Relatively to the original Wnn, the Wnn in the ports tree were
modified by me a lot. Most of the modifications were adopted
into FreeWnn.
(c) Header and library files are installed into
${LOCALBASE}/{lib,include} instead of ${X11BASE}/{lib,include}.
(2) FreeWnn is divided into two ports FreeWnn-lib and FreeWnn-server
in chinese, korean and japanese categories. The former is for libwnn
and header files to compile client commands, and the files used in
client commands. The latter is for a server to convert KANA to KANJI
(Chinese character), and dictionaries and files used by the server.
Notice: I forgot to commit FreeWnn-{lib,server} (^_^;;
Notes
Notes:
svn path=/head/; revision=32559
Diffstat (limited to '')
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-ab | 79 |
1 files changed, 22 insertions, 57 deletions
diff --git a/japanese/FreeWnn-lib/files/patch-ab b/japanese/FreeWnn-lib/files/patch-ab index c811c85af5e8..30db318a07f9 100644 --- a/japanese/FreeWnn-lib/files/patch-ab +++ b/japanese/FreeWnn-lib/files/patch-ab @@ -1,64 +1,29 @@ ---- Wnn/jserver/de.c~ Fri Aug 19 10:31:23 1994 -+++ Wnn/jserver/de.c Fri Mar 10 00:44:42 2000 -@@ -65,6 +65,9 @@ +--- Makefile.in.orig Tue Feb 1 22:18:59 2000 ++++ Makefile.in Tue Aug 29 14:32:22 2000 +@@ -31,13 +31,22 @@ - #include <sys/ioctl.h> + include @top_srcdir@/makerule.mk -+#if (defined(__unix__) || defined(unix)) && !defined(USG) -+#include <sys/param.h> -+#endif - #ifdef SYSVR2 - #include <sys/param.h> - #ifndef SIGCHLD -@@ -264,7 +267,16 @@ - fclose(stdin); - fclose(stdout); - if(!noisy){ -+#if !(defined(BSD) && (BSD >= 199306)) /* !4.4BSD-Lite by Taoka */ - fclose(stderr); -+#else /* 4.4BSD-Lite */ -+ int fd = open("/dev/null", O_WRONLY); -+ if (fd < 0) { -+ xerror("Cannot open /dev/null\n"); -+ } -+ dup2(fd, 2); -+ close(fd); -+#endif /* 4.4BSD-Lite */ - } +-WNNDIR = Wnn ++WNNDIR = @Wnn@ - #if defined(hpux) || defined(SOLARIS) -@@ -542,10 +554,14 @@ +-CWNNDIR = cWnn ++CWNNDIR = @cWnn@ - /** **/ - void --gets_cur(cp) -+gets_cur(cp, len) - register char *cp; -+int len; - { -- while((*cp++ = getc_cur()) != '\0'); -+ int i; -+ -+ for (i = 0; i < len; i++) -+ if ((*(cp + i) = getc_cur()) == '\0') break; - } +-KWNNDIR = kWnn ++KWNNDIR = @kWnn@ - /** **/ -@@ -648,6 +664,17 @@ - { - register int c; - while(c= *p++) putc_cur(c); -+ putc_cur(0); -+} +-SUBDIRS= PubdicPlus $(WNNDIR) Contrib/dic/gerodic $(CWNNDIR) $(KWNNDIR) ++LIB_SUBDIRS = ++SEVER_SUBDIRS = ++ ++# PubdicPlusとContrib/dic/gerodicをSERVER_SUBDIRSにまとめいところだが、 ++# SUBDIRSの処理順をうまくしないとWnn/pubdicplusのmakeに失敗するので仕方 ++# ない ++JSERVER_SUBDIRS1 = PubdicPlus ++JSERVER_SUBDIRS2 = Contrib/dic/gerodic + -+/** **/ -+void -+puts_n_cur(p,n) -+char *p; -+int n; -+{ -+ register int c; -+ while((c = *p++) && --n >= 0) putc_cur(c); - putc_cur(0); - } ++SUBDIRS= @JSERVER_SUBDIRS1@ $(WNNDIR) @JSERVER_SUBDIRS2@ $(CWNNDIR) $(KWNNDIR) @SUBDIRS@ + World:: + @echo "" |