commit:     11bf57252b7949aa5b363677c87cbde9da466728
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Tue Aug 21 20:20:57 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Aug 21 21:23:04 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11bf5725

app-emulation/punes: Fix compilation with Qt 5.11

Thanks-to: Fabio Cavallo <fhorse <AT> libero.it>
Closes: https://bugs.gentoo.org/661524
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9656

 .../punes/files/punes-0.102-qt-5.11-fix.patch       | 21 +++++++++++++++++++++
 app-emulation/punes/punes-0.102.ebuild              |  2 ++
 2 files changed, 23 insertions(+)

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 00000000000..1ac5ccafab0
--- /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 <punes.developm...@gmail.com>
+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 <QtWidgets/QMessageBox>
+ #include <QtWidgets/QCheckBox>
+ #include <QtWidgets/QFileDialog>
++#include <QtWidgets/QButtonGroup>
+ #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 cb13a854923..92b1d19b10d 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
 

Reply via email to