1 |
commit: 11ef57b76df54b68f0f14cbfe395714f01c3c61c |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 5 00:04:12 2022 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 5 00:07:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11ef57b7 |
7 |
|
8 |
media-sound/umurmur: Fixed build against openssl-3 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/806154 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
media-sound/umurmur/files/umurmur-0.2.20-openssl3.patch | 11 +++++++++++ |
14 |
media-sound/umurmur/umurmur-0.2.20.ebuild | 6 +++++- |
15 |
2 files changed, 16 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/media-sound/umurmur/files/umurmur-0.2.20-openssl3.patch b/media-sound/umurmur/files/umurmur-0.2.20-openssl3.patch |
18 |
new file mode 100644 |
19 |
index 000000000000..ad7cc1177874 |
20 |
--- /dev/null |
21 |
+++ b/media-sound/umurmur/files/umurmur-0.2.20-openssl3.patch |
22 |
@@ -0,0 +1,11 @@ |
23 |
+--- umurmur-0.2.20/src/ssli_openssl.c |
24 |
++++ umurmur-0.2.20/src/ssli_openssl.c |
25 |
+@@ -142,8 +142,6 @@ |
26 |
+ |
27 |
+ Log_info("Generating new server certificate."); |
28 |
+ |
29 |
+- CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON); |
30 |
+- |
31 |
+ x509 = X509_new(); |
32 |
+ if (!x509) |
33 |
+ goto err_out; |
34 |
|
35 |
diff --git a/media-sound/umurmur/umurmur-0.2.20.ebuild b/media-sound/umurmur/umurmur-0.2.20.ebuild |
36 |
index ca21485b1db5..677e6fa4f97a 100644 |
37 |
--- a/media-sound/umurmur/umurmur-0.2.20.ebuild |
38 |
+++ b/media-sound/umurmur/umurmur-0.2.20.ebuild |
39 |
@@ -1,4 +1,4 @@ |
40 |
-# Copyright 1999-2021 Gentoo Authors |
41 |
+# Copyright 1999-2022 Gentoo Authors |
42 |
# Distributed under the terms of the GNU General Public License v2 |
43 |
|
44 |
EAPI=7 |
45 |
@@ -41,6 +41,10 @@ DOC_CONTENTS=" |
46 |
may want to review it. See also\n |
47 |
https://github.com/umurmur/umurmur/wiki/Configuration " |
48 |
|
49 |
+PATCHES=( |
50 |
+ "${FILESDIR}/${PN}-0.2.20-openssl3.patch" #806154 |
51 |
+) |
52 |
+ |
53 |
S="${WORKDIR}/${P/_}" |
54 |
|
55 |
get_ssl_impl() { |