diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-11-21 17:09:53 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-11-21 17:09:53 +0000 |
commit | d13568369c83418f25dc8190aa97150a4e539950 (patch) | |
tree | 708dae937ae079d2bd90f047773a7fabdca9ba20 /net | |
parent | PORTREVSION => 2. (diff) |
When requested to do cp1251<->koi8 conversion convert to/from koi8-u, not
to koi8-r, so that not only Russian characters are converted proreply, but
Ukrainian as well.
Poked about by: Alex Belinsky <tormoz@baklan.kiev.ua>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=70682
Diffstat (limited to 'net')
-rw-r--r-- | net/centericq/Makefile | 2 | ||||
-rw-r--r-- | net/centericq/files/patch-src::centericq.cc | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/net/centericq/Makefile b/net/centericq/Makefile index d30428bc491e..b08cd48940f5 100644 --- a/net/centericq/Makefile +++ b/net/centericq/Makefile @@ -8,7 +8,7 @@ PORTNAME= centericq PORTVERSION= 4.8.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= http://konst.org.ua/download/ diff --git a/net/centericq/files/patch-src::centericq.cc b/net/centericq/files/patch-src::centericq.cc new file mode 100644 index 000000000000..a3fa52c27c8d --- /dev/null +++ b/net/centericq/files/patch-src::centericq.cc @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- src/centericq.cc 2002/11/21 14:55:51 1.1 ++++ src/centericq.cc 2002/11/21 14:56:12 +@@ -1460,8 +1460,8 @@ + unsigned char *table = 0; + + #ifdef HAVE_ICONV_H +- if(tdir == "kw") r = siconv(text, "koi8-r", "cp1251"); else +- if(tdir == "wk") r = siconv(text, "cp1251", "koi8-r"); else ++ if(tdir == "kw") r = siconv(text, "koi8-u", "cp1251"); else ++ if(tdir == "wk") r = siconv(text, "cp1251", "koi8-u"); else + #endif + r = text; + |