diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2005-04-07 14:43:20 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2005-04-07 14:43:20 +0000 |
commit | 69e9dc31f0dd1cdbf2d2dce2b07be196c39aa2a0 (patch) | |
tree | 15bbd676e2bc08cb0aaef408b1fa12e21bef013f /korean/ami/files/patch-src_ami.c | |
parent | Fix plist, dump portrevision. (diff) |
Replace "%" in patch filenames with "_".
Approved by: portmgr (krion)
Diffstat (limited to 'korean/ami/files/patch-src_ami.c')
-rw-r--r-- | korean/ami/files/patch-src_ami.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/korean/ami/files/patch-src_ami.c b/korean/ami/files/patch-src_ami.c new file mode 100644 index 000000000000..60d6a703f37c --- /dev/null +++ b/korean/ami/files/patch-src_ami.c @@ -0,0 +1,19 @@ +--- src/ami.c.orig Mon Feb 17 20:49:11 2003 ++++ src/ami.c Mon Feb 17 20:50:09 2003 +@@ -403,13 +403,14 @@ + } + + codeset=nl_langinfo(CODESET); +- if ( ! strcasecmp(codeset,"EUC-KR") ) ++ if ( ! strcasecmp(codeset,"EUC") || ++ ! strcasecmp(codeset,"eucKR") ) + ami_codeset=AMI_EUC; + else if ( ! strcasecmp(codeset,"UTF-8") ) + ami_codeset=AMI_UTF8; + else { + g_print(_("The locale codeset is %s. It must be either " +- "EUC-KR or UTF-8.\n Check your locale.\n"), ++ "eucKR or UTF-8.\n Check your locale.\n"), + codeset); + exit(1); + } |