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

diff --git a/games-strategy/hedgewars/files/hedgewars-1.0.0-qt-5.15.patch b/games-strategy/hedgewars/files/hedgewars-1.0.0-qt-5.15.patch
new file mode 100644 (file)
index 0000000..228b31e
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/QTfrontend/ui/page/pagegamestats.cpp     2019-07-30 18:58:48.000000000 +0200
++++ b/QTfrontend/ui/page/pagegamestats.cpp     2020-04-18 21:20:30.097454801 +0200
+@@ -21,6 +21,7 @@
+ #include <QHBoxLayout>
+ #include <QGraphicsScene>
+ #include <QGroupBox>
++#include <QPainterPath>
+ #include <QSizePolicy>
+ #include "pagegamestats.h"
index 55c30fdbc7bc778763b00ee5a67df6cd3a463837..b904224542e691e2ad31c6dc9d6843ff6f6087d1 100644 (file)
@@ -66,6 +66,8 @@ BDEPEND="
                dev-haskell/parsec
        )"
 
+PATCHES=( "${FILESDIR}/${P}-qt-5.15.patch" )
+
 S="${WORKDIR}"/${MY_P}
 
 src_configure() {