commit:     d3d83c6a06a57241395a389970cf2fb8495a36ba
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 11 15:30:29 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 04:59:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d83c6a

media-gfx/gimp: add gnu17 for 2.x

Not bothering for 3.x as immolo reported it upstream already & there's
an MR pending, so it should be fixed there soon.

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

 media-gfx/gimp/gimp-2.10.38-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/media-gfx/gimp/gimp-2.10.38-r1.ebuild 
b/media-gfx/gimp/gimp-2.10.38-r1.ebuild
index 8e4df871c08f..74d5c6cb1ae3 100644
--- a/media-gfx/gimp/gimp-2.10.38-r1.ebuild
+++ b/media-gfx/gimp/gimp-2.10.38-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 GNOME2_EAUTORECONF=yes
 WANT_AUTOMAKE=
 
-inherit autotools gnome2 toolchain-funcs virtualx
+inherit autotools flag-o-matic gnome2 toolchain-funcs virtualx
 
 DESCRIPTION="GNU Image Manipulation Program"
 HOMEPAGE="https://www.gimp.org/";
@@ -134,6 +134,9 @@ _adjust_sandbox() {
 src_configure() {
        _adjust_sandbox
 
+       # bug #944284 (https://gitlab.gnome.org/GNOME/gimp/-/issues/12843)
+       append-cflags -std=gnu17
+
        local myconf=(
                GEGL="${EPREFIX}"/usr/bin/gegl-0.4
                GDBUS_CODEGEN="${EPREFIX}"/bin/false

Reply via email to