aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/kmymoney/kdchart.patch27
-rw-r--r--office/kmymoney/kmymoney.SlackBuild4
2 files changed, 30 insertions, 1 deletions
diff --git a/office/kmymoney/kdchart.patch b/office/kmymoney/kdchart.patch
new file mode 100644
index 000000000000..aa89fe979467
--- /dev/null
+++ b/office/kmymoney/kdchart.patch
@@ -0,0 +1,27 @@
+commit c736b6f08e77df72d58c5b836b7b04f6098737df
+Author: Cristian OneČ› <onet.cristian@gmail.com>
+Date: Sat Feb 18 14:07:35 2012 +0200
+
+ BUG: 293448 - Since KDChart will not be updated in 4.6 patch KDChart to make it build against Qt 4.8.
+
+diff --git a/libkdchart/src/KDChartBackgroundAttributes.cpp b/libkdchart/src/KDChartBackgroundAttributes.cpp
+index f9f1520..3b86000 100644
+--- a/libkdchart/src/KDChartBackgroundAttributes.cpp
++++ b/libkdchart/src/KDChartBackgroundAttributes.cpp
+@@ -22,6 +22,7 @@
+
+ #include "KDChartBackgroundAttributes.h"
+ #include <QPixmap>
++#include <QVariant>
+
+ #include <KDABLibFakes>
+
+@@ -150,7 +151,7 @@ QDebug operator<<(QDebug dbg, const KDChart::BackgroundAttributes& ba)
+ << "visible="<<ba.isVisible()
+ << "brush="<<ba.brush()
+ << "pixmapmode="<<ba.pixmapMode()
+- << "pixmap="<<ba.pixmap()
++ << "pixmap="<<QVariant(ba.pixmap())
+ << ")";
+ return dbg;
+ }
diff --git a/office/kmymoney/kmymoney.SlackBuild b/office/kmymoney/kmymoney.SlackBuild
index bfb43c47508f..c176b11dcc0f 100644
--- a/office/kmymoney/kmymoney.SlackBuild
+++ b/office/kmymoney/kmymoney.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=kmymoney
VERSION=${VERSION:-4.6.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,6 +72,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/kdchart.patch
+
mkdir -p build
cd build
cmake \