Merge pull request #280618 from jansol/vsti-gcc13-fixes
surge-xt, zynaddsubfx: fix build
This commit is contained in:
commit
7c7a1b2804
2 changed files with 10 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue