summaryrefslogtreecommitdiffstats
path: root/test/libofa/gcc43.patch
diff options
context:
space:
mode:
Diffstat (limited to 'test/libofa/gcc43.patch')
-rw-r--r--test/libofa/gcc43.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/test/libofa/gcc43.patch b/test/libofa/gcc43.patch
new file mode 100644
index 000000000..b772dcabd
--- /dev/null
+++ b/test/libofa/gcc43.patch
@@ -0,0 +1,42 @@
+--- lib/signal_op.cpp~ 2007-04-02 12:33:42.000000000 +0000
++++ lib/signal_op.cpp 2007-04-02 12:33:47.000000000 +0000
+@@ -12,6 +12,7 @@
+ // DATE CREATED: 1/12/06
+
+
++#include <cstdlib>
+ #include <math.h>
+ #include "signal_op.h"
+ #include "AFLIB/aflibConverter.h"
+--- examples/example.cpp~ 2007-04-02 12:34:01.000000000 +0000
++++ examples/example.cpp 2007-04-02 12:34:10.000000000 +0000
+@@ -9,6 +9,8 @@
+ -------------------------------------------------------------------*/
+
+ #include "protocol.h"
+
++#include <string.h>
++
+ AudioData* loadWaveFile(char *file);
+ AudioData* loadDataUsingLAME(char *file);
+--- examples/protocol.cpp~ 2006-05-10 18:05:42.000000000 +0000
++++ examples/protocol.cpp 2007-12-29 18:06:16.000000000 +0000
+@@ -8,6 +8,7 @@
+ -------------------------------------------------------------------*/
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <cstring>
+ #include <string>
+ #include <map>
+ #include <expat.h>
+
+--- examples/protocol.h 2009-08-04 21:15:45.000000000 +0000
++++ examples/protocol.h.new 2009-08-04 21:15:10.000000000 +0000
+@@ -10,6 +10,7 @@
+ #define __PROTOCOL_H__
+
+ #include <string>
++#include <cstdio>
+ #include "ofa1/ofa.h"
+
+ using namespace std;