diff options
author | pav <pav@FreeBSD.org> | 2004-04-02 11:41:14 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-04-02 11:41:14 +0800 |
commit | 02788076d8390940e5f068f4b77990d8ca105b0b (patch) | |
tree | aa0b0d6b5e8f866e55d091aad7ba2ffa282988db /net-im/centericq | |
parent | 930af243ccdc9c9dca40adaa6edca5ee2c274f90 (diff) | |
download | freebsd-ports-graphics-02788076d8390940e5f068f4b77990d8ca105b0b.tar.gz freebsd-ports-graphics-02788076d8390940e5f068f4b77990d8ca105b0b.tar.zst freebsd-ports-graphics-02788076d8390940e5f068f4b77990d8ca105b0b.zip |
- Fix MSN nickname display problem
PR: ports/65056
Submitted by: Cheng-Lung Sung <clsung@dragon2.net> (maintainer)
Diffstat (limited to 'net-im/centericq')
-rw-r--r-- | net-im/centericq/Makefile | 1 | ||||
-rw-r--r-- | net-im/centericq/files/patch-msnhook.cc | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile index 02d908adb5f..56e65c7bb71 100644 --- a/net-im/centericq/Makefile +++ b/net-im/centericq/Makefile @@ -8,6 +8,7 @@ PORTNAME= centericq PORTVERSION= 4.9.11 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://centericq.de/archive/source/releases/ diff --git a/net-im/centericq/files/patch-msnhook.cc b/net-im/centericq/files/patch-msnhook.cc new file mode 100644 index 00000000000..0bbda9b195e --- /dev/null +++ b/net-im/centericq/files/patch-msnhook.cc @@ -0,0 +1,16 @@ +--- src/hooks/msnhook.cc.orig Sun Mar 7 21:44:41 2004 ++++ src/hooks/msnhook.cc Fri Apr 2 10:23:03 2004 +@@ -408,11 +408,11 @@ + + void msnhook::checkfriendly(icqcontact *c, const string friendlynick, bool forcefetch) { + string oldnick = c->getnick(); +- string newnick = unmime(friendlynick); ++ string newnick = rusconv("uk",unmime(friendlynick)); + + c->setnick(newnick); + +- if(forcefetch || (oldnick != newnick && c->getdispnick() == oldnick) || oldnick.empty()) { ++ if(forcefetch || (oldnick != newnick && c->getdispnick() != newnick) || oldnick.empty()) { + c->setdispnick(newnick); + face.relaxedupdate(); + } |