commit:     0dad3fcc89c87910dc254c00f5c7646b31e69454
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 28 12:52:47 2019 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Oct 28 12:53:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dad3fcc

media-libs/gegl: Fix 0.4.18 for arches unlike amd64/ppc/ppc64/x86

Closes: https://bugs.gentoo.org/698744
Thanks to Jeroen Roovers for the patch!
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.78, Repoman-2.3.16

 media-libs/gegl/files/gegl-0.4.18-arch.patch | 11 +++++++++++
 media-libs/gegl/gegl-0.4.18.ebuild           |  1 +
 2 files changed, 12 insertions(+)

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
index 00000000000..57bfaf4a6c7
--- /dev/null
+++ b/media-libs/gegl/files/gegl-0.4.18-arch.patch
@@ -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
+ 
+ 
################################################################################

diff --git a/media-libs/gegl/gegl-0.4.18.ebuild 
b/media-libs/gegl/gegl-0.4.18.ebuild
index 9083a3b08f6..06defec21a4 100644
--- a/media-libs/gegl/gegl-0.4.18.ebuild
+++ b/media-libs/gegl/gegl-0.4.18.ebuild
@@ -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() {

Reply via email to