summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-02-28 12:46:45 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-02-28 12:47:08 +0100
commit21c0d85046b22c455258b27c65c2d34537a13d87 (patch)
treecb3232fb352b7ed0079c4a3a11593c79fd341b2e
parentsys-cluster/ucx: Bump (diff)
downloadgentoo-21c0d85046b22c455258b27c65c2d34537a13d87.tar.gz
gentoo-21c0d85046b22c455258b27c65c2d34537a13d87.tar.bz2
gentoo-21c0d85046b22c455258b27c65c2d34537a13d87.zip
media-sound/musescore: fixed compilation with -mp3
thanks to Ionen Wolkens <sudinave@gmail.com> for the patch Closes: https://bugs.gentoo.org/767760 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--media-sound/musescore/files/musescore-3.6.1-rename-audioitem.patch12
-rw-r--r--media-sound/musescore/musescore-3.6.1.ebuild1
-rw-r--r--media-sound/musescore/musescore-3.6.2.ebuild1
3 files changed, 14 insertions, 0 deletions
diff --git a/media-sound/musescore/files/musescore-3.6.1-rename-audioitem.patch b/media-sound/musescore/files/musescore-3.6.1-rename-audioitem.patch
new file mode 100644
index 000000000000..caf9ae67ec70
--- /dev/null
+++ b/media-sound/musescore/files/musescore-3.6.1-rename-audioitem.patch
@@ -0,0 +1,12 @@
+Fix misnamed variable causing build failure with USE=-mp3
+https://bugs.gentoo.org/767760
+Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
+--- a/mscore/exportdialog.cpp
++++ b/mscore/exportdialog.cpp
+@@ -77,5 +77,5 @@
+ // Disable .mp3 option if unavailable
+ QStandardItem* mp3Item = fileTypeComboBoxModel->item(3);
+- mp3Item->setFlags(audioItem->flags() & ~Qt::ItemIsEnabled);
++ mp3Item->setFlags(mp3Item->flags() & ~Qt::ItemIsEnabled);
+ # endif
+ # ifndef HAS_AUDIOFILE
diff --git a/media-sound/musescore/musescore-3.6.1.ebuild b/media-sound/musescore/musescore-3.6.1.ebuild
index bb23b9e040eb..9ef3d3c075bc 100644
--- a/media-sound/musescore/musescore-3.6.1.ebuild
+++ b/media-sound/musescore/musescore-3.6.1.ebuild
@@ -63,6 +63,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-3.0.1-man-pages.patch"
+ "${FILESDIR}/${P}-rename-audioitem.patch"
)
src_unpack() {
diff --git a/media-sound/musescore/musescore-3.6.2.ebuild b/media-sound/musescore/musescore-3.6.2.ebuild
index bb23b9e040eb..d5a19eb9bdc6 100644
--- a/media-sound/musescore/musescore-3.6.2.ebuild
+++ b/media-sound/musescore/musescore-3.6.2.ebuild
@@ -63,6 +63,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-3.0.1-man-pages.patch"
+ "${FILESDIR}/${PN}-3.6.1-rename-audioitem.patch"
)
src_unpack() {