diff options
author | obrien <obrien@FreeBSD.org> | 1997-02-08 08:02:30 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1997-02-08 08:02:30 +0800 |
commit | de420a437b0247b0f4b44c935acf85d01229cbb1 (patch) | |
tree | 896641904167841d40bfc908d56a4825dcc282e0 /chinese/c2t/files | |
parent | cfe255407b428a242baf7e5bb2459a536b8e21c0 (diff) | |
download | freebsd-ports-gnome-de420a437b0247b0f4b44c935acf85d01229cbb1.tar.gz freebsd-ports-gnome-de420a437b0247b0f4b44c935acf85d01229cbb1.tar.zst freebsd-ports-gnome-de420a437b0247b0f4b44c935acf85d01229cbb1.zip |
c2t (chinese2text) translates GB/Big5 encoding to tone pinyin.
Diffstat (limited to 'chinese/c2t/files')
-rw-r--r-- | chinese/c2t/files/patch-01 | 8 | ||||
-rw-r--r-- | chinese/c2t/files/patch-02 | 14 |
2 files changed, 22 insertions, 0 deletions
diff --git a/chinese/c2t/files/patch-01 b/chinese/c2t/files/patch-01 new file mode 100644 index 000000000000..c8dcd37d894e --- /dev/null +++ b/chinese/c2t/files/patch-01 @@ -0,0 +1,8 @@ +--- Makefile.orig Tue Feb 23 22:21:39 1993 ++++ Makefile Tue Feb 4 02:10:15 1997 +@@ -1,4 +1,4 @@ +-CC=cc ++CC=cc -DCHINDICT=\"$(PREFIX)/share/chinese/gb/TONEPY.tit\" + + all: c2t + diff --git a/chinese/c2t/files/patch-02 b/chinese/c2t/files/patch-02 new file mode 100644 index 000000000000..ecd6452765f8 --- /dev/null +++ b/chinese/c2t/files/patch-02 @@ -0,0 +1,14 @@ +--- c2t.c.orig Tue Feb 4 02:10:45 1997 ++++ c2t.c Tue Feb 4 02:08:55 1997 +@@ -22,7 +22,11 @@ + int argc; + char **argv; + { ++#ifndef CHINDICT + char *DICT="/home/ftp/software/unix/X-Window/cxterm-dictionary/TONEPY.tit"; ++#else ++ char *DICT=CHINDICT; ++#endif + register int eka=0, toka=0, i=0; + register char hz[4], **pipo=0; + register char **taulu=0, rivi[82]; |