zrythm: fix gcc-13 build failure

Without the change the build fails on `master` as
https://hydra.nixos.org/build/249149391:

    ../data/plugins/generated/compressor.lv2/compressor.cpp
    ../data/plugins/generated/compressor.lv2/compressor.cpp:351:9: error: 'intptr_t' does not name a type
      351 |         intptr_t fpsr = 0;
          |         ^~~~~~~~
This commit is contained in:
Sergei Trofimovich 2024-02-11 12:40:53 +00:00
parent 9002908215
commit 8965393f1f

View file

@ -2,6 +2,7 @@
, lib
, fetchFromGitHub
, fetchFromSourcehut
, fetchpatch
, SDL2
, alsa-lib
, appstream
@ -170,6 +171,15 @@ stdenv.mkDerivation rec {
zstd
];
patches = [
# Fix gcc-13 build failure
(fetchpatch {
name = "gcc-13.patch";
url = "https://gitlab.zrythm.org/zrythm/zrythm/-/commit/cbc2b3715b939718479631841f2d9703fb28e6da.diff";
hash = "sha256-2ZTSaCtSO3yynJVFe5B1AEjWhjRa5YyA26ergAfdL5Y=";
})
];
# Zrythm uses meson to build, but requires cmake for dependency detection.
dontUseCmakeConfigure = true;