summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-05-07 18:24:06 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-07 18:24:06 +0200
commitd4eb94b6fbf7a414e69ed3f8edb9712d9dc69758 (patch)
treefb08a175a8519ea40812e2b605ae35caf7acaa44 /games-arcade
parentdev-libs/uthash: Adopt package (diff)
downloadgentoo-d4eb94b6fbf7a414e69ed3f8edb9712d9dc69758.tar.gz
gentoo-d4eb94b6fbf7a414e69ed3f8edb9712d9dc69758.tar.bz2
gentoo-d4eb94b6fbf7a414e69ed3f8edb9712d9dc69758.zip
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@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/berusky/berusky-1.7.1-r2.ebuild10
1 files changed, 9 insertions, 1 deletions
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