From: Andreas Sturmlechner Date: Sat, 18 Apr 2020 19:28:01 +0000 (+0200) Subject: games-strategy/hedgewars: Fix build with Qt 5.15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=daad0d62a5dcc35a25bf697707c78ae87890b4dd;p=gentoo.git games-strategy/hedgewars: Fix build with Qt 5.15 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner --- 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 000000000000..228b31ecf1af --- /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 + #include + #include ++#include + #include + + #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 55c30fdbc7bc..b904224542e6 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() {