diff options
author | max <max@FreeBSD.org> | 2003-08-08 11:54:33 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 2003-08-08 11:54:33 +0800 |
commit | 2517f1a807eec497602cf28677e467be1b147570 (patch) | |
tree | bb33cfd92241901d19e0d2ca29233194b5d85d56 /japanese | |
parent | 3ae1dfb670abee7f68c0efbe192769b11531aeb3 (diff) | |
download | freebsd-ports-gnome-2517f1a807eec497602cf28677e467be1b147570.tar.gz freebsd-ports-gnome-2517f1a807eec497602cf28677e467be1b147570.tar.zst freebsd-ports-gnome-2517f1a807eec497602cf28677e467be1b147570.zip |
Unbreak in -CURRENT.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/okphone/files/patch-client::runprog.c | 14 | ||||
-rw-r--r-- | japanese/okphone/files/patch-master::child.c | 26 |
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? */ |