aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-03-29 15:54:18 +0800
committerdinoex <dinoex@FreeBSD.org>2003-03-29 15:54:18 +0800
commit7609ad9b214e5e50ec31aa630437930b0a3e8db6 (patch)
treebe5e661207610171241c755b5d29632d11a384ef /net
parenta9d5825667f6c7428d39e4ff199a8e36db499bcb (diff)
downloadfreebsd-ports-gnome-7609ad9b214e5e50ec31aa630437930b0a3e8db6.tar.gz
freebsd-ports-gnome-7609ad9b214e5e50ec31aa630437930b0a3e8db6.tar.zst
freebsd-ports-gnome-7609ad9b214e5e50ec31aa630437930b0a3e8db6.zip
- add patch to fix:
annoying bug with sending russian letters Submitted by: tima@east.ru
Diffstat (limited to 'net')
-rw-r--r--net/licq-qt-gui/Makefile1
-rw-r--r--net/licq-qt-gui/files/patch-usereventdlg.cpp22
2 files changed, 23 insertions, 0 deletions
diff --git a/net/licq-qt-gui/Makefile b/net/licq-qt-gui/Makefile
index dfbd14bb72d1..98ebc416d677 100644
--- a/net/licq-qt-gui/Makefile
+++ b/net/licq-qt-gui/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qt-gui
PORTVERSION= ${QT_LICQ_VER}
+PORTREVISION= 1
CATEGORIES= net
.if defined(WITH_KDE)
PKGNAMESUFFIX= -kde
diff --git a/net/licq-qt-gui/files/patch-usereventdlg.cpp b/net/licq-qt-gui/files/patch-usereventdlg.cpp
new file mode 100644
index 000000000000..06d168aa28a4
--- /dev/null
+++ b/net/licq-qt-gui/files/patch-usereventdlg.cpp
@@ -0,0 +1,22 @@
+--- src/usereventdlg.cpp.orig Sun Mar 23 18:49:39 2003
++++ src/usereventdlg.cpp Sat Mar 29 08:31:33 2003
+@@ -1390,7 +1390,7 @@
+ {
+ CEventMsg *ue = (CEventMsg *)e->UserEvent();
+ // create initial strings (implicit copying, no allocation impact :)
+- char *tmp = gTranslator.NToRN(codec->fromUnicode(ue->Message()));
++ char *tmp = gTranslator.NToRN(ue->Message());
+ QCString wholeMessageRaw(tmp);
+ delete [] tmp;
+ unsigned int wholeMessagePos = 0;
+@@ -1439,8 +1439,8 @@
+ }
+ else
+ {
+- message = ue->Message();
+- messageRaw = codec->fromUnicode(message);
++ messageRaw = wholeMessageRaw;
++ message = codec->toUnicode(wholeMessageRaw);
+ }
+
+ icqEventTag = server->icqSendMessage(m_nUin, messageRaw.data(),