summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-02-11 15:30:29 +0000
committerSam James <sam@gentoo.org>2025-02-12 04:59:33 +0000
commitd3d83c6a06a57241395a389970cf2fb8495a36ba (patch)
tree3a533e24281c945c5946bf0bb806d4fd3a2609a1 /media-gfx/gimp
parentsys-devel/patch: add references to NDEBUG patch (diff)
downloadgentoo-d3d83c6a06a57241395a389970cf2fb8495a36ba.tar.gz
gentoo-d3d83c6a06a57241395a389970cf2fb8495a36ba.tar.bz2
gentoo-d3d83c6a06a57241395a389970cf2fb8495a36ba.zip
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@gentoo.org>
Diffstat (limited to 'media-gfx/gimp')
-rw-r--r--media-gfx/gimp/gimp-2.10.38-r1.ebuild7
1 files 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