commit:     76ab035c28f60a27d043e5770b94bc2143d8c0ef
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 18:49:37 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 18:50:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76ab035c

x11-plugins/wmfrog: build w/ -std=gnu17

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

 x11-plugins/wmfrog/wmfrog-0.3.1-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/wmfrog/wmfrog-0.3.1-r1.ebuild 
b/x11-plugins/wmfrog/wmfrog-0.3.1-r1.ebuild
index e75bc7fb0d08..9d415c99fcbd 100644
--- a/x11-plugins/wmfrog/wmfrog-0.3.1-r1.ebuild
+++ b/x11-plugins/wmfrog/wmfrog-0.3.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="a weather application, it shows the weather in a graphical way"
 HOMEPAGE="http://wiki.colar.net/wmfrog_dockapp";
@@ -30,6 +30,9 @@ src_prepare() {
 }
 
 src_compile() {
+       # bug #944305
+       append-cflags -std=gnu17
+
        emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" INCDIR="" \
                LIBDIR="" SYSTEM="${LDFLAGS}"
 }

Reply via email to