commit: e18831a3a2717faf6dc7965471c778a6a02bbffd Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Thu Nov 21 09:51:57 2024 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Thu Nov 21 09:52:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e18831a3
games-board/polyglot: Fix build with GCC 15 Closes: https://bugs.gentoo.org/944265 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> games-board/polyglot/polyglot-1.4.70b-r3.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}" +}
