summaryrefslogtreecommitdiff
path: root/audio/csound5/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'audio/csound5/patches/patch-ah')
-rw-r--r--audio/csound5/patches/patch-ah13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/csound5/patches/patch-ah b/audio/csound5/patches/patch-ah
new file mode 100644
index 00000000000..b6685d3eee1
--- /dev/null
+++ b/audio/csound5/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1.1.1 2006/05/21 22:46:22 ben Exp $
+
+--- frontends/CsoundVST/CsoundVSTMain.cpp.orig 2005-09-02 07:30:33.000000000 -0700
++++ frontends/CsoundVST/CsoundVSTMain.cpp
+@@ -36,7 +36,7 @@ bool oome = false;
+ #if defined(__GNUC__) && defined(WIN32)
+ #define main main_plugin
+ extern "C" __declspec(dllexport) AEffect *main_plugin (audioMasterCallback audioMaster)
+-#elif defined(LINUX) || defined(MACOSX)
++#elif defined(LINUX) || defined(MACOSX) || defined(__NetBSD__)
+ AEffect *main_plugin (audioMasterCallback audioMaster)
+ #else
+ AEffect *main(audioMasterCallback audioMaster)