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