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>
This commit is contained in:
Kerin Millar
2021-09-19 04:49:03 +01:00
committed by Sam James
parent 8b1fdb21fc
commit 770384f01b
2 changed files with 14 additions and 4 deletions

View File

@@ -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
}

View File

@@ -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
}