db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / libofa / repos / extra-x86_64 / libofa-0.9.3-gcc-4.7.patch
blobc5ab098767ddcf56d35e195bb48a76de8375dbda
1 diff -up libofa-0.9.3/examples/uselame.cpp.gcc47 libofa-0.9.3/examples/uselame.cpp
2 --- libofa-0.9.3/examples/uselame.cpp.gcc47 2012-01-14 09:35:24.343146853 -0600
3 +++ libofa-0.9.3/examples/uselame.cpp 2012-01-14 09:35:49.956826634 -0600
4 @@ -12,6 +12,7 @@
5 #else
6 #include <sys/wait.h>
7 #endif
8 +#include <unistd.h>
10 AudioData *loadWaveFile(char *file);
12 diff -up libofa-0.9.3/examples/wavefile.cpp.gcc47 libofa-0.9.3/examples/wavefile.cpp
13 --- libofa-0.9.3/examples/wavefile.cpp.gcc47 2012-01-14 09:35:24.344146841 -0600
14 +++ libofa-0.9.3/examples/wavefile.cpp 2012-01-14 16:00:54.414981160 -0600
15 @@ -11,6 +11,7 @@
16 #include "io.h"
17 #endif
18 #include <fcntl.h>
19 +#include <unistd.h>
21 static bool readBytes(int fd, unsigned char *buf, int size) {
22 int ct = 0;