diff options
Diffstat (limited to 'media-sound/musescore')
-rw-r--r-- | media-sound/musescore/files/musescore-9999-lambda-capture-this.patch | 13 | ||||
-rw-r--r-- | media-sound/musescore/musescore-9999.ebuild | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/media-sound/musescore/files/musescore-9999-lambda-capture-this.patch b/media-sound/musescore/files/musescore-9999-lambda-capture-this.patch new file mode 100644 index 000000000000..c0bb7083324d --- /dev/null +++ b/media-sound/musescore/files/musescore-9999-lambda-capture-this.patch @@ -0,0 +1,13 @@ +diff --git a/mscore/scoreview.cpp b/mscore/scoreview.cpp +index 9804e1f32..83e0c0e47 100644 +--- a/mscore/scoreview.cpp ++++ b/mscore/scoreview.cpp +@@ -2405,7 +2405,7 @@ void ScoreView::cmd(const char* s) + cv->updateGrips(); + }}, + #ifdef OMR +- {{"show-omr"}, [](ScoreView* cv, const QByteArray&) { ++ {{"show-omr"}, [&](ScoreView* cv, const QByteArray&) { + if (cv->score()->masterScore()->omr()) + showOmr(!_score->masterScore()->showOmr()); + }}, diff --git a/media-sound/musescore/musescore-9999.ebuild b/media-sound/musescore/musescore-9999.ebuild index 89e66d393cfd..d6ea4938d868 100644 --- a/media-sound/musescore/musescore-9999.ebuild +++ b/media-sound/musescore/musescore-9999.ebuild @@ -55,6 +55,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${PN}-3.0.1-man-pages.patch" + "${FILESDIR}/${P}-lambda-capture-this.patch" ) src_unpack() { |