diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/csound5/patches/patch-Opcodes_cpumeter.c | 15 | ||||
-rw-r--r-- | audio/csound5/patches/patch-custom.py.mkg | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/audio/csound5/patches/patch-Opcodes_cpumeter.c b/audio/csound5/patches/patch-Opcodes_cpumeter.c new file mode 100644 index 00000000000..d9683093041 --- /dev/null +++ b/audio/csound5/patches/patch-Opcodes_cpumeter.c @@ -0,0 +1,15 @@ +$NetBSD: patch-Opcodes_cpumeter.c,v 1.1 2014/02/13 12:44:47 mrg Exp $ + +be best to patch this to use eg, getloadavg() or something not /proc. + +--- Opcodes/cpumeter.c.orig 2013-01-07 04:49:34.000000000 -0800 ++++ Opcodes/cpumeter.c 2014-02-12 22:31:00.000000000 -0800 +@@ -16,7 +16,7 @@ + * + */ + +-#if defined(__MACH__) || defined(LINUX) || defined(__HAIKU__) ++#if defined(__MACH__) || defined(LINUX) || defined(__HAIKU__) || defined(__NetBSD__) || defined(__DragonFly__) + + #include "csoundCore.h" + #include <sys/resource.h> diff --git a/audio/csound5/patches/patch-custom.py.mkg b/audio/csound5/patches/patch-custom.py.mkg new file mode 100644 index 00000000000..0221dd3441d --- /dev/null +++ b/audio/csound5/patches/patch-custom.py.mkg @@ -0,0 +1,15 @@ +$NetBSD: patch-custom.py.mkg,v 1.1 2014/02/13 12:44:47 mrg Exp $ + +--- custom.py.mkg.orig 2013-01-07 04:49:34.000000000 -0800 ++++ custom.py.mkg 2014-02-12 22:49:53.000000000 -0800 +@@ -25,6 +25,10 @@ + customCPPPATH.append('/opt/local/include/boost-1_32/') + customCPPPATH.append('/usr/include/python2.3') + customCXXFLAGS.append('-fabi-version=0') ++elif sys.platform == 'dragonfly': ++ platform = 'dragonfly' ++elif sys.platform == 'netbsd': ++ platform = 'netbsd' + elif sys.platform[:3] == 'win': + # For the basic build you need MinGW, MSys, and libsndfile. + # Add them here: |