summaryrefslogtreecommitdiff
path: root/audio/csound5/patches/patch-ah
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2006-05-21 22:46:22 +0000
committerben <ben@pkgsrc.org>2006-05-21 22:46:22 +0000
commit874858f5295687ad370c91a46cd11b8c70a2a398 (patch)
tree8ffa95e498386fc7bdcb77bd49bd66ca8715faf3 /audio/csound5/patches/patch-ah
parentfb7b7528fd27ccdfa61c8a19fe5b8a757ac52521 (diff)
downloadpkgsrc-874858f5295687ad370c91a46cd11b8c70a2a398.tar.gz
Initial import of csound5 version 5.01, a software synthesizer and
sequencer. Csound is a software synthesis package in the tradition of so-called music-N languages, among which the best-known is Music V. It consists of an orchestra- and score-driven executable, written in C for portability. Since Csound is a computational language, it is highly flexible and efficient; complexity is gained only at the expense of computation time. To do: - fix pthread issues in csound5 (is breaking realtime audio) - use options.mk framework for various modules - enable portaudio module (requires audio/portaudio-devel) - port portmidi to netbsd
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)