From d2fd9c98de660deb8caf0b343302199f16c71551 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Sat, 12 Jan 2019 00:07:51 +0100 Subject: [PATCH] Patch to include proper VST2-headers --- debian/patches/debian_vst.patch | 38 +++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 39 insertions(+) create mode 100644 debian/patches/debian_vst.patch diff --git a/debian/patches/debian_vst.patch b/debian/patches/debian_vst.patch new file mode 100644 index 00000000..6671b6d2 --- /dev/null +++ b/debian/patches/debian_vst.patch @@ -0,0 +1,38 @@ +Description: provide missing VST2 replacement header + backprted from the original JUCE-5.3.1 header +Author: IOhannes m zmölnig +Last-Update: 2019-01-12 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- juce.orig/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp ++++ juce/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +@@ -92,8 +92,7 @@ + // field in the Projucer. The VST2 SDK can be obtained from the + // vstsdk3610_11_06_2018_build_37 (or older) VST3 SDK or JUCE version 5.3.2. You + // also need a VST2 license from Steinberg to distribute VST2 plug-ins. +-#include "pluginterfaces/vst2.x/aeffect.h" +-#include "pluginterfaces/vst2.x/aeffectx.h" ++#include "../../juce_audio_processors/format_types/juce_VSTInterface.h" + } + + using namespace juce; +--- juce.orig/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp ++++ juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +@@ -37,7 +37,6 @@ + #endif + + #define VST_FORCE_DEPRECATED 0 +-#define JUCE_VSTINTERFACE_H_INCLUDED 1 + + namespace Vst2 + { +@@ -46,8 +45,7 @@ + // paths or use the "VST (Legacy) SDK Folder" field in the Projucer. The VST2 + // SDK can be obtained from the vstsdk3610_11_06_2018_build_37 (or older) VST3 + // SDK or JUCE version 5.3.2. +-#include +-#include ++#include "../../juce_audio_processors/format_types/juce_VSTInterface.h" + } + + #include "juce_VSTCommon.h" diff --git a/debian/patches/series b/debian/patches/series index 7e16e095..114e30a0 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ debian_no-usagedata.patch debian_system_modules.patch debian_python3.patch debian_unittests_globalpaths.patch +debian_vst.patch -- 2.30.2