summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-11-21 10:51:57 +0100
committerUlrich Müller <ulm@gentoo.org>2024-11-21 10:52:54 +0100
commite18831a3a2717faf6dc7965471c778a6a02bbffd (patch)
treeff6c9add97ad42fe3371f532bf4c6f302145f556
parentmedia-sound/fluidsynth: Stabilize 2.3.7 sparc, #944280 (diff)
downloadgentoo-master.tar.gz
gentoo-master.tar.bz2
gentoo-master.zip
games-board/polyglot: Fix build with GCC 15HEADmaster
Closes: https://bugs.gentoo.org/944265 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--games-board/polyglot/polyglot-1.4.70b-r3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/games-board/polyglot/polyglot-1.4.70b-r3.ebuild b/games-board/polyglot/polyglot-1.4.70b-r3.ebuild
index 4af375e1455f..eb7416bcfb4e 100644
--- a/games-board/polyglot/polyglot-1.4.70b-r3.ebuild
+++ b/games-board/polyglot/polyglot-1.4.70b-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,3 +17,7 @@ PATCHES=(
"${FILESDIR}"/${P}-musl.patch
)
DOCS="AUTHORS ChangeLog TODO" # README* installed by build system
+
+src_compile() {
+ emake CFLAGS="-std=gnu17 ${CFLAGS}"
+}