summaryrefslogtreecommitdiff
path: root/audio/csound5
diff options
context:
space:
mode:
authormrg <mrg>2014-02-13 12:44:47 +0000
committermrg <mrg>2014-02-13 12:44:47 +0000
commit17762570ae1ea28159985278fb73c34e8fa1b920 (patch)
tree93618fa58723f2158184237b28e6cddbe056eb0c /audio/csound5
parent7ca9db2b03ac8f9a367040bc654a9f895399080e (diff)
downloadpkgsrc-17762570ae1ea28159985278fb73c34e8fa1b920.tar.gz
patches forgotten in csound 5.19.01 update.
Diffstat (limited to 'audio/csound5')
-rw-r--r--audio/csound5/patches/patch-Opcodes_cpumeter.c15
-rw-r--r--audio/csound5/patches/patch-custom.py.mkg15
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: