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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jun 4 12:51:28 2012 UTC (2 years, 1 month ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Add gcc-4.7 compatibility patch from fedora, #414141

(Portage version: 2.2.0_alpha109/cvs/Linux x86_64)

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>
9
10 AudioData *loadWaveFile(char *file);
11
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>
20
21 static bool readBytes(int fd, unsigned char *buf, int size) {
22 int ct = 0;

  ViewVC Help
Powered by ViewVC 1.1.20