mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-04 11:50:01 +00:00
OpenSSL 3.0+ already gates ASYNC_POSIX on _POSIX_VERSION < 200809L ||
defined(__GLIBC__) (later also || defined(__FreeBSD__)), and OpenSSL
4.0+ merged async_posix.h into crypto/async/async_local.h with the
same guard. Since musl defines _POSIX_VERSION as 200809L, ASYNC_POSIX
is already disabled on musl without this substituteInPlace workaround,
which broke OpenSSL 4.x builds when crypto/async/arch/async_posix.h was
removed.
(cherry picked from commit 454d558ac8)