commit: e6afd0247a9d58619db12cc83225c6c58337ead9 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri Aug 17 21:24:14 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Aug 17 22:02:02 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6afd024
media-sound/musescore: Fix build with Qt 5.11 Closes: https://bugs.gentoo.org/661784 Package-Manager: Portage-2.3.46, Repoman-2.3.10 .../musescore/files/musescore-2.1.0-qt-5.11.patch | 21 +++++++++++++++++++++ media-sound/musescore/musescore-2.1.0.ebuild | 5 ++++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/media-sound/musescore/files/musescore-2.1.0-qt-5.11.patch b/media-sound/musescore/files/musescore-2.1.0-qt-5.11.patch new file mode 100644 index 00000000000..09932062de5 --- /dev/null +++ b/media-sound/musescore/files/musescore-2.1.0-qt-5.11.patch @@ -0,0 +1,21 @@ +From 9c8a8ffe0cbb00ee93a10fe245da01a4d32ca086 Mon Sep 17 00:00:00 2001 +From: Orcan Ogetbil <[email protected]> +Date: Thu, 31 May 2018 21:04:51 -0400 +Subject: [PATCH] added missing #include <QButtonGroup> required by qt >= 5.11 + +--- + all.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/all.h b/all.h +index 72db72b0ec..2ee0e8e807 100644 +--- a/all.h ++++ b/all.h +@@ -131,6 +131,7 @@ + #include <QProgressBar> + #include <QProgressDialog> + #include <QRadioButton> ++#include <QButtonGroup> + #include <QSplashScreen> + #include <QFontComboBox> + #include <QApplication> \ No newline at end of file diff --git a/media-sound/musescore/musescore-2.1.0.ebuild b/media-sound/musescore/musescore-2.1.0.ebuild index c5eb58ccd82..71798fdc8e9 100644 --- a/media-sound/musescore/musescore-2.1.0.ebuild +++ b/media-sound/musescore/musescore-2.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -41,9 +41,12 @@ DEPEND="${RDEPEND} dev-qt/linguist-tools:5 virtual/pkgconfig " + PATCHES=( "${WORKDIR}/${PN}-2.1.0-fix-buildsystem.patch" + "${FILESDIR}/${PN}-2.1.0-qt-5.11.patch" ) + S="${WORKDIR}/MuseScore-${PV}" src_configure() {
