www-client/falkon: Fix build with Qt 5.15
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 18 Apr 2020 19:09:21 +0000 (21:09 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 18 Apr 2020 19:32:47 +0000 (21:32 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
www-client/falkon/falkon-3.1.0-r1.ebuild
www-client/falkon/files/falkon-3.1.0-qt-5.15.patch [new file with mode: 0644]

index 687be8779fbebc2653283056a5b278e6c195067a..3534c91a317eb2198860e6a49d77e3ec076ad30b 100644 (file)
@@ -63,6 +63,7 @@ PATCHES=(
        "${FILESDIR}/${P}-use-cmake-find-intl.patch"
        "${FILESDIR}/${P}-fix-warn-registering-schemes.patch"
        "${FILESDIR}/${P}-qt-5.14.patch"
+       "${FILESDIR}/${P}-qt-5.15.patch"
 )
 
 # bug 653046
diff --git a/www-client/falkon/files/falkon-3.1.0-qt-5.15.patch b/www-client/falkon/files/falkon-3.1.0-qt-5.15.patch
new file mode 100644 (file)
index 0000000..2ca9783
--- /dev/null
@@ -0,0 +1,26 @@
+From 2ca83509dbc72dfdfa9cc7103c2b29db31e07f3a Mon Sep 17 00:00:00 2001
+From: Heiko Becker <heirecka@exherbo.org>
+Date: Sun, 29 Mar 2020 12:53:00 +0200
+Subject: Fix build with Qt 5.15
+
+QPainterPath is no longer included via qtransform.h (since
+5.15.0-beta2, 50d2acdc93b4de2ba56eb67787e2bdcb21dd4bea in qtbase.git).
+---
+ src/lib/tools/qztools.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib/tools/qztools.cpp b/src/lib/tools/qztools.cpp
+index 499b225..04f19b7 100644
+--- a/src/lib/tools/qztools.cpp
++++ b/src/lib/tools/qztools.cpp
+@@ -25,6 +25,7 @@
+ #include <QByteArray>
+ #include <QPixmap>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QBuffer>
+ #include <QFile>
+ #include <QDir>
+-- 
+cgit v1.1
+