summaryrefslogtreecommitdiff
path: root/audio/csound5/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'audio/csound5/patches/patch-af')
-rw-r--r--audio/csound5/patches/patch-af8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/csound5/patches/patch-af b/audio/csound5/patches/patch-af
index ece8db801a7..e5c6cba76e7 100644
--- a/audio/csound5/patches/patch-af
+++ b/audio/csound5/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.1.1.1 2006/05/21 22:46:22 ben Exp $
+$NetBSD: patch-af,v 1.2 2006/05/29 19:44:24 joerg Exp $
--- Engine/namedins.c.orig 2006-03-11 08:30:35.000000000 -0800
+++ Engine/namedins.c
@@ -7,7 +7,7 @@ $NetBSD: patch-af,v 1.1.1.1 2006/05/21 22:46:22 ben Exp $
int csoundCheckOpcodePluginFile(CSOUND *csound, const char *fname)
{
-#if !(defined(LINUX) || defined(__unix__) || defined(__MACH__))
-+#if !(defined(LINUX) || defined(__unix__) || defined(__MACH__) || defined(__NetBSD__))
++#if !(defined(LINUX) || defined(__unix__) || defined(__MACH__) || defined(__NetBSD__) || defined(__DragonFly__))
char buf[512];
size_t i;
#endif
@@ -16,7 +16,7 @@ $NetBSD: patch-af,v 1.1.1.1 2006/05/21 22:46:22 ben Exp $
if (fname == NULL || fname[0] == (char) 0)
return 0;
-#if !(defined(LINUX) || defined(__unix__) || defined(__MACH__))
-+#if !(defined(LINUX) || defined(__unix__) || defined(__MACH__) || defined(__NetBSD__))
++#if !(defined(LINUX) || defined(__unix__) || defined(__MACH__) || defined(__NetBSD__) || defined(__DragonFly__))
/* on some platforms, file names are case insensitive */
i = (size_t) 0;
do {
@@ -25,7 +25,7 @@ $NetBSD: patch-af,v 1.1.1.1 2006/05/21 22:46:22 ben Exp $
opcodeCnt++;
}
-#if !(defined(LINUX) || defined(__unix__) || defined(__MACH__))
-+#if !(defined(LINUX) || defined(__unix__) || defined(__MACH__) || defined(__NetBSD__))
++#if !(defined(LINUX) || defined(__unix__) || defined(__MACH__) || defined(__NetBSD__) || defined(__DragonFly__))
else {
size_t j;
/* on some platforms, file names are case insensitive */