From ea8374a3df64f104d82356c889b7f58a91ebb3d9 Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Sun, 30 Mar 2025 14:01:53 +0900 Subject: [PATCH] games-action/netrek-cow: don't build with C23 Incompatible function declarations under C23. https://github.com/quozl/netrek-client-cow/issues/10 Closes: https://bugs.gentoo.org/945213 Signed-off-by: Takuya Wakazono --- games-action/netrek-cow/netrek-cow-3.3.2.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/games-action/netrek-cow/netrek-cow-3.3.2.ebuild b/games-action/netrek-cow/netrek-cow-3.3.2.ebuild index f5e252233a..2b5029da12 100644 --- a/games-action/netrek-cow/netrek-cow-3.3.2.ebuild +++ b/games-action/netrek-cow/netrek-cow-3.3.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="cow client for netrek" HOMEPAGE="https://netrek.org" @@ -36,6 +36,12 @@ src_prepare() { eautoreconf } +src_configure() { + # Incompatible function declarations under C23. Bug #945213 + append-cflags -std=gnu17 + default +} + src_install() { dobin netrek-client-cow }