summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerin Millar <kfm@plushkava.net>2021-09-19 04:49:03 +0100
committerSam James <sam@gentoo.org>2021-09-19 05:15:25 +0100
commit770384f01be77ea6c4d14c7a77c88b96c7fb4d60 (patch)
treef1a77abcefb0410f1a32c9e3a47798752685a9d7 /games-emulation
parentvirtual/perl-Encode: Stabilize 3.120.0 x86, #812065 (diff)
downloadgentoo-770384f01be77ea6c4d14c7a77c88b96c7fb4d60.tar.gz
gentoo-770384f01be77ea6c4d14c7a77c88b96c7fb4d60.tar.bz2
gentoo-770384f01be77ea6c4d14c7a77c88b96c7fb4d60.zip
games-emulation/libretro-dosbox: build with -std=gnu++11
The codebase is not yet compatible with any newer C++ dialect. Closes: https://bugs.gentoo.org/787704 Bug: https://github.com/libretro/dosbox-libretro/issues/137 Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/libretro-dosbox/libretro-dosbox-0.0.1_pre20180723.ebuild9
-rw-r--r--games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild9
2 files changed, 14 insertions, 4 deletions
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
index 7e054e83e3a6..0b886621f567 100644
--- a/games-emulation/libretro-dosbox/libretro-dosbox-0.0.1_pre20180723.ebuild
+++ b/games-emulation/libretro-dosbox/libretro-dosbox-0.0.1_pre20180723.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,8 +6,13 @@ EAPI=7
LIBRETRO_REPO_NAME="libretro/dosbox-libretro"
LIBRETRO_COMMIT_SHA="169d476437ec813b462a47254f24cf78473389c8"
KEYWORDS="~amd64 ~x86"
-inherit libretro-core
+inherit flag-o-matic libretro-core
DESCRIPTION="DOSBox libretro port"
LICENSE="GPL-2+"
SLOT="0"
+
+src_compile() {
+ append-cxxflags -std=gnu++11
+ default
+}
diff --git a/games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild b/games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild
index 5105cca887f1..ad6cbe45346b 100644
--- a/games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild
+++ b/games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild
@@ -1,11 +1,16 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
LIBRETRO_REPO_NAME="libretro/dosbox-libretro"
-inherit libretro-core
+inherit libretro-core flag-o-matic
DESCRIPTION="DOSBox libretro port"
LICENSE="GPL-2+"
SLOT="0"
+
+src_compile() {
+ append-cxxflags -std=gnu++11
+ default
+}