groff/groff-1.18.1-korean.patch
Jindrich Novy 15f798d785 - update to groff 1.19.1
- drop 8bit, fix15, devutf8, grn patches
- sync the rest of patches with current release
- spec cleanup
2005-01-12 14:08:37 +00:00

45 lines
1.0 KiB
Diff

--- groff-1.19.1/src/roff/nroff/nroff.sh.korean 2004-04-06 16:10:32.000000000 +0200
+++ groff-1.19.1/src/roff/nroff/nroff.sh 2005-01-12 14:15:39.714037752 +0100
@@ -12,6 +12,10 @@
T=-Tlatin1 ;;
IBM-1047)
T=-Tcp1047 ;;
+ EUC-JP)
+ T=-Tnippon ;;
+ EUC-KR)
+ T=-Tkorean ;;
*)
case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
*.UTF-8)
@@ -20,6 +24,10 @@
T=-Tlatin1 ;;
*.IBM-1047)
T=-Tcp1047 ;;
+ ja_JP.ujis | ja_JP.eucJP)
+ T=-Tnippon ;;
+ ko_KR.eucKR)
+ T=-Tkorean ;;
*)
case "$LESSCHARSET" in
utf-8)
@@ -28,6 +36,10 @@
T=-Tlatin1 ;;
cp1047)
T=-Tcp1047 ;;
+ japanese)
+ T=-Tnippon ;;
+ ko)
+ T=-Tkorean ;;
*)
T=-Tascii ;;
esac ;;
@@ -52,7 +64,7 @@
exit 1 ;;
-[iptSUC] | -[dmrno]*)
opts="$opts $1" ;;
- -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047)
+ -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047 | -Tnippon | -Tkorean)
T=$1 ;;
-T*)
# ignore other devices