commit:     90408506ddf02697fa27bbb5ace193fdc9a09cb0
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Sep 21 08:23:07 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 22 02:41:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90408506

dev-java/swt: append-cflags -std=gnu17

Bug: https://bugs.gentoo.org/963048
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Part-of: https://github.com/gentoo/gentoo/pull/43882
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/swt/swt-4.29-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/swt/swt-4.29-r1.ebuild b/dev-java/swt/swt-4.29-r1.ebuild
index 140b2c69263a..3507edb57981 100644
--- a/dev-java/swt/swt-4.29-r1.ebuild
+++ b/dev-java/swt/swt-4.29-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=8
@@ -83,7 +83,7 @@ src_prepare() {
 }
 
 src_compile() {
-       append-cflags -fcommon # https://bugs.gentoo.org/707838
+       append-cflags -fcommon -std=gnu17 # bug #707838, bug #963048
 
        local JAWTSO="libjawt.so"
        IFS=":" read -r -a ldpaths <<< $(java-config -g LDPATH)

Reply via email to