json-glib: update to 1.10.6
[oi-userland.git] / components / library / libofa / patches / 05.gcc43.patch
blob4aa712320c97272014dfbd7f1d7e64d7345303bc
1 Description: fix FTBFS with GCC 4.3. (Closes: #417355)
2 Author: Martin Michlmayr <tbm@cyrius.com>
3 Last-Update: 2007-04-02
5 Description: add a missing include. (Closes: #441557)
6 Author: Brian M. Carlson <sandals@crustytoothpaste.ath.cx>
7 Last-Update: 2007-12-29
9 Index: libofa-0.9.3/lib/signal_op.cpp
10 ===================================================================
11 --- libofa-0.9.3.orig/lib/signal_op.cpp
12 +++ libofa-0.9.3/lib/signal_op.cpp
13 @@ -12,6 +12,7 @@
14 // DATE CREATED: 1/12/06
17 +#include <cstdlib>
18 #include <math.h>
19 #include "signal_op.h"
20 #include "AFLIB/aflibConverter.h"
21 Index: libofa-0.9.3/examples/example.cpp
22 ===================================================================
23 --- libofa-0.9.3.orig/examples/example.cpp
24 +++ libofa-0.9.3/examples/example.cpp
25 @@ -8,6 +8,8 @@
26 -------------------------------------------------------------------*/
28 #include "protocol.h"
29 +#include <cctype>
30 +#include <string.h>
32 AudioData* loadWaveFile(char *file);
33 AudioData* loadDataUsingLAME(char *file);
34 Index: libofa-0.9.3/examples/protocol.cpp
35 ===================================================================
36 --- libofa-0.9.3.orig/examples/protocol.cpp
37 +++ libofa-0.9.3/examples/protocol.cpp
38 @@ -8,6 +8,7 @@
39 -------------------------------------------------------------------*/
40 #include <stdio.h>
41 #include <stdlib.h>
42 +#include <cstring>
43 #include <string>
44 #include <map>
45 #include <expat.h>