summaryrefslogtreecommitdiff
path: root/audio/calf/gcc47.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-15 21:32:01 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:44:40 -0400
commitb3790ccba30dd7a99ecbca30f7a0f2bfe62ef31a (patch)
tree606f12537fe1d91df6ce0a7244ae91bf9558b1c7 /audio/calf/gcc47.patch
parentbccd5718fc766056ee343ea6aebeb0e3a42536f3 (diff)
downloadslackbuilds-b3790ccba30dd7a99ecbca30f7a0f2bfe62ef31a.tar.gz
audio/calf: Added a patch for gcc-4.7.x.
Also small cleanups in the .info file Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/calf/gcc47.patch')
-rw-r--r--audio/calf/gcc47.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/audio/calf/gcc47.patch b/audio/calf/gcc47.patch
new file mode 100644
index 0000000000..7328a107ab
--- /dev/null
+++ b/audio/calf/gcc47.patch
@@ -0,0 +1,33 @@
+diff -Naur calf-0.0.18.6.orig/src/calf/benchmark.h calf-0.0.18.6/src/calf/benchmark.h
+--- calf-0.0.18.6.orig/src/calf/benchmark.h 2010-08-22 23:25:15.000000000 +0200
++++ calf-0.0.18.6/src/calf/benchmark.h 2012-09-15 21:25:28.194000789 +0200
+@@ -22,6 +22,7 @@
+ #define __CALF_BENCHMAR_H
+
+ #include <time.h>
++#include <unistd.h>
+ #include <sys/time.h>
+ #include <sys/resource.h>
+ #include "primitives.h"
+diff -Naur calf-0.0.18.6.orig/src/osctlnet.cpp calf-0.0.18.6/src/osctlnet.cpp
+--- calf-0.0.18.6.orig/src/osctlnet.cpp 2010-08-22 23:25:15.000000000 +0200
++++ calf-0.0.18.6/src/osctlnet.cpp 2012-09-15 21:21:15.580000799 +0200
+@@ -26,6 +26,7 @@
+ #include <stdlib.h>
+ #include <sstream>
+ #include <stdio.h>
++#include <unistd.h>
+ using namespace osctl;
+ using namespace std;
+
+diff -Naur calf-0.0.18.6.orig/src/preset.cpp calf-0.0.18.6/src/preset.cpp
+--- calf-0.0.18.6.orig/src/preset.cpp 2010-08-22 23:25:15.000000000 +0200
++++ calf-0.0.18.6/src/preset.cpp 2012-09-15 21:23:23.418997406 +0200
+@@ -22,6 +22,7 @@
+ #include <config.h>
+ #include <fcntl.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ #include <errno.h>
+ #include <string.h>
+ #include <sys/stat.h>