summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2018-08-21 23:20:57 +0300
committerAndreas Sturmlechner <asturm@gentoo.org>2018-08-21 23:23:04 +0200
commit11bf57252b7949aa5b363677c87cbde9da466728 (patch)
treed72befc2be6d371407a45556be088c4276f94063 /app-emulation/punes
parentmedia-sound/musescore: Add USE vorbis for SoundFont support (diff)
downloadgentoo-11bf57252b7949aa5b363677c87cbde9da466728.tar.gz
gentoo-11bf57252b7949aa5b363677c87cbde9da466728.tar.bz2
gentoo-11bf57252b7949aa5b363677c87cbde9da466728.zip
app-emulation/punes: Fix compilation with Qt 5.11
Thanks-to: Fabio Cavallo <fhorse@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
Diffstat (limited to 'app-emulation/punes')
-rw-r--r--app-emulation/punes/files/punes-0.102-qt-5.11-fix.patch21
-rw-r--r--app-emulation/punes/punes-0.102.ebuild2
2 files changed, 23 insertions, 0 deletions
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 <punes.development@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 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