summaryrefslogtreecommitdiff
path: root/japanese/okphone/files
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>2003-08-08 03:54:33 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>2003-08-08 03:54:33 +0000
commit809a6018633c066f7742384a6183f5c16299868d (patch)
treebaa129622b8313040950d7773c1ac9415de61636 /japanese/okphone/files
parentAs announced on May 6, remove the broken net/samba-tng port. (diff)
Unbreak in -CURRENT.
Notes
Notes: svn path=/head/; revision=86553
Diffstat (limited to 'japanese/okphone/files')
-rw-r--r--japanese/okphone/files/patch-client::runprog.c14
-rw-r--r--japanese/okphone/files/patch-master::child.c26
2 files changed, 40 insertions, 0 deletions
diff --git a/japanese/okphone/files/patch-client::runprog.c b/japanese/okphone/files/patch-client::runprog.c
new file mode 100644
index 000000000000..53a40a852854
--- /dev/null
+++ b/japanese/okphone/files/patch-client::runprog.c
@@ -0,0 +1,14 @@
+--- client/runprog.c.orig Fri Dec 15 18:30:10 1989
++++ client/runprog.c Fri Aug 8 12:26:10 2003
+@@ -133,7 +133,11 @@
+
+ sigchld ()
+ {
++#ifdef __FreeBSD__
++ int status;
++#else
+ union wait status;
++#endif
+
+ if (childpid == 0)
+ return;
diff --git a/japanese/okphone/files/patch-master::child.c b/japanese/okphone/files/patch-master::child.c
new file mode 100644
index 000000000000..a18a1fc4730d
--- /dev/null
+++ b/japanese/okphone/files/patch-master::child.c
@@ -0,0 +1,26 @@
+--- master/child.c.orig Fri Dec 15 18:30:13 1989
++++ master/child.c Fri Aug 8 12:38:17 2003
+@@ -21,7 +21,11 @@
+ sigchld ()
+ {
+ register INV *inv;
++#ifdef __FreeBSD__
++ int status;
++#else
+ union wait status;
++#endif
+ char mbuf[SIZ];
+ int pid;
+ int exitstat;
+@@ -31,7 +35,11 @@
+ kill (pid, 9);
+ exitstat = 1;
+ } else
++#ifdef __FreeBSD__
++ exitstat = WEXITSTATUS(status);
++#else
+ exitstat = status.w_retcode;
++#endif
+
+ for (inv = invitations; inv; inv = inv->next)
+ if (inv->pid == pid) /* does pid match? */