summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-09-15 06:45:03 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-09-15 06:45:17 +1000
commit4b5177e5aed652c708c074cf08c002ce27862474 (patch)
tree8670da7c131ab2dcc1b09b12ddfe38c3fd7a0cf2 /sci-visualization
parentsci-visualization/kst: ensure the correct version of lconvert is used (diff)
downloadgentoo-4b5177e5aed652c708c074cf08c002ce27862474.tar.gz
gentoo-4b5177e5aed652c708c074cf08c002ce27862474.tar.bz2
gentoo-4b5177e5aed652c708c074cf08c002ce27862474.zip
sci-visualization/kst: add patch to fix build failure with USE="qt5"
Gentoo-bug: 587948 Package-Manager: portage-2.3.0
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/kst/files/kst-2.0.8-includes.patch25
-rw-r--r--sci-visualization/kst/kst-2.0.8.ebuild1
2 files changed, 26 insertions, 0 deletions
diff --git a/sci-visualization/kst/files/kst-2.0.8-includes.patch b/sci-visualization/kst/files/kst-2.0.8-includes.patch
new file mode 100644
index 000000000000..113d9dcc807d
--- /dev/null
+++ b/sci-visualization/kst/files/kst-2.0.8-includes.patch
@@ -0,0 +1,25 @@
+Add missing includes required for Qt 5 build to succeed.
+
+Author: David Carne <davidcarne@gmail.com>
+Gentoo-bug: 587948
+
+--- a/src/libkst/editablematrix.cpp
++++ b/src/libkst/editablematrix.cpp
+@@ -19,6 +19,7 @@
+ #include "debug.h"
+ #include <qbytearray.h>
+ #include <QXmlStreamWriter>
++#include <QDataStream>
+
+ namespace Kst {
+
+--- a/src/libkst/editablevector.cpp
++++ b/src/libkst/editablevector.cpp
+@@ -18,6 +18,7 @@
+ // Create QDataStream into a QByteArray
+ // qCompress the bytearray
+ #include <QXmlStreamWriter>
++#include <QDataStream>
+
+ #include "debug.h"
+ namespace Kst {
diff --git a/sci-visualization/kst/kst-2.0.8.ebuild b/sci-visualization/kst/kst-2.0.8.ebuild
index 5d2eafa906da..2d368b8f24f9 100644
--- a/sci-visualization/kst/kst-2.0.8.ebuild
+++ b/sci-visualization/kst/kst-2.0.8.ebuild
@@ -53,6 +53,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
DOCS=( AUTHORS README.kstScript )
+PATCHES=( "${FILESDIR}/${P}-includes.patch" )
src_configure() {
local mycmakeargs=(