commit:     8b6c60dd4d1e2c2396b9eb4cb15de30d1a503fb5
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  7 12:39:55 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Sep  7 12:52:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6c60dd

sci-visualization/kst: Fix build with Qt 5.15

Thanks-to: Jérôme Borme <jerome.borme <AT> laposte.net>
Bug: https://bugs.gentoo.org/593848
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-visualization/kst/files/kst-2.0.8-qt-5.15.patch | 10 ++++++++++
 sci-visualization/kst/kst-2.0.8-r1.ebuild           |  2 ++
 2 files changed, 12 insertions(+)

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 00000000000..97b42a6d33c
--- /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 dea0db42382..159b9f3b814 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() {

Reply via email to