diff options
Diffstat (limited to 'community/mumble/musl-1.2.3.patch')
-rw-r--r-- | community/mumble/musl-1.2.3.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/mumble/musl-1.2.3.patch b/community/mumble/musl-1.2.3.patch new file mode 100644 index 00000000000..ef203379bf0 --- /dev/null +++ b/community/mumble/musl-1.2.3.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(); + } + } |