aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/openvmps/files/patch-aa
diff options
context:
space:
mode:
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