/[gentoo-x86]/media-libs/libofa/files/libofa-0.9.3-gcc-4.3.patch
Gentoo

Contents of /media-libs/libofa/files/libofa-0.9.3-gcc-4.3.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Apr 16 12:57:30 2008 UTC (6 years, 7 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Fix building with GCC 4.3, thanks to Mikko C. in bug 215563.
(Portage version: 2.1.5_rc3)

1 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"

  ViewVC Help
Powered by ViewVC 1.1.20