1 |
commit: bb3a3a392b907b3fe0802e3b68776ceb71fa6fd9 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 31 21:38:23 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 21:38:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb3a3a39 |
7 |
|
8 |
x11-themes/qtcurve: Fix build with Qt 5.15 |
9 |
|
10 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
.../qtcurve/files/qtcurve-1.9.0-qt-5.15.patch | 25 ++++++++++++++++++++++ |
14 |
x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild | 1 + |
15 |
2 files changed, 26 insertions(+) |
16 |
|
17 |
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 |
18 |
new file mode 100644 |
19 |
index 00000000000..795f94141b2 |
20 |
--- /dev/null |
21 |
+++ b/x11-themes/qtcurve/files/qtcurve-1.9.0-qt-5.15.patch |
22 |
@@ -0,0 +1,25 @@ |
23 |
+From 44e2a35ebb164dcab0bad1a9158b1219a3ff6504 Mon Sep 17 00:00:00 2001 |
24 |
+From: Andreas Sturmlechner <asturm@g.o> |
25 |
+Date: Sun, 31 May 2020 23:33:30 +0200 |
26 |
+Subject: [PATCH] Fix build with Qt 5.15 (missing QPainterPath include) |
27 |
+ |
28 |
+--- |
29 |
+ qt5/style/qtcurve.h | 2 ++ |
30 |
+ 1 file changed, 2 insertions(+) |
31 |
+ |
32 |
+diff --git a/qt5/style/qtcurve.h b/qt5/style/qtcurve.h |
33 |
+index 9a50db00..00072d4e 100644 |
34 |
+--- a/qt5/style/qtcurve.h |
35 |
++++ b/qt5/style/qtcurve.h |
36 |
+@@ -31,6 +31,8 @@ |
37 |
+ #include <QCache> |
38 |
+ #include <QColor> |
39 |
+ #include <QFont> |
40 |
++#include <QPainter> |
41 |
++#include <QPainterPath> |
42 |
+ #include <QStyleOption> |
43 |
+ #include <QtGlobal> |
44 |
+ #include <QCommonStyle> |
45 |
+-- |
46 |
+2.26.2 |
47 |
+ |
48 |
|
49 |
diff --git a/x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild b/x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild |
50 |
index addf0baca57..a9a99616655 100644 |
51 |
--- a/x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild |
52 |
+++ b/x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild |
53 |
@@ -72,6 +72,7 @@ PATCHES=( |
54 |
"${FILESDIR}/${PN}-1.9.0-no-X-buildfix.patch" |
55 |
"${FILESDIR}/${PN}-1.9.0-gcc9.patch" |
56 |
"${FILESDIR}/${PN}-1.9.0-libreoffice-crashfix.patch" |
57 |
+ "${FILESDIR}/${PN}-1.9.0-qt-5.15.patch" |
58 |
) |
59 |
|
60 |
src_configure() { |