commit:     c5ae1e829696ad2d92a78ed9518395f115ab51ed
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 10 03:37:12 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 03:37:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ae1e82

net-analyzer/fwlogwatch: build w/ -std=gnu17

Mismatches on signal handlers, not worth patching IMO.

Closes: https://bugs.gentoo.org/945298
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/fwlogwatch/fwlogwatch-1.5-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/fwlogwatch/fwlogwatch-1.5-r1.ebuild 
b/net-analyzer/fwlogwatch/fwlogwatch-1.5-r1.ebuild
index ed6ff796ace8..31625bc428aa 100644
--- a/net-analyzer/fwlogwatch/fwlogwatch-1.5-r1.ebuild
+++ b/net-analyzer/fwlogwatch/fwlogwatch-1.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -64,9 +64,10 @@ src_configure() {
 }
 
 src_compile() {
+       # -std=gnu17 for bug #945298 (signal handlers)
        emake \
                CC="$(tc-getCC)" \
-               CFLAGS="${CFLAGS}" \
+               CFLAGS="${CFLAGS} -std=gnu17" \
                LDFLAGS="${LDFLAGS}"
        use nls && emake -C po
 }

Reply via email to