diff options
author | bapt <bapt@FreeBSD.org> | 2013-09-13 05:53:45 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-09-13 05:53:45 +0800 |
commit | 00362c7e19f60f8be0afa72eb7069f81011176d4 (patch) | |
tree | ef9c1c1f3f9ba92dbe3b54d2f26eb7ab0f126c1a /audio | |
parent | 99c255e14c9449d049ea5ee5e595b54ea20f7801 (diff) | |
download | freebsd-ports-gnome-00362c7e19f60f8be0afa72eb7069f81011176d4.tar.gz freebsd-ports-gnome-00362c7e19f60f8be0afa72eb7069f81011176d4.tar.zst freebsd-ports-gnome-00362c7e19f60f8be0afa72eb7069f81011176d4.zip |
Fix build with libc++
Submitted by: Gustau Perez (gusi via #poudriere on freenode)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libofa/files/patch-examples_uselame.cpp | 10 | ||||
-rw-r--r-- | audio/libofa/files/patch-examples_wavefile.cpp | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/audio/libofa/files/patch-examples_uselame.cpp b/audio/libofa/files/patch-examples_uselame.cpp new file mode 100644 index 000000000000..310a8ae75075 --- /dev/null +++ b/audio/libofa/files/patch-examples_uselame.cpp @@ -0,0 +1,10 @@ +--- examples/uselame.cpp.orig 2013-09-12 09:10:31.000000000 +0000 ++++ examples/uselame.cpp 2013-09-12 09:10:42.000000000 +0000 +@@ -12,6 +12,7 @@ + #else + #include <sys/wait.h> + #endif ++#include <unistd.h> + + AudioData *loadWaveFile(char *file); + diff --git a/audio/libofa/files/patch-examples_wavefile.cpp b/audio/libofa/files/patch-examples_wavefile.cpp new file mode 100644 index 000000000000..41f319082188 --- /dev/null +++ b/audio/libofa/files/patch-examples_wavefile.cpp @@ -0,0 +1,11 @@ +--- examples/wavefile.cpp.orig 2013-09-12 08:58:25.000000000 +0000 ++++ examples/wavefile.cpp 2013-09-12 08:58:31.000000000 +0000 +@@ -11,6 +11,8 @@ + #include "io.h" + #endif + #include <fcntl.h> ++#include <sys/types.h> ++#include <unistd.h> + + static bool readBytes(int fd, unsigned char *buf, int size) { + int ct = 0; |