From 41cabf6e9f64bd131f4826c095e02438a8b9dbd1 Mon Sep 17 00:00:00 2001 From: Nicolas PARLANT Date: Sat, 28 Jun 2025 06:39:54 +0200 Subject: [PATCH] sys-apps/xinetd: pass -std=gnu17 for gcc15 While waiting for an unlikely upstream fix. Closes: https://bugs.gentoo.org/943856 Signed-off-by: Nicolas PARLANT Part-of: https://github.com/gentoo/gentoo/pull/42783 Closes: https://github.com/gentoo/gentoo/pull/42783 Signed-off-by: Sam James --- sys-apps/xinetd/xinetd-2.3.15.4-r1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys-apps/xinetd/xinetd-2.3.15.4-r1.ebuild b/sys-apps/xinetd/xinetd-2.3.15.4-r1.ebuild index 648cc0c236bdc..5e1841ee7803d 100644 --- a/sys-apps/xinetd/xinetd-2.3.15.4-r1.ebuild +++ b/sys-apps/xinetd/xinetd-2.3.15.4-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools systemd +inherit autotools flag-o-matic systemd DESCRIPTION="Powerful replacement for inetd" HOMEPAGE="https://github.com/xinetd-org/xinetd https://github.com/openSUSE/xinetd" @@ -41,6 +41,9 @@ src_prepare() { } src_configure() { + # bug #943856 + append-cflags -std=gnu17 + econf \ $(use_with tcpd libwrap) \ $(use_with selinux labeled-networking) \