Patch to include proper VST2-headers
authorIOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at>
Fri, 11 Jan 2019 23:07:51 +0000 (00:07 +0100)
committerIOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at>
Fri, 11 Jan 2019 23:07:51 +0000 (00:07 +0100)
debian/patches/debian_vst.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/debian_vst.patch b/debian/patches/debian_vst.patch
new file mode 100644 (file)
index 0000000..6671b6d
--- /dev/null
@@ -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\r
+ // vstsdk3610_11_06_2018_build_37 (or older) VST3 SDK or JUCE version 5.3.2. You\r
+ // also need a VST2 license from Steinberg to distribute VST2 plug-ins.\r
+-#include "pluginterfaces/vst2.x/aeffect.h"\r
+-#include "pluginterfaces/vst2.x/aeffectx.h"\r
++#include "../../juce_audio_processors/format_types/juce_VSTInterface.h"\r
+ }\r
\r
+ using namespace juce;\r
+--- 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\r
\r
+ #define VST_FORCE_DEPRECATED 0\r
+-#define JUCE_VSTINTERFACE_H_INCLUDED 1\r
\r
+ namespace Vst2\r
+ {\r
+@@ -46,8 +45,7 @@
+ // paths or use the "VST (Legacy) SDK Folder" field in the Projucer. The VST2\r
+ // SDK can be obtained from the vstsdk3610_11_06_2018_build_37 (or older) VST3\r
+ // SDK or JUCE version 5.3.2.\r
+-#include <pluginterfaces/vst2.x/aeffect.h>\r
+-#include <pluginterfaces/vst2.x/aeffectx.h>\r
++#include "../../juce_audio_processors/format_types/juce_VSTInterface.h"\r
+ }\r
\r
+ #include "juce_VSTCommon.h"\r
index 7e16e0959b66cf96584bad57bdcd2567dfeebd3f..114e30a035663de00969c82b88d5f72e56d05517 100644 (file)
@@ -7,3 +7,4 @@ debian_no-usagedata.patch
 debian_system_modules.patch
 debian_python3.patch
 debian_unittests_globalpaths.patch
+debian_vst.patch