Skip to content

Commit

Permalink
Merge pull request #280951 from minijackson/fix-sfizz-gcc13
Browse files Browse the repository at this point in the history
sfizz: fix compilation with gcc 13
  • Loading branch information
NickCao authored Jan 16, 2024
2 parents 02dd222 + 9db85f2 commit fe87219
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 fe87219

Please sign in to comment.