diff options
author | kris <kris@FreeBSD.org> | 2002-10-26 09:17:45 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-10-26 09:17:45 +0800 |
commit | 218756c917da3aa0aa8d3e1c4de346032e299e05 (patch) | |
tree | 31c2842f60a37d1d9ba5a23fbcefcd4b19b039bd /www | |
parent | 58d04e22d070216ca0a0a03a6eef459c9ac27e5d (diff) | |
download | freebsd-ports-gnome-218756c917da3aa0aa8d3e1c4de346032e299e05.tar.gz freebsd-ports-gnome-218756c917da3aa0aa8d3e1c4de346032e299e05.tar.zst freebsd-ports-gnome-218756c917da3aa0aa8d3e1c4de346032e299e05.zip |
Fix build on -current (cope with removal of union wait)
Submitted by: mike
Diffstat (limited to 'www')
-rw-r--r-- | www/chimera2/files/patch-uproc.c | 20 |
1 files changed, 20 insertions, 0 deletions
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 |