From e57fb6425fcc5c3effd2a595fec5b309f315cf65 Mon Sep 17 00:00:00 2001 From: Kerin Millar Date: Sun, 19 Sep 2021 04:49:03 +0100 Subject: [PATCH] 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 See-Also: https://github.com/libretro/dosbox-libretro/issues/137 Signed-off-by: Kerin Millar --- .../libretro-dosbox/libretro-dosbox-0.0.1_pre20180723.ebuild | 4 ++++ games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild | 4 ++++ 2 files changed, 8 insertions(+) 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 7e054e83e..343a40095 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 @@ -11,3 +11,7 @@ inherit libretro-core DESCRIPTION="DOSBox libretro port" LICENSE="GPL-2+" SLOT="0" + +src_compile() { + 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 5105cca88..1cff8b065 100644 --- a/games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild +++ b/games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild @@ -9,3 +9,7 @@ inherit libretro-core DESCRIPTION="DOSBox libretro port" LICENSE="GPL-2+" SLOT="0" + +src_compile() { + CXXFLAGS+=" -std=gnu++11" default +} -- 2.33.0