diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-26 01:17:45 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-26 01:17:45 +0000 |
commit | c4af01c3f91a1619f116daa4fc5a6273946c24fc (patch) | |
tree | 41cf6f2f9e809615d8c3b59a8a7ff92015102f1c | |
parent | Fix build on -current (cope with removal of union wait) (diff) |
Fix build on -current (cope with removal of union wait)
Submitted by: mike
-rw-r--r-- | japanese/chimera/files/patch-util.c | 20 | ||||
-rw-r--r-- | www/chimera2/files/patch-uproc.c | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/japanese/chimera/files/patch-util.c b/japanese/chimera/files/patch-util.c new file mode 100644 index 000000000000..41b794e444f5 --- /dev/null +++ b/japanese/chimera/files/patch-util.c @@ -0,0 +1,20 @@ +--- src/util.c.orig Fri Oct 25 11:42:37 2002 ++++ src/util.c Fri Oct 25 11:43:05 2002 +@@ -138,7 +138,7 @@ + ReapChild() + { + /* QNX support added by D J Hawkey Jr <hawkeyd@visi.com> 1997May16 */ +-#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__) ++#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__) && !defined(__FreeBSD__) + int pid; + #endif + extern int errno; +@@ -149,7 +149,7 @@ + * checked into it. This gets us off the ground with SYSV. RSE@GMI + * QNX support added by Frank G Liu <liug@cs.rose-hulman.edu> 1997May09 + */ +-#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__) ++#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__) && !defined(__FreeBSD__) + union wait st; + + do diff --git a/www/chimera2/files/patch-uproc.c b/www/chimera2/files/patch-uproc.c new file mode 100644 index 000000000000..fc18354812fb --- /dev/null +++ b/www/chimera2/files/patch-uproc.c @@ -0,0 +1,20 @@ +--- common/uproc.c.orig Fri Oct 25 11:34:37 2002 ++++ common/uproc.c Fri Oct 25 11:35:08 2002 +@@ -35,7 +35,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; +@@ -45,7 +45,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) && !defined(__QNX__) && !defined(__EMX__) ++#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__) && !defined(__EMX__) && !defined(__FreeBSD__) + union wait st; + + do |