1 |
commit: 770384f01be77ea6c4d14c7a77c88b96c7fb4d60 |
2 |
Author: Kerin Millar <kfm <AT> plushkava <DOT> net> |
3 |
AuthorDate: Sun Sep 19 03:49:03 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 19 04:15:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=770384f0 |
7 |
|
8 |
games-emulation/libretro-dosbox: build with -std=gnu++11 |
9 |
|
10 |
The codebase is not yet compatible with any newer C++ dialect. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/787704 |
13 |
Bug: https://github.com/libretro/dosbox-libretro/issues/137 |
14 |
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
.../libretro-dosbox/libretro-dosbox-0.0.1_pre20180723.ebuild | 9 +++++++-- |
18 |
games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild | 9 +++++++-- |
19 |
2 files changed, 14 insertions(+), 4 deletions(-) |
20 |
|
21 |
diff --git a/games-emulation/libretro-dosbox/libretro-dosbox-0.0.1_pre20180723.ebuild b/games-emulation/libretro-dosbox/libretro-dosbox-0.0.1_pre20180723.ebuild |
22 |
index 7e054e83e3a..0b886621f56 100644 |
23 |
--- a/games-emulation/libretro-dosbox/libretro-dosbox-0.0.1_pre20180723.ebuild |
24 |
+++ b/games-emulation/libretro-dosbox/libretro-dosbox-0.0.1_pre20180723.ebuild |
25 |
@@ -1,4 +1,4 @@ |
26 |
-# Copyright 1999-2018 Gentoo Foundation |
27 |
+# Copyright 1999-2021 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
EAPI=7 |
31 |
@@ -6,8 +6,13 @@ EAPI=7 |
32 |
LIBRETRO_REPO_NAME="libretro/dosbox-libretro" |
33 |
LIBRETRO_COMMIT_SHA="169d476437ec813b462a47254f24cf78473389c8" |
34 |
KEYWORDS="~amd64 ~x86" |
35 |
-inherit libretro-core |
36 |
+inherit flag-o-matic libretro-core |
37 |
|
38 |
DESCRIPTION="DOSBox libretro port" |
39 |
LICENSE="GPL-2+" |
40 |
SLOT="0" |
41 |
+ |
42 |
+src_compile() { |
43 |
+ append-cxxflags -std=gnu++11 |
44 |
+ default |
45 |
+} |
46 |
|
47 |
diff --git a/games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild b/games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild |
48 |
index 5105cca887f..ad6cbe45346 100644 |
49 |
--- a/games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild |
50 |
+++ b/games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild |
51 |
@@ -1,11 +1,16 @@ |
52 |
-# Copyright 1999-2018 Gentoo Foundation |
53 |
+# Copyright 1999-2021 Gentoo Authors |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
|
56 |
EAPI=7 |
57 |
|
58 |
LIBRETRO_REPO_NAME="libretro/dosbox-libretro" |
59 |
-inherit libretro-core |
60 |
+inherit libretro-core flag-o-matic |
61 |
|
62 |
DESCRIPTION="DOSBox libretro port" |
63 |
LICENSE="GPL-2+" |
64 |
SLOT="0" |
65 |
+ |
66 |
+src_compile() { |
67 |
+ append-cxxflags -std=gnu++11 |
68 |
+ default |
69 |
+} |