diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-11-22 01:09:53 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-11-22 01:09:53 +0800 |
commit | 1d2b1e8e550b8aedf7a9e20ceffd5dc81c964ae9 (patch) | |
tree | 4e401b13f93d9247b286ff8201028703e9594bf0 /net-im | |
parent | e4c8ab5431b864d0b6ab25b4bca3f78ea41c35f7 (diff) | |
download | freebsd-ports-gnome-1d2b1e8e550b8aedf7a9e20ceffd5dc81c964ae9.tar.gz freebsd-ports-gnome-1d2b1e8e550b8aedf7a9e20ceffd5dc81c964ae9.tar.zst freebsd-ports-gnome-1d2b1e8e550b8aedf7a9e20ceffd5dc81c964ae9.zip |
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
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/centericq/Makefile | 2 | ||||
-rw-r--r-- | net-im/centericq/files/patch-src::centericq.cc | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile index d30428bc491e..b08cd48940f5 100644 --- a/net-im/centericq/Makefile +++ b/net-im/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-im/centericq/files/patch-src::centericq.cc b/net-im/centericq/files/patch-src::centericq.cc new file mode 100644 index 000000000000..a3fa52c27c8d --- /dev/null +++ b/net-im/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; + |