summaryrefslogtreecommitdiff
path: root/www/chimera/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'www/chimera/patches/patch-ab')
-rw-r--r--www/chimera/patches/patch-ab23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/chimera/patches/patch-ab b/www/chimera/patches/patch-ab
new file mode 100644
index 00000000000..6a799917d76
--- /dev/null
+++ b/www/chimera/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/10/19 14:23:00 fredb Exp $
+
+--- common/uproc.c.orig Sun Mar 28 20:27:05 1999
++++ common/uproc.c Wed Oct 18 18:48:19 2000
+@@ -38,7 +38,9 @@
+ #if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4)
+ int pid;
+ #endif
++#ifndef errno
+ extern int errno;
++#endif
+ int old_errno = errno;
+
+ /*
+@@ -51,7 +53,7 @@
+ do
+ {
+ errno = 0;
+- pid = wait3(&st, WNOHANG, 0);
++ pid = wait3((int *) &st, WNOHANG, 0);
+ }
+ while (pid <= 0 && errno == EINTR);
+ #else