aboutsummaryrefslogtreecommitdiff
path: root/www/chimera
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-26 01:16:02 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-26 01:16:02 +0000
commit24a46374181088f0b9a6413cada18e3999dcf7a7 (patch)
tree567bf617a7a32d0a78c5df125622beadede6a0b2 /www/chimera
parent9c233bec4b5a6a2fd86931700f24d630f1187357 (diff)
downloadports-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.c20
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