summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2020-06-12 00:49:24 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-07-05 11:24:14 +0300
commit3490f9e410e06c62f18b746cffbdb5d079ee5439 (patch)
tree7c1419384553342c5e7cd57accfa3a7a57d9c2bb /media-gfx/gimp
parentmedia-gfx/gimp: 2.10.20 version bump (diff)
downloadgentoo-3490f9e410e06c62f18b746cffbdb5d079ee5439.tar.gz
gentoo-3490f9e410e06c62f18b746cffbdb5d079ee5439.tar.bz2
gentoo-3490f9e410e06c62f18b746cffbdb5d079ee5439.zip
media-gfx/gimp: fix gimp does not respect CC/CC_FOR_BUILD variable
This issue was reported for media-gfx/gimp-2.10.18-r1 and proposed patch is applied here for gimp-2.10.20 Closes: https://bugs.gentoo.org/726176 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/16199 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/gimp')
-rw-r--r--media-gfx/gimp/gimp-2.10.20.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-gfx/gimp/gimp-2.10.20.ebuild b/media-gfx/gimp/gimp-2.10.20.ebuild
index 0200a27872cf..9b52b5175a31 100644
--- a/media-gfx/gimp/gimp-2.10.20.ebuild
+++ b/media-gfx/gimp/gimp-2.10.20.ebuild
@@ -6,7 +6,7 @@ PYTHON_COMPAT=( python2_7 )
GNOME2_EAUTORECONF=yes
WANT_AUTOMAKE=
-inherit autotools gnome2 python-single-r1 virtualx
+inherit autotools gnome2 python-single-r1 toolchain-funcs virtualx
DESCRIPTION="GNU Image Manipulation Program"
HOMEPAGE="https://www.gimp.org/"
@@ -107,6 +107,8 @@ src_prepare() {
sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
+
+ export CC_FOR_BUILD="$(tc-getBUILD_CC)"
}
_adjust_sandbox() {