From: Alon Bar-Lev Date: Sun, 6 Jan 2019 20:10:18 +0000 (+0200) Subject: dev-libs/botan: fix powerpc64le build X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=41ae34772cb4a7263768885643906959f584702a;p=gentoo.git dev-libs/botan: fix powerpc64le build Closes: https://bugs.gentoo.org/show_bug.cgi?id=674128 Thanks: Shawn Anastasio Signed-off-by: Alon Bar-Lev Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- diff --git a/dev-libs/botan/botan-2.8.0.ebuild b/dev-libs/botan/botan-2.8.0.ebuild index f64ebf1a8fe6..4f995a89686a 100644 --- a/dev-libs/botan/botan-2.8.0.ebuild +++ b/dev-libs/botan/botan-2.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -34,6 +34,10 @@ RDEPEND="${DEPEND} BDEPEND="dev-lang/python:* doc? ( dev-python/sphinx )" +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) + src_configure() { local disable_modules=() use boost || disable_modules+=( "boost" ) diff --git a/dev-libs/botan/files/botan-2.8.0-build.patch b/dev-libs/botan/files/botan-2.8.0-build.patch new file mode 100644 index 000000000000..04755a0381ac --- /dev/null +++ b/dev-libs/botan/files/botan-2.8.0-build.patch @@ -0,0 +1,22 @@ +From 813b7230735960f3e5225f1f74ca680c9ea84101 Mon Sep 17 00:00:00 2001 +From: Shawn Anastasio +Date: Sun, 30 Dec 2018 14:49:43 -0600 +Subject: [PATCH] Add powerpc64le as an alias for ppc64 + +Add powerpc64le as an alias for the ppc64 build target. +--- + src/build-data/arch/ppc64.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/build-data/arch/ppc64.txt b/src/build-data/arch/ppc64.txt +index 9ab7cccded..23d3bb2a10 100644 +--- a/src/build-data/arch/ppc64.txt ++++ b/src/build-data/arch/ppc64.txt +@@ -5,6 +5,7 @@ wordsize 64 + + + powerpc64 ++powerpc64le + ppc64le + ppc64el +