From d4eb94b6fbf7a414e69ed3f8edb9712d9dc69758 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 7 May 2021 18:24:06 +0200 Subject: games-arcade/berusky: Fix build against GCC 11 Closes: https://bugs.gentoo.org/787287 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert --- games-arcade/berusky/berusky-1.7.1-r2.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'games-arcade') diff --git a/games-arcade/berusky/berusky-1.7.1-r2.ebuild b/games-arcade/berusky/berusky-1.7.1-r2.ebuild index c14feec00747..65f429dfe17f 100644 --- a/games-arcade/berusky/berusky-1.7.1-r2.ebuild +++ b/games-arcade/berusky/berusky-1.7.1-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit desktop gnome2 +inherit desktop flag-o-matic gnome2 DATAFILE="${PN}-data-1.7" DESCRIPTION="Free logic game based on an ancient puzzle named Sokoban" @@ -34,6 +34,14 @@ src_prepare() { default } +src_configure() { + # https://bugs.gentoo.org/787287 + # clashes with C++17's "std::byte" type + append-cxxflags -std=c++14 + + default +} + src_install() { gnome2_src_install -- cgit v1.2.3-65-gdbad