commit:     daad0d62a5dcc35a25bf697707c78ae87890b4dd
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 18 19:28:01 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Apr 18 19:32:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daad0d62

games-strategy/hedgewars: Fix build with Qt 5.15

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-strategy/hedgewars/files/hedgewars-1.0.0-qt-5.15.patch | 10 ++++++++++
 games-strategy/hedgewars/hedgewars-1.0.0-r1.ebuild           |  2 ++
 2 files changed, 12 insertions(+)

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
index 00000000000..228b31ecf1a
--- /dev/null
+++ b/games-strategy/hedgewars/files/hedgewars-1.0.0-qt-5.15.patch
@@ -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"

diff --git a/games-strategy/hedgewars/hedgewars-1.0.0-r1.ebuild 
b/games-strategy/hedgewars/hedgewars-1.0.0-r1.ebuild
index 55c30fdbc7b..b904224542e 100644
--- a/games-strategy/hedgewars/hedgewars-1.0.0-r1.ebuild
+++ b/games-strategy/hedgewars/hedgewars-1.0.0-r1.ebuild
@@ -66,6 +66,8 @@ BDEPEND="
                dev-haskell/parsec
        )"
 
+PATCHES=( "${FILESDIR}/${P}-qt-5.15.patch" )
+
 S="${WORKDIR}"/${MY_P}
 
 src_configure() {

Reply via email to