commit: ca05fdbb68cf9bbd1876d57cb3c60e857f8467ab
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 22 06:23:36 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 22 06:24:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca05fdbb
x11-libs/gtk+: use -std=gnu17 for 2
Incompatible w/ C23 decls. Newer autoconf will default to -std=gnu23.
Signed-off-by: Sam James <sam <AT> gentoo.org>
x11-libs/gtk+/gtk+-2.24.33-r3.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/x11-libs/gtk+/gtk+-2.24.33-r3.ebuild
b/x11-libs/gtk+/gtk+-2.24.33-r3.ebuild
index d6e8c26b77a2..a2a634581869 100644
--- a/x11-libs/gtk+/gtk+-2.24.33-r3.ebuild
+++ b/x11-libs/gtk+/gtk+-2.24.33-r3.ebuild
@@ -134,6 +134,8 @@ src_prepare() {
# -O3 and company cause random crashes in applications, bug #133469
replace-flags -O3 -O2
strip-flags
+ # Not compatible with C23 decls
+ append-flags -std=gnu17
if ! use test ; then
# don't waste time building tests