commit: 7b07d28a1cae63148a337171b08182d87090f281 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> AuthorDate: Fri Sep 4 11:57:34 2020 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Fri Sep 4 11:57:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b07d28a
media-sound/gmorgan: fixed compilation with clang Closes: https://bugs.gentoo.org/740344 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> media-sound/gmorgan/files/gmorgan-0.79-clang.patch | 13 +++++++++++++ media-sound/gmorgan/gmorgan-0.79-r1.ebuild | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/media-sound/gmorgan/files/gmorgan-0.79-clang.patch b/media-sound/gmorgan/files/gmorgan-0.79-clang.patch new file mode 100644 index 00000000000..fe687dad3c1 --- /dev/null +++ b/media-sound/gmorgan/files/gmorgan-0.79-clang.patch @@ -0,0 +1,13 @@ +diff --git a/src/NotGenerated.cxx b/src/NotGenerated.cxx +index c2d6425..d7c6910 100644 +--- a/src/NotGenerated.cxx ++++ b/src/NotGenerated.cxx +@@ -16139,7 +16139,7 @@ GMORGAN::cb_BPSave (Fl_Menu_ * o, void *v) + void GMORGAN::cb_BPPrint_i(Fl_Menu_*, void*) { + char *filename; + #define EXT ".ly" +-filename=fl_file_chooser(gettext("Print Song:"),"(*"EXT")",NULL,0); ++filename=fl_file_chooser(gettext("Print Song:"),"(*" EXT ")",NULL,0); + if (filename==NULL) return; + filename=fl_filename_setext(filename,EXT); + #undef EXT diff --git a/media-sound/gmorgan/gmorgan-0.79-r1.ebuild b/media-sound/gmorgan/gmorgan-0.79-r1.ebuild index 1aaebf4e310..54db2b24697 100644 --- a/media-sound/gmorgan/gmorgan-0.79-r1.ebuild +++ b/media-sound/gmorgan/gmorgan-0.79-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -25,6 +25,7 @@ PATCHES=( "${FILESDIR}"/${P}-remove-dirs.patch "${FILESDIR}"/${P}-remove-old-docs.patch "${FILESDIR}"/${P}-gcc6.patch + "${FILESDIR}"/${P}-clang.patch ) src_prepare() {
