aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/tin
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2002-05-10 03:28:07 +0800
committerclive <clive@FreeBSD.org>2002-05-10 03:28:07 +0800
commit6076627375b2868ac55e462ce4718b38a73779ca (patch)
tree9649c67cb1a95bcc5ce1168df741e87b6eca8c47 /chinese/tin
parent1d35b376bad9c0aeabd0570161e6879ba58f6c45 (diff)
downloadfreebsd-ports-gnome-6076627375b2868ac55e462ce4718b38a73779ca.tar.gz
freebsd-ports-gnome-6076627375b2868ac55e462ce4718b38a73779ca.tar.zst
freebsd-ports-gnome-6076627375b2868ac55e462ce4718b38a73779ca.zip
In case tin links against libiconv now, teach tin to recognize BIG5
charset. Noted by: My post became 8bit stripped.
Diffstat (limited to 'chinese/tin')
-rw-r--r--chinese/tin/Makefile1
-rw-r--r--chinese/tin/files/patch-lang.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/chinese/tin/Makefile b/chinese/tin/Makefile
index a4c0f1b3de8c..8c31c6eac737 100644
--- a/chinese/tin/Makefile
+++ b/chinese/tin/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= yssu@CCCA.NCTU.edu.tw
EXTRA_PATCHES= ${.CURDIR}/files/patch-charset.c \
${.CURDIR}/files/patch-cook.c \
${.CURDIR}/files/patch-init.c \
+ ${.CURDIR}/files/patch-lang.c \
${.CURDIR}/files/patch-misc.c \
${.CURDIR}/files/patch-page.c
diff --git a/chinese/tin/files/patch-lang.c b/chinese/tin/files/patch-lang.c
new file mode 100644
index 000000000000..3e19cf7c75e9
--- /dev/null
+++ b/chinese/tin/files/patch-lang.c
@@ -0,0 +1,11 @@
+--- src/lang.c.orig Fri May 10 03:18:34 2002
++++ src/lang.c Fri May 10 03:18:45 2002
+@@ -849,7 +849,7 @@
+ "ISO-8859-7", "ISO-8859-9", "ISO-8859-10", "ISO-8859-13", "ISO-8859-14",
+ "ISO-8859-15", "ISO-8859-16",
+ "KOI8-RU", "KOI8-R", "KOI8-U",
+- "EUC-CN", "EUC-JP", "EUC-KR", "EUC-TW",
++ "EUC-CN", "EUC-JP", "EUC-KR", "EUC-TW", "BIG5",
+ "ISO-2022-CN", "ISO-2022-CN-EXT", "ISO-2022-JP", "ISO-2022-JP-1",
+ "ISO-2022-JP-2", "ISO-2022-KR",
+ "UTF-8"