From: Azamat H. Hackimov Date: Tue, 21 Aug 2018 20:20:57 +0000 (+0300) Subject: app-emulation/punes: Fix compilation with Qt 5.11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=11bf57252b7949aa5b363677c87cbde9da466728;p=gentoo.git app-emulation/punes: Fix compilation with Qt 5.11 Thanks-to: Fabio Cavallo Closes: https://bugs.gentoo.org/661524 Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9656 --- diff --git a/app-emulation/punes/files/punes-0.102-qt-5.11-fix.patch b/app-emulation/punes/files/punes-0.102-qt-5.11-fix.patch new file mode 100644 index 000000000000..1ac5ccafab07 --- /dev/null +++ b/app-emulation/punes/files/punes-0.102-qt-5.11-fix.patch @@ -0,0 +1,21 @@ +From 46620c32ff37a7968c977e4b3cde8d601807702c Mon Sep 17 00:00:00 2001 +From: fhorse +Date: Sun, 15 Jul 2018 13:30:15 +0200 +Subject: [PATCH] Corretto errore di compilazione con le Qt5. + +--- + src/gui/dlgCheats.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/gui/dlgCheats.cpp b/src/gui/dlgCheats.cpp +index 9ff904d2..b7c6c52a 100644 +--- a/src/gui/dlgCheats.cpp ++++ b/src/gui/dlgCheats.cpp +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #endif + #include "dlgCheats.moc" + #include "mainWindow.hpp" diff --git a/app-emulation/punes/punes-0.102.ebuild b/app-emulation/punes/punes-0.102.ebuild index cb13a8549234..92b1d19b10d1 100644 --- a/app-emulation/punes/punes-0.102.ebuild +++ b/app-emulation/punes/punes-0.102.ebuild @@ -28,6 +28,8 @@ DEPEND=" S="${WORKDIR}/puNES-${PV}" +PATCHES=( "${FILESDIR}/${P}-qt-5.11-fix.patch" ) + src_prepare() { default