commit: 41ae34772cb4a7263768885643906959f584702a Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> AuthorDate: Sun Jan 6 20:10:18 2019 +0000 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> CommitDate: Sun Jan 6 20:10:46 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ae3477
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 <alonbl <AT> gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-libs/botan/botan-2.8.0.ebuild | 6 +++++- dev-libs/botan/files/botan-2.8.0-build.patch | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.8.0.ebuild b/dev-libs/botan/botan-2.8.0.ebuild index f64ebf1a8fe..4f995a89686 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 00000000000..04755a0381a --- /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 <sh...@anastas.io> +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 + + <aliases> + powerpc64 ++powerpc64le + ppc64le + ppc64el + </aliases>