diff options
author | Nick Cao <nickcao@nichi.co> | 2024-01-13 10:26:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-13 10:26:50 -0500 |
commit | 7c7a1b2804294e17093b849951a1ac6b96660be0 (patch) | |
tree | 96bc70e12ee34c970f5fd068e3175f30192b0959 /pkgs/applications/audio | |
parent | adf391feed6d4c3cf04e174ccf443db5e41b2607 (diff) | |
parent | 0a9221a0c771c24144f3b6d27792519e29c3166c (diff) |
Merge pull request #280618 from jansol/vsti-gcc13-fixes
surge-xt, zynaddsubfx: fix build
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/surge-XT/default.nix | 5 | ||||
-rw-r--r-- | pkgs/applications/audio/zynaddsubfx/default.nix | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/audio/surge-XT/default.nix b/pkgs/applications/audio/surge-XT/default.nix index 7c36c190128dc..ccd5ad12c0e87 100644 --- a/pkgs/applications/audio/surge-XT/default.nix +++ b/pkgs/applications/audio/surge-XT/default.nix @@ -71,6 +71,11 @@ stdenv.mkDerivation rec { "-DSURGE_JUCE_PATH=${juce-lv2}" ]; + CXXFLAGS = [ + # GCC 13: error: 'uint32_t' has not been declared + "-include cstdint" + ]; + # JUCE dlopen's these at runtime, crashes without them NIX_LDFLAGS = (toString [ "-lX11" diff --git a/pkgs/applications/audio/zynaddsubfx/default.nix b/pkgs/applications/audio/zynaddsubfx/default.nix index 2c8ecfd199e07..0060e8d4c7f49 100644 --- a/pkgs/applications/audio/zynaddsubfx/default.nix +++ b/pkgs/applications/audio/zynaddsubfx/default.nix @@ -94,6 +94,11 @@ in stdenv.mkDerivation rec { # Find FLTK without requiring an OpenGL library in buildInputs ++ lib.optional (guiModule == "fltk") "-DFLTK_SKIP_OPENGL=ON"; + CXXFLAGS = [ + # GCC 13: error: 'uint8_t' does not name a type + "-include cstdint" + ]; + doCheck = true; nativeCheckInputs = [ cxxtest ruby ]; |