Commit Graph

12 Commits

Author SHA1 Message Date
Vladimír Čunát
6e1fd32078 db4, db5, db6*: fixup build on darwin by older autoconf
https://hydra.nixos.org/build/325898125/nixlog/2/tail
Same situation as in commit 8ab9645b5a
2026-04-18 08:45:49 +02:00
Fabián Heredia Montiel
4e7384feb2 db{48,53,60,62}: get gentoo patch for gcc15 and Wno-error=incompatible-pointer-types 2025-12-01 11:29:10 -06:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Jussi Kuokkanen
82b45bf454 treewide: remove licenses.agpl3 2024-03-21 18:09:24 +02:00
Simon Hollingshead
0520a00194 db62: 6.2.23 -> 6.2.32 2024-01-20 04:43:01 +00:00
Randy Eckenrode
a76023f256 db: make patches and autoreconfHook unconditional 2023-07-07 08:39:42 -06:00
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
Randy Eckenrode
6302ba07e3 db: fix build with clang 16
The configure scripts frequently use `main` returning an implicit `int`,
which causes spurious failures when CC is clang 16+. This is fixed by
patching the provided macros and regenerating the scripts with
autoreconfHook, though it requires some manual processing (see below).

The upstream `configure.ac` is written in such a way that it requires
fixups and post-processing.

* Fixups are required because the original build process just cats the
  macros together into one file. When `aclocal` is run, it does not pick
  up all of them. This is worked around by catting the missing macros to
  a file that is picked up by autoreconfHook.
* Post-processing is required to populate the version information. This
  is done in a subshell to avoid polluting the environment with the
  contents of `RELEASE`. Otherwise, the build will fail because the
  version C macros it expects will not be defined.
2023-07-02 17:46:14 -04:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Franz Pletz
5072f4792e db{48,53,60,62}: add patch to fix CVE-2017-10140 2017-10-24 13:20:37 +02:00
rht
fef784d09f zcash: reinit at 1.0.8 2017-06-28 03:26:30 +02:00