From 770384f01be77ea6c4d14c7a77c88b96c7fb4d60 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 Bug: https://github.com/libretro/dosbox-libretro/issues/137 Signed-off-by: Kerin Millar Signed-off-by: Sam James --- .../libretro-dosbox-0.0.1_pre20180723.ebuild | 9 +++++++-- .../libretro-dosbox/libretro-dosbox-9999.ebuild | 9 +++++++-- 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 7e054e83e3a68..0b886621f5676 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 5105cca887f13..ad6cbe45346b6 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 +}