From fdfaea58be4ae2214b2ed1d4393e932a954726aa Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 9 Apr 2020 18:07:02 -0700 Subject: [PATCH] gimp: Disable vector icons generation on mips/arm for musl targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes errors like make[3]: *** [Makefile:2395: 24/document-print.svg] Segmentation fault (core dumped) make[3]: *** [Makefile:2395: 24/gimp-center.svg] Segmentation fault (core dumped) make[3]: *** [Makefile:2395: 24/media-optical.svg] Segmentation fault (core dumped) make[3]: *** [Makefile:2395: 24/gimp-channel-gray.svg] Segmentation fault (core dumped) make[3]: *** [Makefile:2395: 24/gimp-channel-blue.svg] Segmentation fault (core dumped) make[3]: *** [Makefile:2395: 24/gtk-select-color.svg] Segmentation fault (core dumped) make[3]: *** [Makefile:2395: 24/gimp-channel-alpha.svg] Segmentation fault (core dumped) make[3]: *** [Makefile:2395: 24/media-floppy.svg] Segmentation fault (core dumped) make[3]: *** [Makefile:2395: 24/gimp-business-card.svg] Segmentation fault (core dumped) make[3]: *** [Makefile:2395: 24/gimp-channel.svg] Segmentation fault (core dumped) make[3]: *** [Makefile:2395: 24/dialog-information.svg] Segmentation fault (core dumped) Signed-off-by: Khem Raj Cc: Andreas Müller --- meta-gnome/recipes-gimp/gimp/gimp_2.10.18.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-gnome/recipes-gimp/gimp/gimp_2.10.18.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.18.bb index 838bd374a1..b4431bf081 100644 --- a/meta-gnome/recipes-gimp/gimp/gimp_2.10.18.bb +++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.18.bb @@ -45,6 +45,9 @@ EXTRA_OECONF = "--disable-python \ --without-webkit \ --without-wmf" +EXTRA_OECONF_append_libc-musl_mipsarch = " --disable-vector-icons" +EXTRA_OECONF_append_libc-musl_arm = " --disable-vector-icons" + do_configure_append() { find ${B} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g find ${B} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g