summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2010-02-23 08:08:10 +0000
committerAlex Alexander <wired@gentoo.org>2010-02-23 08:08:10 +0000
commit47e48ca2a5aadefec547d26d474da403a210062f (patch)
tree7604fd4995844c46568971c72d491ffde9aa8d7c /x11-themes/qtcurve-qt4/files
parentFix lastfmlib to at least 0.4.0 per configure.ac. (diff)
downloadhistorical-47e48ca2a5aadefec547d26d474da403a210062f.tar.gz
historical-47e48ca2a5aadefec547d26d474da403a210062f.tar.bz2
historical-47e48ca2a5aadefec547d26d474da403a210062f.zip
[x11-themes/qtcurve-qt4] version bump, patch to fix -kde compilation
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64
Diffstat (limited to 'x11-themes/qtcurve-qt4/files')
-rw-r--r--x11-themes/qtcurve-qt4/files/qtcurve-qt4-1.1.0-no-kde-fail.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-themes/qtcurve-qt4/files/qtcurve-qt4-1.1.0-no-kde-fail.patch b/x11-themes/qtcurve-qt4/files/qtcurve-qt4-1.1.0-no-kde-fail.patch
new file mode 100644
index 000000000000..717288725248
--- /dev/null
+++ b/x11-themes/qtcurve-qt4/files/qtcurve-qt4-1.1.0-no-kde-fail.patch
@@ -0,0 +1,22 @@
+--- style/qtcurve.cpp.old 2010-02-23 00:15:27.000000000 +0200
++++ style/qtcurve.cpp 2010-02-23 10:04:39.547860699 +0200
+@@ -7445,7 +7445,8 @@
+
+ opt.state=State_Horizontal|State_Enabled|State_Raised|(active ? State_Active : State_None);
+
+-#if KDE_IS_VERSION(4, 3, 0)
++#ifndef QTC_QT_ONLY
++ #if KDE_IS_VERSION(4, 3, 0)
+ QPainterPath path(opts.round<ROUND_SLIGHT
+ ? QPainterPath()
+ : buildPath(QRectF(state&QtC_StateKWinNoBorder ? r : r.adjusted(1, 1, -1, 0)),
+@@ -7454,6 +7455,9 @@
+ (opts.round>ROUND_SLIGHT /*&& kwin*/
+ ? 6.0
+ : 2.0)-(state&QtC_StateKWinNoBorder ? 0.0 : 1.0)));
++ #else
++ QPainterPath path;
++ #endif
+ #else
+ QPainterPath path;
+ #endif