From e6afd0247a9d58619db12cc83225c6c58337ead9 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Fri, 17 Aug 2018 23:24:14 +0200 Subject: [PATCH] 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 --- .../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(-) create mode 100644 media-sound/musescore/files/musescore-2.1.0-qt-5.11.patch 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 000000000000..09932062de57 --- /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 +Date: Thu, 31 May 2018 21:04:51 -0400 +Subject: [PATCH] added missing #include 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 + #include + #include ++#include + #include + #include + #include \ 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 c5eb58ccd824..71798fdc8e9b 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() { -- 2.26.2