diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2024-02-11 12:40:53 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2024-02-11 12:40:53 +0000 |
commit | 8965393f1f2466acb893ecbda42298ec0c10784e (patch) | |
tree | 62aa0b0a1f200b14d2facbf0ede7bf4e5b122882 /pkgs/applications/audio | |
parent | 9002908215ae609210c2168494b387ff5728220a (diff) | |
download | nixlib-8965393f1f2466acb893ecbda42298ec0c10784e.tar nixlib-8965393f1f2466acb893ecbda42298ec0c10784e.tar.gz nixlib-8965393f1f2466acb893ecbda42298ec0c10784e.tar.bz2 nixlib-8965393f1f2466acb893ecbda42298ec0c10784e.tar.lz nixlib-8965393f1f2466acb893ecbda42298ec0c10784e.tar.xz nixlib-8965393f1f2466acb893ecbda42298ec0c10784e.tar.zst nixlib-8965393f1f2466acb893ecbda42298ec0c10784e.zip |
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; | ^~~~~~~~
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/zrythm/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/audio/zrythm/default.nix b/pkgs/applications/audio/zrythm/default.nix index 4817f63adf73..254e0e5b746d 100644 --- a/pkgs/applications/audio/zrythm/default.nix +++ b/pkgs/applications/audio/zrythm/default.nix @@ -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; |