summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Donato Ferreira <flowlnlnln@gmail.com>2022-09-10 18:06:29 -0300
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-09-12 10:44:42 +0200
commita3f3d54c771487ec68a71bbd5d1fb1054d3fd51f (patch)
tree961191e8155ad687b24e4e4bf4896dea1f3f7403 /games-action
parentdev-util/hip: Use python_has_version recommended by QA (diff)
downloadgentoo-a3f3d54c771487ec68a71bbd5d1fb1054d3fd51f.tar.gz
gentoo-a3f3d54c771487ec68a71bbd5d1fb1054d3fd51f.tar.bz2
gentoo-a3f3d54c771487ec68a71bbd5d1fb1054d3fd51f.zip
games-action/polymc: add patch for explicit include in PollServer
This seems to be a problem with early 5.12 Qt versions, since newer versions don't have this problem. Somewhere along the way, QDebug was probably added as a implicit include to this file. Closes: https://bugs.gentoo.org/869395 Signed-off-by: Thiago Donato Ferreira <flowlnlnln@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/27201 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r--games-action/polymc/files/polymc-1.4.1-include_QDebug.patch16
-rw-r--r--games-action/polymc/polymc-1.4.1-r2.ebuild (renamed from games-action/polymc/polymc-1.4.1-r1.ebuild)4
-rw-r--r--games-action/polymc/polymc-1.4.2-r1.ebuild (renamed from games-action/polymc/polymc-1.4.2.ebuild)4
-rw-r--r--games-action/polymc/polymc-9999.ebuild4
4 files changed, 28 insertions, 0 deletions
diff --git a/games-action/polymc/files/polymc-1.4.1-include_QDebug.patch b/games-action/polymc/files/polymc-1.4.1-include_QDebug.patch
new file mode 100644
index 000000000000..0ad85d958d34
--- /dev/null
+++ b/games-action/polymc/files/polymc-1.4.1-include_QDebug.patch
@@ -0,0 +1,16 @@
+add explicit QDebug include in PollServer
+https://bugs.gentoo.org/869395
+--- a/libraries/katabasis/src/PollServer.cpp
++++ b/libraries/katabasis/src/PollServer.cpp
+@@ -1,6 +1,8 @@
+ #include <QNetworkAccessManager>
+ #include <QNetworkReply>
+
++#include <QDebug>
++
+ #include "katabasis/PollServer.h"
+ #include "JsonResponse.h"
+
+--
+2.37.3
+
diff --git a/games-action/polymc/polymc-1.4.1-r1.ebuild b/games-action/polymc/polymc-1.4.1-r2.ebuild
index 9b4f9e5b4a5b..8be887f9adeb 100644
--- a/games-action/polymc/polymc-1.4.1-r1.ebuild
+++ b/games-action/polymc/polymc-1.4.1-r2.ebuild
@@ -85,6 +85,10 @@ RDEPEND="
virtual/opengl
"
+PATCHES=(
+ "${FILESDIR}"/${P}-include_QDebug.patch
+)
+
src_prepare() {
cmake_src_prepare
diff --git a/games-action/polymc/polymc-1.4.2.ebuild b/games-action/polymc/polymc-1.4.2-r1.ebuild
index 69555a54cb97..be9731e0416c 100644
--- a/games-action/polymc/polymc-1.4.2.ebuild
+++ b/games-action/polymc/polymc-1.4.2-r1.ebuild
@@ -85,6 +85,10 @@ RDEPEND="
virtual/opengl
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-include_QDebug.patch
+)
+
src_prepare() {
cmake_src_prepare
diff --git a/games-action/polymc/polymc-9999.ebuild b/games-action/polymc/polymc-9999.ebuild
index 69555a54cb97..be9731e0416c 100644
--- a/games-action/polymc/polymc-9999.ebuild
+++ b/games-action/polymc/polymc-9999.ebuild
@@ -85,6 +85,10 @@ RDEPEND="
virtual/opengl
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-include_QDebug.patch
+)
+
src_prepare() {
cmake_src_prepare