summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-05-31 23:38:23 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-05-31 23:38:23 +0200
commitbb3a3a392b907b3fe0802e3b68776ceb71fa6fd9 (patch)
treeb3f0d8c8c8729fa57528ff97488e30dcee5c2708 /x11-themes/qtcurve
parentapp-text/poppler: Drop 0.85.0 and 0.87.0 (diff)
downloadgentoo-bb3a3a392b907b3fe0802e3b68776ceb71fa6fd9.tar.gz
gentoo-bb3a3a392b907b3fe0802e3b68776ceb71fa6fd9.tar.bz2
gentoo-bb3a3a392b907b3fe0802e3b68776ceb71fa6fd9.zip
x11-themes/qtcurve: Fix build with Qt 5.15
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-themes/qtcurve')
-rw-r--r--x11-themes/qtcurve/files/qtcurve-1.9.0-qt-5.15.patch25
-rw-r--r--x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild1
2 files changed, 26 insertions, 0 deletions
diff --git a/x11-themes/qtcurve/files/qtcurve-1.9.0-qt-5.15.patch b/x11-themes/qtcurve/files/qtcurve-1.9.0-qt-5.15.patch
new file mode 100644
index 000000000000..795f94141b26
--- /dev/null
+++ b/x11-themes/qtcurve/files/qtcurve-1.9.0-qt-5.15.patch
@@ -0,0 +1,25 @@
+From 44e2a35ebb164dcab0bad1a9158b1219a3ff6504 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sun, 31 May 2020 23:33:30 +0200
+Subject: [PATCH] Fix build with Qt 5.15 (missing QPainterPath include)
+
+---
+ qt5/style/qtcurve.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/qt5/style/qtcurve.h b/qt5/style/qtcurve.h
+index 9a50db00..00072d4e 100644
+--- a/qt5/style/qtcurve.h
++++ b/qt5/style/qtcurve.h
+@@ -31,6 +31,8 @@
+ #include <QCache>
+ #include <QColor>
+ #include <QFont>
++#include <QPainter>
++#include <QPainterPath>
+ #include <QStyleOption>
+ #include <QtGlobal>
+ #include <QCommonStyle>
+--
+2.26.2
+
diff --git a/x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild b/x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild
index addf0baca574..a9a996166554 100644
--- a/x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild
+++ b/x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild
@@ -72,6 +72,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.9.0-no-X-buildfix.patch"
"${FILESDIR}/${PN}-1.9.0-gcc9.patch"
"${FILESDIR}/${PN}-1.9.0-libreoffice-crashfix.patch"
+ "${FILESDIR}/${PN}-1.9.0-qt-5.15.patch"
)
src_configure() {