summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {