summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-06-01 23:14:49 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-06-01 23:14:49 +0100
commitde1adb73e36776897d85a6af9c37eefa26726dc4 (patch)
tree9464969bdd60e1c88c0eab798bb29820e9fdc845 /app-emulation/fs-uae
parentdev-cpp/htmlcxx: Patch to fix building with GCC 11 / C++-17 (diff)
downloadgentoo-de1adb73e36776897d85a6af9c37eefa26726dc4.tar.gz
gentoo-de1adb73e36776897d85a6af9c37eefa26726dc4.tar.bz2
gentoo-de1adb73e36776897d85a6af9c37eefa26726dc4.zip
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@gentoo.org>
Diffstat (limited to 'app-emulation/fs-uae')
-rw-r--r--app-emulation/fs-uae/fs-uae-3.0.5.ebuild6
1 files changed, 5 insertions, 1 deletions
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 3cf31cf10ce0..dab8a94a18e3 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() {