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>
This commit is contained in:
Thiago Donato Ferreira
2022-09-10 18:06:29 -03:00
committed by Andrew Ammerlaan
parent 430977b992
commit a3f3d54c77
4 changed files with 28 additions and 0 deletions

View File

@@ -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

View File

@@ -85,6 +85,10 @@ RDEPEND="
virtual/opengl
"
PATCHES=(
"${FILESDIR}"/${P}-include_QDebug.patch
)
src_prepare() {
cmake_src_prepare

View File

@@ -85,6 +85,10 @@ RDEPEND="
virtual/opengl
"
PATCHES=(
"${FILESDIR}"/${PN}-1.4.1-include_QDebug.patch
)
src_prepare() {
cmake_src_prepare

View File

@@ -85,6 +85,10 @@ RDEPEND="
virtual/opengl
"
PATCHES=(
"${FILESDIR}"/${PN}-1.4.1-include_QDebug.patch
)
src_prepare() {
cmake_src_prepare