zynaddsubfx: fix build with GCC 13

This commit is contained in:
Jan Solanti 2024-01-13 00:21:54 +02:00
parent 905e546fe1
commit 5746f26d7a

View File

@ -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 ];