media-libs/gegl: Fix 0.4.18 for arches unlike amd64/ppc/ppc64/x86
authorSebastian Pipping <sping@gentoo.org>
Mon, 28 Oct 2019 12:52:47 +0000 (13:52 +0100)
committerSebastian Pipping <sping@gentoo.org>
Mon, 28 Oct 2019 12:53:00 +0000 (13:53 +0100)
Closes: https://bugs.gentoo.org/698744
Thanks to Jeroen Roovers for the patch!
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.78, Repoman-2.3.16

media-libs/gegl/files/gegl-0.4.18-arch.patch [new file with mode: 0644]
media-libs/gegl/gegl-0.4.18.ebuild

diff --git a/media-libs/gegl/files/gegl-0.4.18-arch.patch b/media-libs/gegl/files/gegl-0.4.18-arch.patch
new file mode 100644 (file)
index 0000000..57bfaf4
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/meson.build
++++ b/meson.build
+@@ -88,8 +88,6 @@
+   have_ppc = true
+   config.set10('ARCH_PPC',    true)
+   config.set10('ARCH_PPC64',  true)
+-else
+-  error('Unknown host architecture')
+ endif
+ ################################################################################
index 9083a3b08f6870a4dc09b1a4e1f35c6edd103f0c..06defec21a42bd57449a8d34cbf61e2917b60abf 100644 (file)
@@ -80,6 +80,7 @@ DOCS=( AUTHORS docs/ChangeLog docs/NEWS.txt )
 PATCHES=(
        "${FILESDIR}"/${PN}-0.4.18-drop-failing-tests.patch
        "${FILESDIR}"/${PN}-0.4.18-program-suffix.patch
+       "${FILESDIR}"/${PN}-0.4.18-arch.patch
 )
 
 pkg_setup() {