diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2020-08-18 10:24:30 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-08-18 10:24:30 -0700 |
commit | 9f84486da0432822225c3830d0436b124599d9a9 (patch) | |
tree | e00cde91402ba71b547169234eda3b30300c1e2e /media-libs/game-music-emu | |
parent | dev-util/bustle: update homepage (diff) | |
download | gentoo-9f84486da0432822225c3830d0436b124599d9a9.tar.gz gentoo-9f84486da0432822225c3830d0436b124599d9a9.tar.bz2 gentoo-9f84486da0432822225c3830d0436b124599d9a9.zip |
media-libs/game-music-emu-0.6.2: Add patch for gcc-10 (bug #722368)
Closes: https://bugs.gentoo.org/722368
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'media-libs/game-music-emu')
-rw-r--r-- | media-libs/game-music-emu/files/game-music-emu-0.6.2-gcc10.patch | 11 | ||||
-rw-r--r-- | media-libs/game-music-emu/game-music-emu-0.6.2.ebuild | 4 |
2 files changed, 15 insertions, 0 deletions
diff --git a/media-libs/game-music-emu/files/game-music-emu-0.6.2-gcc10.patch b/media-libs/game-music-emu/files/game-music-emu-0.6.2-gcc10.patch new file mode 100644 index 000000000000..620085ca7b78 --- /dev/null +++ b/media-libs/game-music-emu/files/game-music-emu-0.6.2-gcc10.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -66,7 +66,7 @@ + if (__LIBGME_TEST_VISIBILITY) + # get the gcc version + exec_program(${CMAKE_CXX_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) +- string (REGEX MATCH "[3-9]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") ++ string (REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" _gcc_version "${_gcc_version_info}") + + # gcc <4.1 had poor support for symbol visibility + if ((${_gcc_version} VERSION_GREATER "4.1") OR (${_gcc_version} VERSION_EQUAL "4.1")) diff --git a/media-libs/game-music-emu/game-music-emu-0.6.2.ebuild b/media-libs/game-music-emu/game-music-emu-0.6.2.ebuild index 0ff5dae7ee70..54d6d0478cd6 100644 --- a/media-libs/game-music-emu/game-music-emu-0.6.2.ebuild +++ b/media-libs/game-music-emu/game-music-emu-0.6.2.ebuild @@ -15,3 +15,7 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 x86" IUSE="" DOCS=( changes.txt design.txt gme.txt readme.txt ) + +PATCHES=( + "${FILESDIR}/game-music-emu-0.6.2-gcc10.patch" +) |