1 |
commit: 41ae34772cb4a7263768885643906959f584702a |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 6 20:10:18 2019 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 6 20:10:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ae3477 |
7 |
|
8 |
dev-libs/botan: fix powerpc64le build |
9 |
|
10 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=674128 |
11 |
Thanks: Shawn Anastasio |
12 |
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org> |
13 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
14 |
|
15 |
dev-libs/botan/botan-2.8.0.ebuild | 6 +++++- |
16 |
dev-libs/botan/files/botan-2.8.0-build.patch | 22 ++++++++++++++++++++++ |
17 |
2 files changed, 27 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/dev-libs/botan/botan-2.8.0.ebuild b/dev-libs/botan/botan-2.8.0.ebuild |
20 |
index f64ebf1a8fe..4f995a89686 100644 |
21 |
--- a/dev-libs/botan/botan-2.8.0.ebuild |
22 |
+++ b/dev-libs/botan/botan-2.8.0.ebuild |
23 |
@@ -1,4 +1,4 @@ |
24 |
-# Copyright 1999-2018 Gentoo Authors |
25 |
+# Copyright 1999-2019 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI=7 |
29 |
@@ -34,6 +34,10 @@ RDEPEND="${DEPEND} |
30 |
BDEPEND="dev-lang/python:* |
31 |
doc? ( dev-python/sphinx )" |
32 |
|
33 |
+PATCHES=( |
34 |
+ "${FILESDIR}/${P}-build.patch" |
35 |
+) |
36 |
+ |
37 |
src_configure() { |
38 |
local disable_modules=() |
39 |
use boost || disable_modules+=( "boost" ) |
40 |
|
41 |
diff --git a/dev-libs/botan/files/botan-2.8.0-build.patch b/dev-libs/botan/files/botan-2.8.0-build.patch |
42 |
new file mode 100644 |
43 |
index 00000000000..04755a0381a |
44 |
--- /dev/null |
45 |
+++ b/dev-libs/botan/files/botan-2.8.0-build.patch |
46 |
@@ -0,0 +1,22 @@ |
47 |
+From 813b7230735960f3e5225f1f74ca680c9ea84101 Mon Sep 17 00:00:00 2001 |
48 |
+From: Shawn Anastasio <shawn@×××××××.io> |
49 |
+Date: Sun, 30 Dec 2018 14:49:43 -0600 |
50 |
+Subject: [PATCH] Add powerpc64le as an alias for ppc64 |
51 |
+ |
52 |
+Add powerpc64le as an alias for the ppc64 build target. |
53 |
+--- |
54 |
+ src/build-data/arch/ppc64.txt | 1 + |
55 |
+ 1 file changed, 1 insertion(+) |
56 |
+ |
57 |
+diff --git a/src/build-data/arch/ppc64.txt b/src/build-data/arch/ppc64.txt |
58 |
+index 9ab7cccded..23d3bb2a10 100644 |
59 |
+--- a/src/build-data/arch/ppc64.txt |
60 |
++++ b/src/build-data/arch/ppc64.txt |
61 |
+@@ -5,6 +5,7 @@ wordsize 64 |
62 |
+ |
63 |
+ <aliases> |
64 |
+ powerpc64 |
65 |
++powerpc64le |
66 |
+ ppc64le |
67 |
+ ppc64el |
68 |
+ </aliases> |