Skip to content

Commit

Permalink
app-emulation/fs-uae: Fix building with GCC 11 / C++-17
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/787218
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: James Le Cuirot <[email protected]>
  • Loading branch information
chewi committed Jun 1, 2021
1 parent f7b7c15 commit de1adb7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app-emulation/fs-uae/fs-uae-3.0.5.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit de1adb7

Please sign in to comment.