From daad0d62a5dcc35a25bf697707c78ae87890b4dd Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 18 Apr 2020 21:28:01 +0200 Subject: [PATCH] games-strategy/hedgewars: Fix build with Qt 5.15 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner --- .../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(+) create mode 100644 games-strategy/hedgewars/files/hedgewars-1.0.0-qt-5.15.patch 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() { -- 2.26.2