summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-02 01:05:11 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-02 01:05:11 +0000
commit73d55e1cfd47d9e2ccbfef0bf7872fc5040cc85f (patch)
tree279d2d012eb4335985564348e61ab7d04ae45ccd /net-irc/konversation/files
parentRemove linking on dl as we don't need it. See bug 106446 (diff)
downloadhistorical-73d55e1cfd47d9e2ccbfef0bf7872fc5040cc85f.tar.gz
historical-73d55e1cfd47d9e2ccbfef0bf7872fc5040cc85f.tar.bz2
historical-73d55e1cfd47d9e2ccbfef0bf7872fc5040cc85f.zip
Add patch to avoid crashing when using nick completion.
Package-Manager: portage-2.1_pre7-r3
Diffstat (limited to 'net-irc/konversation/files')
-rw-r--r--net-irc/konversation/files/digest-konversation-0.19-r1 (renamed from net-irc/konversation/files/digest-konversation-0.19)0
-rw-r--r--net-irc/konversation/files/konversation-0.19-slash-q-tab.patch14
2 files changed, 14 insertions, 0 deletions
diff --git a/net-irc/konversation/files/digest-konversation-0.19 b/net-irc/konversation/files/digest-konversation-0.19-r1
index c3f7a92b22cd..c3f7a92b22cd 100644
--- a/net-irc/konversation/files/digest-konversation-0.19
+++ b/net-irc/konversation/files/digest-konversation-0.19-r1
diff --git a/net-irc/konversation/files/konversation-0.19-slash-q-tab.patch b/net-irc/konversation/files/konversation-0.19-slash-q-tab.patch
new file mode 100644
index 000000000000..55fec7195c5d
--- /dev/null
+++ b/net-irc/konversation/files/konversation-0.19-slash-q-tab.patch
@@ -0,0 +1,14 @@
+Index: konversation-0.19/konversation/src/channel.cpp
+===================================================================
+--- konversation-0.19.orig/konversation/src/channel.cpp
++++ konversation-0.19/konversation/src/channel.cpp
+@@ -625,6 +625,9 @@ void Channel::completeNick()
+
+ if(mode == 'c')
+ {
++ // FIXME: dirty workaround to avoid a crash, but won't work as expected anyway
++ if ( oldPos > pos ) return;
++
+ line.remove(oldPos,pos-oldPos);
+ pos = oldPos;
+ }