summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-09-07 14:39:55 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-09-07 14:52:29 +0200
commit8b6c60dd4d1e2c2396b9eb4cb15de30d1a503fb5 (patch)
treeaadc20ffe8aa0ca2502f24b804661c182674a36d /sci-visualization
parentsci-visualization/kst: Fix FindGetdata.cmake (diff)
downloadgentoo-8b6c60dd4d1e2c2396b9eb4cb15de30d1a503fb5.tar.gz
gentoo-8b6c60dd4d1e2c2396b9eb4cb15de30d1a503fb5.tar.bz2
gentoo-8b6c60dd4d1e2c2396b9eb4cb15de30d1a503fb5.zip
sci-visualization/kst: Fix build with Qt 5.15
Thanks-to: Jérôme Borme <jerome.borme@laposte.net> Bug: https://bugs.gentoo.org/593848 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/kst/files/kst-2.0.8-qt-5.15.patch10
-rw-r--r--sci-visualization/kst/kst-2.0.8-r1.ebuild2
2 files changed, 12 insertions, 0 deletions
diff --git a/sci-visualization/kst/files/kst-2.0.8-qt-5.15.patch b/sci-visualization/kst/files/kst-2.0.8-qt-5.15.patch
new file mode 100644
index 000000000000..97b42a6d33c2
--- /dev/null
+++ b/sci-visualization/kst/files/kst-2.0.8-qt-5.15.patch
@@ -0,0 +1,10 @@
+--- a/src/widgets/gradienteditor.h 2014-02-13 09:41:44.000000000 +0000
++++ b/src/widgets/gradienteditor.h 2021-04-18 14:45:24.654148450 +0100
+@@ -16,6 +16,7 @@
+ #include <QHash>
+ #include <QWidget>
+ #include <QGradient>
++#include <QPainterPath>
+
+ #include "kstwidgets_export.h"
+
diff --git a/sci-visualization/kst/kst-2.0.8-r1.ebuild b/sci-visualization/kst/kst-2.0.8-r1.ebuild
index dea0db42382d..159b9f3b8144 100644
--- a/sci-visualization/kst/kst-2.0.8-r1.ebuild
+++ b/sci-visualization/kst/kst-2.0.8-r1.ebuild
@@ -45,6 +45,8 @@ PATCHES=(
"${FILESDIR}/${P}-qt-5.11.patch"
"${FILESDIR}/${P}-gsl-2.0.patch"
"${FILESDIR}/${P}-cmake-3.20.patch" # bug 778560
+ "${FILESDIR}/${P}-getdata-drop-bogus-lib_debug.patch" # bug 593848
+ "${FILESDIR}/${P}-qt-5.15.patch" # bug 593848
)
src_configure() {