pkgsrc/audio/csound5/patches/patch-ah
mrg 8aa01e7430 update to Csound 5.19.01. changes to the distro include:
- many new opcodes
- many opcodes have fixes
- a few new API functions (now at 2.1)
- general bug fixes
- support for MusicXML v2 files
- new parser

port-forward most of the netbsd/dfbsd changes.  some are obsolete now.
2014-02-13 10:10:06 +00:00

13 lines
652 B
Text

$NetBSD: patch-ah,v 1.3 2014/02/13 10:10:06 mrg Exp $
+++ frontends/CsoundVST/ScoreGeneratorVstMain.cpp.orig 2013-01-07 04:49:35.000000000 -0800
--- frontends/CsoundVST/ScoreGeneratorVstMain.cpp 2014-02-12 20:42:30.000000000 -0800
@@ -42,7 +42,7 @@
#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)