nixpkgs/pkgs/development/libraries/libliftoff
Sergei Trofimovich 72b09cfd89 libliftoff_0_4: backport gcc-14 build fix
Without the change `gcc-14` build fails as:

    $ nix build --impure --expr 'with import ./. {}; libliftoff_0_4.override { stdenv = gcc14Stdenv; }'
    ...
    libliftoff> ../layer.c: In function 'liftoff_layer_create':
    libliftoff> ../layer.c:20:48: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
    libliftoff>    20 |         layer->candidate_planes = calloc(sizeof(layer->candidate_planes[0]),
    libliftoff>       |                                                ^
2024-07-30 19:36:12 +01:00
..
default.nix libliftoff_0_4: backport gcc-14 build fix 2024-07-30 19:36:12 +01:00
generic.nix libliftoff_0_4: backport gcc-14 build fix 2024-07-30 19:36:12 +01:00