summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-04-18 21:28:01 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-04-18 21:32:48 +0200
commitdaad0d62a5dcc35a25bf697707c78ae87890b4dd (patch)
tree86c28a8c7551e2fe9edb89ccc2350dd1dc218c83 /games-strategy
parentmedia-gfx/krita: Fix build with Qt 5.15 (diff)
downloadgentoo-daad0d62a5dcc35a25bf697707c78ae87890b4dd.tar.gz
gentoo-daad0d62a5dcc35a25bf697707c78ae87890b4dd.tar.bz2
gentoo-daad0d62a5dcc35a25bf697707c78ae87890b4dd.zip
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@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/hedgewars/files/hedgewars-1.0.0-qt-5.15.patch10
-rw-r--r--games-strategy/hedgewars/hedgewars-1.0.0-r1.ebuild2
2 files changed, 12 insertions, 0 deletions
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() {