diff options
author | Wolfgang Müller | 2024-09-23 15:58:52 +0000 |
---|---|---|
committer | Wolfgang Müller | 2024-09-23 15:59:53 +0000 |
commit | 796a8881a9a440f3cf4231c1f679cec1eaa127c9 (patch) | |
tree | 2c19b0ef7690aed820eabdf9e03b782a64a91e76 /libc-musl/patches/net-voip | |
parent | fdbe032d640e42290e24b5a8a2f83c774e87dbd5 (diff) | |
download | portage-roles-796a8881a9a440f3cf4231c1f679cec1eaa127c9.tar.gz |
libc-musl: Fix compilation of net-voip/murmur
Reported for Gentoo at [1] but not yet fixed.
[1] https://bugs.gentoo.org/888960
Diffstat (limited to 'libc-musl/patches/net-voip')
-rw-r--r-- | libc-musl/patches/net-voip/murmur-1.5.634/crypto-get-locking-callback-fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libc-musl/patches/net-voip/murmur-1.5.634/crypto-get-locking-callback-fix.patch b/libc-musl/patches/net-voip/murmur-1.5.634/crypto-get-locking-callback-fix.patch new file mode 100644 index 0000000..ef20337 --- /dev/null +++ b/libc-musl/patches/net-voip/murmur-1.5.634/crypto-get-locking-callback-fix.patch @@ -0,0 +1,14 @@ +CRYPTO_get_locking_callback is defined as null in openssl +so this is always true, but it fails to compile on musl 1.2.3 +as casting from null to bool is invalid +--- a/src/SSL.cpp ++++ b/src/SSL.cpp +@@ -33,7 +33,7 @@ + // If we detect that no locking callback is configured, we + // have to set it up ourselves to allow multi-threaded use + // of OpenSSL. +- if (!CRYPTO_get_locking_callback()) { ++ if (true) { + SSLLocks::initialize(); + } + } |