Annotation of /trunk/libofa/patches/libofa-0.9.3-gcc43.patch
Parent Directory | Revision Log
Revision 804 -
(hide annotations)
(download)
Tue May 12 16:00:04 2009 UTC (15 years, 4 months ago) by niro
File size: 1254 byte(s)
Tue May 12 16:00:04 2009 UTC (15 years, 4 months ago) by niro
File size: 1254 byte(s)
compilation fixes for gcc-4.3§
1 | niro | 804 | diff -ur libofa-0.9.3.orig/examples/example.cpp libofa-0.9.3/examples/example.cpp |
2 | --- libofa-0.9.3.orig/examples/example.cpp 2006-05-10 21:05:37.000000000 +0300 | ||
3 | +++ libofa-0.9.3/examples/example.cpp 2008-04-16 15:51:49.000000000 +0300 | ||
4 | @@ -9,6 +9,8 @@ | ||
5 | |||
6 | #include "protocol.h" | ||
7 | |||
8 | +#include <string.h> | ||
9 | + | ||
10 | AudioData* loadWaveFile(char *file); | ||
11 | AudioData* loadDataUsingLAME(char *file); | ||
12 | |||
13 | Vain hakemistossa libofa-0.9.3/examples: example.cpp.orig | ||
14 | diff -ur libofa-0.9.3.orig/examples/protocol.cpp libofa-0.9.3/examples/protocol.cpp | ||
15 | --- libofa-0.9.3.orig/examples/protocol.cpp 2006-05-10 21:05:42.000000000 +0300 | ||
16 | +++ libofa-0.9.3/examples/protocol.cpp 2008-04-16 15:51:49.000000000 +0300 | ||
17 | @@ -8,6 +8,7 @@ | ||
18 | -------------------------------------------------------------------*/ | ||
19 | #include <stdio.h> | ||
20 | #include <stdlib.h> | ||
21 | +#include <cstring> | ||
22 | #include <string> | ||
23 | #include <map> | ||
24 | #include <expat.h> | ||
25 | diff -ur libofa-0.9.3.orig/lib/signal_op.cpp libofa-0.9.3/lib/signal_op.cpp | ||
26 | --- libofa-0.9.3.orig/lib/signal_op.cpp 2006-05-10 21:01:12.000000000 +0300 | ||
27 | +++ libofa-0.9.3/lib/signal_op.cpp 2008-04-16 15:51:49.000000000 +0300 | ||
28 | @@ -12,6 +12,7 @@ | ||
29 | // DATE CREATED: 1/12/06 | ||
30 | |||
31 | |||
32 | +#include <cstdlib> | ||
33 | #include <math.h> | ||
34 | #include "signal_op.h" | ||
35 | #include "AFLIB/aflibConverter.h" |