Release 1.5.735, Alpine 3.21 (#7)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

- Release 1.5.735
- Alpine 3.21

Reviewed-on: #7
Co-authored-by: skobkin <skobkin@proton.me>
Co-committed-by: skobkin <skobkin@proton.me>
This commit is contained in:
Alexey Skobkin 2024-12-08 17:42:05 +00:00 committed by Alexey Skobkin
parent 25e959143b
commit 27d493b83d
2 changed files with 3 additions and 21 deletions

View file

@ -1,6 +1,6 @@
FROM alpine:3.20 as builder
FROM alpine:3.21 as builder
ARG VERSION=1.5.634
ARG VERSION=1.5.735
LABEL \
org.label-schema.vendor="Alexey Skobkin - skobkin@proton.me" \
@ -31,21 +31,17 @@ RUN \
protobuf-dev \
qt5-qtbase-dev
COPY patches/implicit_bool_cast.patch /tmp/murmur/
RUN \
cd /tmp/murmur && \
mkdir build && \
cd build && \
# https://bugs.gentoo.org/863452 \
patch ../src/SSL.cpp < ../implicit_bool_cast.patch && \
# static build is currently unavailable
# see https://github.com/mumble-voip/mumble/issues/5693#issuecomment-1132069719
# -Dstatic=ON
cmake -Dclient=OFF -Ddbus=OFF -Dice=OFF -Dzeroconf=OFF -Dlto=ON .. && \
make -j $(nproc)
FROM alpine:3.20
FROM alpine:3.21
RUN \
apk update -q --no-cache && \

View file

@ -1,14 +0,0 @@
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();
}
}