commit: d4eb94b6fbf7a414e69ed3f8edb9712d9dc69758 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Fri May 7 16:24:06 2021 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Fri May 7 16:24:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4eb94b6
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 <soap <AT> gentoo.org> games-arcade/berusky/berusky-1.7.1-r2.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/games-arcade/berusky/berusky-1.7.1-r2.ebuild b/games-arcade/berusky/berusky-1.7.1-r2.ebuild index c14feec0074..65f429dfe17 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
