aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/openvmps/files/patch-aa
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-10-08 02:57:42 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-10-08 02:57:42 +0000
commita3580faa2b6d568a289a5b757d0601beb9c68cfd (patch)
tree39b2684c30780dfcdffedcd7cb3f2fce663f18a8 /net-mgmt/openvmps/files/patch-aa
parenta40cce275ee3df8ecf9c0eb37d47ea3747b49152 (diff)
Notes
Diffstat (limited to 'net-mgmt/openvmps/files/patch-aa')
-rw-r--r--net-mgmt/openvmps/files/patch-aa31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-mgmt/openvmps/files/patch-aa b/net-mgmt/openvmps/files/patch-aa
new file mode 100644
index 000000000000..92e2162ab493
--- /dev/null
+++ b/net-mgmt/openvmps/files/patch-aa
@@ -0,0 +1,31 @@
+--- daemon.c.orig Mon Oct 6 16:32:28 2003
++++ daemon.c Mon Oct 6 16:37:02 2003
+@@ -10,8 +10,10 @@
+ #ifdef SETPGRP_VOID
+ #define SYSV
+ #else
++#ifndef BSD
+ #define BSD
+ #endif
++#endif
+
+ extern int errno;
+
+@@ -30,7 +32,7 @@
+ #ifdef BSD
+
+ int pid;
+- union wait status;
++ int status;
+ while ( (pid = wait3(&status, WNOHANG, (struct rusage *) 0)) > 0 ) ;
+
+ #endif
+@@ -105,7 +107,7 @@
+ #ifdef BSD
+ RETSIGTYPE sig_child();
+
+- signal(SIGCLD, sig_child);
++ signal(SIGCHLD, sig_child);
+ #else
+ signal(SIGCLD,SIG_IGN);
+ #endif