diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-26 01:16:02 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-26 01:16:02 +0000 |
commit | 24a46374181088f0b9a6413cada18e3999dcf7a7 (patch) | |
tree | 567bf617a7a32d0a78c5df125622beadede6a0b2 /www/chimera | |
parent | 9c233bec4b5a6a2fd86931700f24d630f1187357 (diff) | |
download | ports-24a46374181088f0b9a6413cada18e3999dcf7a7.tar.gz ports-24a46374181088f0b9a6413cada18e3999dcf7a7.zip |
Fix build on -current (cope with removal of union wait)
Submitted by: mike
Notes
Notes:
svn path=/head/; revision=68842
Diffstat (limited to 'www/chimera')
-rw-r--r-- | www/chimera/files/patch-util.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chimera/files/patch-util.c b/www/chimera/files/patch-util.c new file mode 100644 index 000000000000..4ee9fe5a2e18 --- /dev/null +++ b/www/chimera/files/patch-util.c @@ -0,0 +1,20 @@ +--- src/util.c.orig Fri Oct 25 11:27:19 2002 ++++ src/util.c Fri Oct 25 11:28:18 2002 +@@ -132,7 +132,7 @@ + static void + ReapChild() + { +-#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) ++#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__FreeBSD__) + int pid; + #endif + extern int errno; +@@ -142,7 +142,7 @@ + * It would probably be better to use the POSIX mechanism here,but I have not + * checked into it. This gets us off the ground with SYSV. RSE@GMI + */ +-#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) ++#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__FreeBSD__) + union wait st; + + do |