commit: de1adb73e36776897d85a6af9c37eefa26726dc4 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Tue Jun 1 22:14:49 2021 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Tue Jun 1 22:14:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de1adb73
app-emulation/fs-uae: Fix building with GCC 11 / C++-17 Closes: https://bugs.gentoo.org/787218 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> app-emulation/fs-uae/fs-uae-3.0.5.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app-emulation/fs-uae/fs-uae-3.0.5.ebuild b/app-emulation/fs-uae/fs-uae-3.0.5.ebuild index 3cf31cf10ce..dab8a94a18e 100644 --- a/app-emulation/fs-uae/fs-uae-3.0.5.ebuild +++ b/app-emulation/fs-uae/fs-uae-3.0.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -50,6 +50,10 @@ src_prepare() { # used? Lua is bundled but differs from upstream. We keep the # default of disabling the Lua feature anyway as it is unfinished. rm -r libmpeg2/ libudis86/ || die + + # Fix building with GCC 11 / C++-17. This code was removed from master so + # this change has not been sent upstream. + sed -i "s/ throw([^)]*)//g" src/dosbox/setup.h || die } src_configure() {