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 | |
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')
-rw-r--r-- | audio/libofa/distinfo | 4 | ||||
-rw-r--r-- | audio/libofa/patches/patch-ab | 12 | ||||
-rw-r--r-- | audio/libofa/patches/patch-ac | 13 |
3 files changed, 28 insertions, 1 deletions
diff --git a/audio/libofa/distinfo b/audio/libofa/distinfo index c64ffec410b..7ffcb3c1b87 100644 --- a/audio/libofa/distinfo +++ b/audio/libofa/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/07/12 13:12:57 wiz Exp $ +$NetBSD: distinfo,v 1.2 2006/07/18 19:11:15 joerg Exp $ SHA1 (libofa-0.9.3.tar.gz) = 3dec8e1dcea937f74b4165e9ffd4d4f355e4594a RMD160 (libofa-0.9.3.tar.gz) = 77f393570bb5356026c4b9c7195236bd96cb9143 Size (libofa-0.9.3.tar.gz) = 384043 bytes SHA1 (patch-aa) = 5873559f25c2dd3ca7cd3beac089167faa1ce49f +SHA1 (patch-ab) = ee3aa29a18926a1d9b9a29e3a7719b67501462bc +SHA1 (patch-ac) = 9a40d7472c405b9bdc4b9c008f5a28c3a91fc5c9 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> + |