pkgsrc/audio/csound5/patches/patch-ad
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

23 lines
960 B
Text

$NetBSD: patch-ad,v 1.3 2014/02/13 10:10:06 mrg Exp $
--- Top/csound.c.orig 2013-01-07 04:49:34.000000000 -0800
+++ Top/csound.c 2014-02-12 20:35:00.000000000 -0800
@@ -765,7 +765,8 @@
#if defined(ANDROID) || (!defined(LINUX) && !defined(SGI) && \
!defined(__HAIKU__) && !defined(__BEOS__) && \
- !defined(__MACH__))
+ !defined(__MACH__) && !defined(__NetBSD__) && \
+ !defined(__DragonFly__))
static char *signal_to_string(int sig)
{
switch (sig) {
@@ -918,7 +919,7 @@
}
static const int sigs[] = {
-#if defined(LINUX) || defined(SGI) || defined(sol) || defined(__MACH__)
+#if defined(LINUX) || defined(SGI) || defined(sol) || defined(__MACH__) || defined(__NetBSD__) || defined(__DragonFly__)
SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGIOT, SIGBUS,
SIGFPE, SIGSEGV, SIGPIPE, SIGTERM, SIGXCPU, SIGXFSZ,
#elif defined(WIN32)