summaryrefslogtreecommitdiffstats
path: root/groff-1.18.1-korean.patch
diff options
context:
space:
mode:
Diffstat (limited to 'groff-1.18.1-korean.patch')
-rw-r--r--groff-1.18.1-korean.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/groff-1.18.1-korean.patch b/groff-1.18.1-korean.patch
new file mode 100644
index 0000000..7dea1fc
--- /dev/null
+++ b/groff-1.18.1-korean.patch
@@ -0,0 +1,38 @@
+--- groff-1.18.1/src/roff/nroff/nroff.sh.orig 2003-02-06 19:37:17.000000000 +0900
++++ groff-1.18.1/src/roff/nroff/nroff.sh 2003-02-06 19:38:34.000000000 +0900
+@@ -14,6 +14,8 @@
+ T=-Tcp1047 ;;
+ EUC-JP)
+ T=-Tnippon ;;
++ EUC-KR)
++ T=-Tkorean ;;
+ *)
+ case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
+ *.UTF-8)
+@@ -24,6 +26,8 @@
+ T=-Tcp1047 ;;
+ ja_JP.ujis | ja_JP.eucJP)
+ T=-Tnippon ;;
++ ko_KR.eucKR)
++ T=-Tkorean ;;
+ *)
+ case "$LESSCHARSET" in
+ utf-8)
+@@ -34,6 +38,8 @@
+ T=-Tcp1047 ;;
+ japanese)
+ T=-Tnippon ;;
++ ko)
++ T=-Tkorean ;;
+ *)
+ T=-Tascii8 ;;
+ esac ;;
+@@ -58,7 +64,7 @@
+ exit 1 ;;
+ -[iptSUC] | -[mrno]*)
+ opts="$opts $1" ;;
+- -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047 | -Tascii8 | -Tnippon)
++ -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047 | -Tascii8 | -Tnippon | -Tkorean)
+ T=$1 ;;
+ -T*)
+ # ignore other devices