diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-06-04 12:51:28 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-06-04 12:51:28 +0000 |
commit | 7c3de9889ffdd94503d84ad62c40670ac7604b34 (patch) | |
tree | 4bccb3bfc1bb18f0e22f7ecc2b2af411397a649b /media-libs/libofa/files | |
parent | Stable for x86, wrt bug #419609 (diff) | |
download | gentoo-2-7c3de9889ffdd94503d84ad62c40670ac7604b34.tar.gz gentoo-2-7c3de9889ffdd94503d84ad62c40670ac7604b34.tar.bz2 gentoo-2-7c3de9889ffdd94503d84ad62c40670ac7604b34.zip |
Add gcc-4.7 compatibility patch from fedora, #414141
(Portage version: 2.2.0_alpha109/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libofa/files')
-rw-r--r-- | media-libs/libofa/files/libofa-0.9.3-gcc-4.7.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/libofa/files/libofa-0.9.3-gcc-4.7.patch b/media-libs/libofa/files/libofa-0.9.3-gcc-4.7.patch new file mode 100644 index 000000000000..c5ab098767dd --- /dev/null +++ b/media-libs/libofa/files/libofa-0.9.3-gcc-4.7.patch @@ -0,0 +1,22 @@ +diff -up libofa-0.9.3/examples/uselame.cpp.gcc47 libofa-0.9.3/examples/uselame.cpp +--- libofa-0.9.3/examples/uselame.cpp.gcc47 2012-01-14 09:35:24.343146853 -0600 ++++ libofa-0.9.3/examples/uselame.cpp 2012-01-14 09:35:49.956826634 -0600 +@@ -12,6 +12,7 @@ + #else + #include <sys/wait.h> + #endif ++#include <unistd.h> + + AudioData *loadWaveFile(char *file); + +diff -up libofa-0.9.3/examples/wavefile.cpp.gcc47 libofa-0.9.3/examples/wavefile.cpp +--- libofa-0.9.3/examples/wavefile.cpp.gcc47 2012-01-14 09:35:24.344146841 -0600 ++++ libofa-0.9.3/examples/wavefile.cpp 2012-01-14 16:00:54.414981160 -0600 +@@ -11,6 +11,7 @@ + #include "io.h" + #endif + #include <fcntl.h> ++#include <unistd.h> + + static bool readBytes(int fd, unsigned char *buf, int size) { + int ct = 0; |