summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2004-02-10 14:07:10 +0000
committerCaleb Tennis <caleb@gentoo.org>2004-02-10 14:07:10 +0000
commit9c12314594ce356448304a0f4ef1b82c4032c4ba (patch)
treedd811d163083d24d63c3af28e73b097bd5bfd9a0 /kde-base/kdelibs
parentstable on hppa and sparc (Manifest recommit) (diff)
downloadgentoo-2-9c12314594ce356448304a0f4ef1b82c4032c4ba.tar.gz
gentoo-2-9c12314594ce356448304a0f4ef1b82c4032c4ba.tar.bz2
gentoo-2-9c12314594ce356448304a0f4ef1b82c4032c4ba.zip
Add a patch to fix Qt 3.3 printing problems
Diffstat (limited to 'kde-base/kdelibs')
-rw-r--r--kde-base/kdelibs/ChangeLog6
-rw-r--r--kde-base/kdelibs/files/qt-3.3-printfix.patch13
-rw-r--r--kde-base/kdelibs/kdelibs-3.2.0.ebuild3
3 files changed, 20 insertions, 2 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog
index b4896ba3e43f..472058d8f2b3 100644
--- a/kde-base/kdelibs/ChangeLog
+++ b/kde-base/kdelibs/ChangeLog
@@ -1,10 +1,14 @@
# ChangeLog for kde-base/kdelibs
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.119 2004/02/10 07:31:03 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.120 2004/02/10 14:07:10 caleb Exp $
10 Feb 2004; Lars Weiler <pylon@gentoo.org> kdelibs-3.2.0.ebuild:
Stable on ppc.
+ 10 Feb 2004; Caleb Tennis <caleb@gentoo.org> kdelibs-3.2.0.ebuild,
+ files/qt-3.3-printfix.patch:
+ Add a patch to fix printing problems with Qt 3.3
+
05 Feb 2004; Luca Barbato <lu_zero@gentoo.org> kdelibs-3.2.0.ebuild:
Marked ~ppc
diff --git a/kde-base/kdelibs/files/qt-3.3-printfix.patch b/kde-base/kdelibs/files/qt-3.3-printfix.patch
new file mode 100644
index 000000000000..c5117280769d
--- /dev/null
+++ b/kde-base/kdelibs/files/qt-3.3-printfix.patch
@@ -0,0 +1,13 @@
+--- kdeprint/ppdloader.cpp 2003/06/06 17:37:28 1.3
++++ kdeprint/ppdloader.cpp 2004/01/28 08:41:27 1.3.2.1
+@@ -83,7 +83,8 @@ static QValueList<float> splitNumberStri
+ }
+ else
+ {
+- l.append( s.mid( p1 ).toFloat() );
++ // ignore the final quote
++ l.append( s.mid( p1, s.length() - p1 - 1 ).toFloat() );
+ break;
+ }
+ }
+
diff --git a/kde-base/kdelibs/kdelibs-3.2.0.ebuild b/kde-base/kdelibs/kdelibs-3.2.0.ebuild
index f12bf6694158..48e8c4bf731e 100644
--- a/kde-base/kdelibs/kdelibs-3.2.0.ebuild
+++ b/kde-base/kdelibs/kdelibs-3.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.2.0.ebuild,v 1.7 2004/02/10 07:31:03 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.2.0.ebuild,v 1.8 2004/02/10 14:07:10 caleb Exp $
inherit kde
need-autoconf 2.5
@@ -42,6 +42,7 @@ RDEPEND="${DEPEND}
src_unpack() {
kde_src_unpack
epatch ${FILESDIR}/animated-gif-fix.patch
+ epatch ${FILESDIR}/qt-3.3-printfix.patch
}
src_compile() {