pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libofa At least on DragonFly, fork(2) and read(2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d95a15e2b6f4
branches:  trunk
changeset: 516302:d95a15e2b6f4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 18 19:11:15 2006 +0000

description:
At least on DragonFly, fork(2) and read(2) need unistd.h when compiling
C++ programs, so include it.

diffstat:

 audio/libofa/distinfo         |   4 +++-
 audio/libofa/patches/patch-ab |  12 ++++++++++++
 audio/libofa/patches/patch-ac |  13 +++++++++++++
 3 files changed, 28 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r 402b0da6daa3 -r d95a15e2b6f4 audio/libofa/distinfo
--- a/audio/libofa/distinfo     Tue Jul 18 19:05:07 2006 +0000
+++ b/audio/libofa/distinfo     Tue Jul 18 19:11:15 2006 +0000
@@ -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 -r 402b0da6daa3 -r d95a15e2b6f4 audio/libofa/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libofa/patches/patch-ab     Tue Jul 18 19:11:15 2006 +0000
@@ -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 -r 402b0da6daa3 -r d95a15e2b6f4 audio/libofa/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libofa/patches/patch-ac     Tue Jul 18 19:11:15 2006 +0000
@@ -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>
+ 



Home | Main Index | Thread Index | Old Index