Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/openssl/files/, dev-libs/openssl/
Date: Tue, 25 Feb 2020 22:41:14
Message-Id: 1582670442.e3dec9bf2da04ace6b2e999ff779d117beb65e6e.mattst88@gentoo
1 commit: e3dec9bf2da04ace6b2e999ff779d117beb65e6e
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 25 22:37:15 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 25 22:40:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3dec9bf
7
8 dev-libs/openssl: Fix the build on alpha
9
10 Closes: https://bugs.gentoo.org/697840
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 ...sl-1.1.1d-config-Drop-linux-alpha-gcc-bwx.patch | 42 ++++++++++++++++++++++
14 dev-libs/openssl/openssl-1.1.1d-r3.ebuild | 1 +
15 2 files changed, 43 insertions(+)
16
17 diff --git a/dev-libs/openssl/files/openssl-1.1.1d-config-Drop-linux-alpha-gcc-bwx.patch b/dev-libs/openssl/files/openssl-1.1.1d-config-Drop-linux-alpha-gcc-bwx.patch
18 new file mode 100644
19 index 00000000000..3771684b251
20 --- /dev/null
21 +++ b/dev-libs/openssl/files/openssl-1.1.1d-config-Drop-linux-alpha-gcc-bwx.patch
22 @@ -0,0 +1,42 @@
23 +From 19ded1a717b6c72c3db241f06787a353f1190755 Mon Sep 17 00:00:00 2001
24 +From: Matt Turner <mattst88@×××××.com>
25 +Date: Tue, 18 Feb 2020 10:08:27 -0800
26 +Subject: [PATCH] config: Drop linux-alpha-gcc+bwx
27 +
28 +Its entry in Configuration/10-main.conf was dropped in commit
29 +7ead0c89185c ("Configure: fold related configurations more aggressively
30 +and clean-up.") probably because all but one of its bn_ops were removed
31 +(RC4_CHAR remained). Benchmarks on an Alpha EV7 indicate that RC4_INT is
32 +better than RC4_CHAR so rather than restoring the configuation, remove
33 +it from config.
34 +
35 +CLA: trivial
36 +Bug: https://bugs.gentoo.org/697840
37 +
38 +Reviewed-by: Paul Dale <paul.dale@××××××.com>
39 +Reviewed-by: Matt Caswell <matt@×××××××.org>
40 +Reviewed-by: Richard Levitte <levitte@×××××××.org>
41 +(Merged from https://github.com/openssl/openssl/pull/11130)
42 +---
43 + config | 5 +----
44 + 1 file changed, 1 insertion(+), 4 deletions(-)
45 +
46 +diff --git a/config b/config
47 +index 2213969f90..e39481ca2a 100755
48 +--- a/config
49 ++++ b/config
50 +@@ -498,10 +498,7 @@ case "$GUESSOS" in
51 + OUT="ios64-cross" ;;
52 + alpha-*-linux2)
53 + ISA=`awk '/cpu model/{print$4;exit(0);}' /proc/cpuinfo`
54 +- case ${ISA:-generic} in
55 +- *[678]) OUT="linux-alpha+bwx-$CC" ;;
56 +- *) OUT="linux-alpha-$CC" ;;
57 +- esac
58 ++ OUT="linux-alpha-$CC"
59 + if [ "$CC" = "gcc" ]; then
60 + case ${ISA:-generic} in
61 + EV5|EV45) __CNF_CFLAGS="$__CNF_CFLAGS -mcpu=ev5"
62 +--
63 +2.24.1
64 +
65
66 diff --git a/dev-libs/openssl/openssl-1.1.1d-r3.ebuild b/dev-libs/openssl/openssl-1.1.1d-r3.ebuild
67 index 8800d05fac7..97a1002fac7 100644
68 --- a/dev-libs/openssl/openssl-1.1.1d-r3.ebuild
69 +++ b/dev-libs/openssl/openssl-1.1.1d-r3.ebuild
70 @@ -50,6 +50,7 @@ PATCHES=(
71 "${FILESDIR}"/${P}-fix-zlib.patch
72 "${FILESDIR}"/${P}-fix-potential-memleaks-w-BN_to_ASN1_INTEGER.patch
73 "${FILESDIR}"/${P}-reenable-the-stitched-AES-CBC-HMAC-SHA-implementations.patch
74 + "${FILESDIR}"/${P}-config-Drop-linux-alpha-gcc-bwx.patch
75 )
76
77 S="${WORKDIR}/${MY_P}"