summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus D. Hanwell <cryos@gentoo.org>2005-11-15 13:24:49 +0000
committerMarcus D. Hanwell <cryos@gentoo.org>2005-11-15 13:24:49 +0000
commit2cab02be89dd8fb098368dcc93ddf4395998b4fb (patch)
tree302f75c8583c87bc2cad62752133f848e3d3722d /kde-base/kopete/files
parentMarking 2.6.14.2 stable on amd64 && x86 for xecurity concerns. (diff)
downloadgentoo-2-2cab02be89dd8fb098368dcc93ddf4395998b4fb.tar.gz
gentoo-2-2cab02be89dd8fb098368dcc93ddf4395998b4fb.tar.bz2
gentoo-2-2cab02be89dd8fb098368dcc93ddf4395998b4fb.zip
Patch added to fix compilation issue, closes bug 112354.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'kde-base/kopete/files')
-rw-r--r--kde-base/kopete/files/kopete-3.5.0_rc1-fix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/kde-base/kopete/files/kopete-3.5.0_rc1-fix.patch b/kde-base/kopete/files/kopete-3.5.0_rc1-fix.patch
new file mode 100644
index 000000000000..1f2afd84e4ba
--- /dev/null
+++ b/kde-base/kopete/files/kopete-3.5.0_rc1-fix.patch
@@ -0,0 +1,20 @@
+Index: kircmessage.cpp
+===================================================================
+--- kopete/protocols/irc/libkirc/kircmessage.cpp (revision 479956)
++++ kopete/protocols/irc/libkirc/kircmessage.cpp (working copy)
+@@ -168,11 +168,11 @@
+ //
+ // Some servers send '\n' instead of '\r\n' that the RFCs say they should be sending.
+
+- if (length > 1 && raw[length-2] == '\n') {
+- raw[length-2] = '\0';
++ if (length > 1 && raw.at(length-2) == '\n') {
++ raw.at(length-2) = '\0';
+ }
+- if (length > 2 && raw[length-3] == '\r') {
+- raw[length-3] = '\0';
++ if (length > 2 && raw.at(length-3) == '\r') {
++ raw.at(length-3) = '\0';
+ }
+
+ kdDebug(14121) << "<< " << raw << endl;