sfizz: fix compilation with gcc 13
This commit is contained in:
parent
02266dc69e
commit
9db85f2719
2 changed files with 16 additions and 0 deletions
|
@ -40,6 +40,9 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
|
# Fix missing include
|
||||||
|
patches = [./gcc13.patch];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
cp ${catch2}/include/catch2/catch.hpp tests/catch2/catch.hpp
|
cp ${catch2}/include/catch2/catch.hpp tests/catch2/catch.hpp
|
||||||
|
|
||||||
|
|
13
pkgs/applications/audio/sfizz/gcc13.patch
Normal file
13
pkgs/applications/audio/sfizz/gcc13.patch
Normal 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>
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------
|
Loading…
Reference in a new issue