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 | |
parent | 58d04e22d070216ca0a0a03a6eef459c9ac27e5d (diff) | |
download | freebsd-ports-graphics-218756c917da3aa0aa8d3e1c4de346032e299e05.tar.gz freebsd-ports-graphics-218756c917da3aa0aa8d3e1c4de346032e299e05.tar.zst freebsd-ports-graphics-218756c917da3aa0aa8d3e1c4de346032e299e05.zip |
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 00000000000..41b794e444f --- /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 00000000000..fc18354812f --- /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 |