summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2004-09-03 14:06:50 +0000
committerCaleb Tennis <caleb@gentoo.org>2004-09-03 14:06:50 +0000
commit8855c724a1f01404462d6999138112271f7f83d7 (patch)
tree4b856b184372dc76176088737680ec598e730cea /kde-base
parentAdded to ~ppc (diff)
downloadhistorical-8855c724a1f01404462d6999138112271f7f83d7.tar.gz
historical-8855c724a1f01404462d6999138112271f7f83d7.tar.bz2
historical-8855c724a1f01404462d6999138112271f7f83d7.zip
Add a kopete patch to fix bug #61352
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kdenetwork/files/3.3.0-kopete.diff11
-rw-r--r--kde-base/kdenetwork/kdenetwork-3.3.0.ebuild3
2 files changed, 13 insertions, 1 deletions
diff --git a/kde-base/kdenetwork/files/3.3.0-kopete.diff b/kde-base/kdenetwork/files/3.3.0-kopete.diff
new file mode 100644
index 000000000000..abc364830cb2
--- /dev/null
+++ b/kde-base/kdenetwork/files/3.3.0-kopete.diff
@@ -0,0 +1,11 @@
+--- kdenetwork-3.3.0/kopete/protocols/oscar/oscarsocket/rtf.cc 2004-07-17 21:10:33.000000000 +0200
++++ rtf.cc 2004-08-23 12:17:00.405431600 +0200
+@@ -1790,7 +1790,7 @@
+ case TAG_FONT_COLOR:
+ {
+ // RTF colors are 1-based; colors[] is a 0-based array.
+- if (t.param > colors.size())
++ if (t.param > colors.size() || t.param == 0)
+ break;
+ QColor &c = colors[t.param-1];
+ PrintUnquoted("<span style=\"color:#%02X%02X%02X\">", c.red(), c.green(), c.blue());
diff --git a/kde-base/kdenetwork/kdenetwork-3.3.0.ebuild b/kde-base/kdenetwork/kdenetwork-3.3.0.ebuild
index 9661f2d6a8f3..47496649dbf5 100644
--- a/kde-base/kdenetwork/kdenetwork-3.3.0.ebuild
+++ b/kde-base/kdenetwork/kdenetwork-3.3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/kdenetwork-3.3.0.ebuild,v 1.7 2004/09/02 14:38:04 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/kdenetwork-3.3.0.ebuild,v 1.8 2004/09/03 14:06:50 caleb Exp $
inherit kde-dist eutils
@@ -20,6 +20,7 @@ DEPEND="~kde-base/kdebase-${PV}
src_unpack() {
kde_src_unpack
epatch ${FILESDIR}/3.3.0-kget.diff
+ epatch ${FILESDIR}/3.3.0-kopete.diff
}
src_compile() {