pkgsrc/audio/csound5/patches/patch-ah
joerg 4ecb4314aa Add DragonFly support.
XXX The SCons usage sucks.
2006-05-29 19:44:24 +00:00

13 lines
617 B
Text

$NetBSD: patch-ah,v 1.2 2006/05/29 19:44:24 joerg 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__) || defined(__DragonFly__)
AEffect *main_plugin (audioMasterCallback audioMaster)
#else
AEffect *main(audioMasterCallback audioMaster)