nixpkgs/pkgs/development/libraries/db
Randy Eckenrode 38018514e8
db: fix build with clang 16 on Darwin
Both `_spin_lock_try` and `_spin_unlock` are private and deprecated
APIs, which are not exported by any headers in the SDK. The build fails
because the configure script does not define the functions before
calling them, which is treated as error by clang 16.

This patch replaces use of those APIs with `os_unfair_lock`, which is
the recommended replacement per the deprecation messages.
2023-07-02 17:46:15 -04:00
..
clang-4.8.patch
clang-5.3.patch
clang-6.0.patch
CVE-2017-10140-4.8-cwd-db_config.patch
CVE-2017-10140-cwd-db_config.patch
darwin-mutexes-4.8.patch db: fix build with clang 16 on Darwin 2023-07-02 17:46:15 -04:00
darwin-mutexes.patch db: fix build with clang 16 on Darwin 2023-07-02 17:46:15 -04:00
db-4.8.nix db: fix build with clang 16 on Darwin 2023-07-02 17:46:15 -04:00
db-5.3.nix db: fix build with clang 16 on Darwin 2023-07-02 17:46:15 -04:00
db-6.0.nix db: fix build with clang 16 on Darwin 2023-07-02 17:46:15 -04:00
db-6.2.nix db: fix build with clang 16 on Darwin 2023-07-02 17:46:15 -04:00
generic.nix