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 <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono 2025-03-30 14:01:53 +09:00
parent b8dd3ddae2
commit ea8374a3df
No known key found for this signature in database
GPG Key ID: 91CA2604719DDA61

View File

@ -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
}