mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
committed by
Andrew Ammerlaan
parent
430977b992
commit
a3f3d54c77
16
games-action/polymc/files/polymc-1.4.1-include_QDebug.patch
Normal file
16
games-action/polymc/files/polymc-1.4.1-include_QDebug.patch
Normal 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
|
||||
|
||||
@@ -85,6 +85,10 @@ RDEPEND="
|
||||
virtual/opengl
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-include_QDebug.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
@@ -85,6 +85,10 @@ RDEPEND="
|
||||
virtual/opengl
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.4.1-include_QDebug.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
@@ -85,6 +85,10 @@ RDEPEND="
|
||||
virtual/opengl
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.4.1-include_QDebug.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
|
||||
Reference in New Issue
Block a user