summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-22 07:23:36 +0100
committerSam James <sam@gentoo.org>2024-08-22 07:24:20 +0100
commitca05fdbb68cf9bbd1876d57cb3c60e857f8467ab (patch)
tree7d8a7fe7a4506b970e5f954085a42ad4e6e7bca3 /x11-libs
parentmedia-video/obs-studio: drop 30.1.2, 30.2.0-r1, 30.2.1 (diff)
downloadgentoo-ca05fdbb68cf9bbd1876d57cb3c60e857f8467ab.tar.gz
gentoo-ca05fdbb68cf9bbd1876d57cb3c60e857f8467ab.tar.bz2
gentoo-ca05fdbb68cf9bbd1876d57cb3c60e857f8467ab.zip
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@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/gtk+/gtk+-2.24.33-r3.ebuild2
1 files changed, 2 insertions, 0 deletions
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