Skip to content

Commit

Permalink
sfizz: fix compilation with gcc 13
Browse files Browse the repository at this point in the history
  • Loading branch information
minijackson committed Jan 14, 2024
1 parent 02266dc commit 9db85f2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/applications/audio/sfizz/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions pkgs/applications/audio/sfizz/gcc13.patch
Original file line number Diff line number Diff line change
@@ -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>

//------------------------------------------------------------------------

0 comments on commit 9db85f2

Please sign in to comment.