sfizz: fix compilation with gcc 13

This commit is contained in:
Minijackson 2024-01-14 15:54:44 +01:00
parent 02266dc69e
commit 9db85f2719
No known key found for this signature in database
GPG key ID: FEA888C9F5D64F62
2 changed files with 16 additions and 0 deletions

View file

@ -40,6 +40,9 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ cmake pkg-config ];
# Fix missing include
patches = [./gcc13.patch];
postPatch = ''
cp ${catch2}/include/catch2/catch.hpp tests/catch2/catch.hpp

View file

@ -0,0 +1,13 @@
Submodule plugins/vst/external/VST_SDK/VST3_SDK/public.sdk contains modified content
diff --git a/plugins/vst/external/VST_SDK/VST3_SDK/public.sdk/source/vst/utility/stringconvert.h b/plugins/vst/external/VST_SDK/VST3_SDK/public.sdk/source/vst/utility/stringconvert.h
index ff910aa..f15ae78 100644
--- a/plugins/vst/external/VST_SDK/VST3_SDK/public.sdk/source/vst/utility/stringconvert.h
+++ b/plugins/vst/external/VST_SDK/VST3_SDK/public.sdk/source/vst/utility/stringconvert.h
@@ -37,6 +37,7 @@
#pragma once
#include "pluginterfaces/vst/vsttypes.h"
+#include <cstdint>
#include <string>
//------------------------------------------------------------------------