summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2022-03-05 01:04:12 +0100
committerLars Wendler <polynomial-c@gentoo.org>2022-03-05 01:07:45 +0100
commit11ef57b76df54b68f0f14cbfe395714f01c3c61c (patch)
tree27b39d7e3418906ea4c43c38b0fbb1bcea34b018 /media-sound
parentdev-python/terminado: Stabilize 0.13.1 ppc64, #834229 (diff)
downloadgentoo-11ef57b76df54b68f0f14cbfe395714f01c3c61c.tar.gz
gentoo-11ef57b76df54b68f0f14cbfe395714f01c3c61c.tar.bz2
gentoo-11ef57b76df54b68f0f14cbfe395714f01c3c61c.zip
media-sound/umurmur: Fixed build against openssl-3
Closes: https://bugs.gentoo.org/806154 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/umurmur/files/umurmur-0.2.20-openssl3.patch11
-rw-r--r--media-sound/umurmur/umurmur-0.2.20.ebuild6
2 files changed, 16 insertions, 1 deletions
diff --git a/media-sound/umurmur/files/umurmur-0.2.20-openssl3.patch b/media-sound/umurmur/files/umurmur-0.2.20-openssl3.patch
new file mode 100644
index 000000000000..ad7cc1177874
--- /dev/null
+++ b/media-sound/umurmur/files/umurmur-0.2.20-openssl3.patch
@@ -0,0 +1,11 @@
+--- umurmur-0.2.20/src/ssli_openssl.c
++++ umurmur-0.2.20/src/ssli_openssl.c
+@@ -142,8 +142,6 @@
+
+ Log_info("Generating new server certificate.");
+
+- CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
+-
+ x509 = X509_new();
+ if (!x509)
+ goto err_out;
diff --git a/media-sound/umurmur/umurmur-0.2.20.ebuild b/media-sound/umurmur/umurmur-0.2.20.ebuild
index ca21485b1db5..677e6fa4f97a 100644
--- a/media-sound/umurmur/umurmur-0.2.20.ebuild
+++ b/media-sound/umurmur/umurmur-0.2.20.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -41,6 +41,10 @@ DOC_CONTENTS="
may want to review it. See also\n
https://github.com/umurmur/umurmur/wiki/Configuration "
+PATCHES=(
+ "${FILESDIR}/${PN}-0.2.20-openssl3.patch" #806154
+)
+
S="${WORKDIR}/${P/_}"
get_ssl_impl() {