aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-26 09:17:45 +0800
committerkris <kris@FreeBSD.org>2002-10-26 09:17:45 +0800
commit218756c917da3aa0aa8d3e1c4de346032e299e05 (patch)
tree31c2842f60a37d1d9ba5a23fbcefcd4b19b039bd /japanese
parent58d04e22d070216ca0a0a03a6eef459c9ac27e5d (diff)
downloadfreebsd-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 'japanese')
-rw-r--r--japanese/chimera/files/patch-util.c20
1 files changed, 20 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