summaryrefslogtreecommitdiff
path: root/libraries/libofa/libofa-0.9.3-gcc-4.3.patch
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2010-05-12 23:30:37 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:30:37 +0200
commite2bf36b80af1d31ad65303bf1f739b0fc6bff797 (patch)
tree52f356adba101148f8bcfecdaccc255695fd60c0 /libraries/libofa/libofa-0.9.3-gcc-4.3.patch
parent8d93c185124cc0c2901beee32fbfa2afc027cea1 (diff)
downloadslackbuilds-e2bf36b80af1d31ad65303bf1f739b0fc6bff797.tar.gz
libraries/libofa: Added to 12.2 repository
Diffstat (limited to 'libraries/libofa/libofa-0.9.3-gcc-4.3.patch')
-rw-r--r--libraries/libofa/libofa-0.9.3-gcc-4.3.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/libraries/libofa/libofa-0.9.3-gcc-4.3.patch b/libraries/libofa/libofa-0.9.3-gcc-4.3.patch
new file mode 100644
index 0000000000..f68f42bfb1
--- /dev/null
+++ b/libraries/libofa/libofa-0.9.3-gcc-4.3.patch
@@ -0,0 +1,35 @@
+diff -ur libofa-0.9.3.orig/examples/example.cpp libofa-0.9.3/examples/example.cpp
+--- libofa-0.9.3.orig/examples/example.cpp 2006-05-10 21:05:37.000000000 +0300
++++ libofa-0.9.3/examples/example.cpp 2008-04-16 15:51:49.000000000 +0300
+@@ -9,6 +9,8 @@
+
+ #include "protocol.h"
+
++#include <string.h>
++
+ AudioData* loadWaveFile(char *file);
+ AudioData* loadDataUsingLAME(char *file);
+
+Vain hakemistossa libofa-0.9.3/examples: example.cpp.orig
+diff -ur libofa-0.9.3.orig/examples/protocol.cpp libofa-0.9.3/examples/protocol.cpp
+--- libofa-0.9.3.orig/examples/protocol.cpp 2006-05-10 21:05:42.000000000 +0300
++++ libofa-0.9.3/examples/protocol.cpp 2008-04-16 15:51:49.000000000 +0300
+@@ -8,6 +8,7 @@
+ -------------------------------------------------------------------*/
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <cstring>
+ #include <string>
+ #include <map>
+ #include <expat.h>
+diff -ur libofa-0.9.3.orig/lib/signal_op.cpp libofa-0.9.3/lib/signal_op.cpp
+--- libofa-0.9.3.orig/lib/signal_op.cpp 2006-05-10 21:01:12.000000000 +0300
++++ libofa-0.9.3/lib/signal_op.cpp 2008-04-16 15:51:49.000000000 +0300
+@@ -12,6 +12,7 @@
+ // DATE CREATED: 1/12/06
+
+
++#include <cstdlib>
+ #include <math.h>
+ #include "signal_op.h"
+ #include "AFLIB/aflibConverter.h"