diff options
author | joerg <joerg@pkgsrc.org> | 2006-07-18 19:11:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-07-18 19:11:15 +0000 |
commit | 1bccc106935b587af924b384072593e2adb3b1c0 (patch) | |
tree | cc6d04f22214c608da3298fd6632edd26ea0ae6a /audio/libofa/patches | |
parent | cf571b466650041233ec5a64c11bb9cbcc793cb8 (diff) | |
download | pkgsrc-1bccc106935b587af924b384072593e2adb3b1c0.tar.gz |
At least on DragonFly, fork(2) and read(2) need unistd.h when compiling
C++ programs, so include it.
Diffstat (limited to 'audio/libofa/patches')
-rw-r--r-- | audio/libofa/patches/patch-ab | 12 | ||||
-rw-r--r-- | audio/libofa/patches/patch-ac | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/audio/libofa/patches/patch-ab b/audio/libofa/patches/patch-ab new file mode 100644 index 00000000000..f9d0073c506 --- /dev/null +++ b/audio/libofa/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2006/07/18 19:11:15 joerg Exp $ + +--- examples/uselame.cpp.orig 2006-07-18 19:06:49.000000000 +0000 ++++ examples/uselame.cpp +@@ -11,6 +11,7 @@ + #include "windows.h" + #else + #include <sys/wait.h> ++#include <unistd.h> + #endif + + AudioData *loadWaveFile(char *file); diff --git a/audio/libofa/patches/patch-ac b/audio/libofa/patches/patch-ac new file mode 100644 index 00000000000..3613f6cd66f --- /dev/null +++ b/audio/libofa/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2006/07/18 19:11:15 joerg Exp $ + +--- examples/wavefile.cpp.orig 2006-07-18 19:07:25.000000000 +0000 ++++ examples/wavefile.cpp +@@ -9,6 +9,8 @@ + #include "protocol.h" + #ifdef WIN32 + #include "io.h" ++#else ++#include <unistd.h> + #endif + #include <fcntl.h> + |