diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-02-28 12:46:45 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-02-28 12:47:08 +0100 |
commit | 21c0d85046b22c455258b27c65c2d34537a13d87 (patch) | |
tree | cb3232fb352b7ed0079c4a3a11593c79fd341b2e /media-sound/musescore/files | |
parent | sys-cluster/ucx: Bump (diff) | |
download | gentoo-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>
Diffstat (limited to 'media-sound/musescore/files')
-rw-r--r-- | media-sound/musescore/files/musescore-3.6.1-rename-audioitem.patch | 12 |
1 files changed, 12 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 |