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 }