diff options
author | kris <kris@FreeBSD.org> | 2002-06-16 09:18:43 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-06-16 09:18:43 +0000 |
commit | 8f6fb0280b10942bf83a2d3ca7fb2342921b512f (patch) | |
tree | f9f527ffa7f179b515241f5919a2152afd7daf55 /chinese | |
parent | c570d543eaf6e109d943ea7c9e1529284d4af5af (diff) | |
download | FreeBSD-ports-8f6fb0280b10942bf83a2d3ca7fb2342921b512f.zip FreeBSD-ports-8f6fb0280b10942bf83a2d3ca7fb2342921b512f.tar.gz |
Fix build on current.
Submitted by: mike
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/hztty/files/patch-main.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chinese/hztty/files/patch-main.c b/chinese/hztty/files/patch-main.c new file mode 100644 index 0000000..7171f47 --- /dev/null +++ b/chinese/hztty/files/patch-main.c @@ -0,0 +1,20 @@ +--- main.c.orig Tue Jun 4 21:56:28 2002 ++++ main.c Tue Jun 4 21:59:33 2002 +@@ -264,7 +264,7 @@ + static SIGNAL_T + finish() + { +-#if defined(SYSV) || defined(POSIX) ++#if defined(BSD) || defined(SYSV) || defined(POSIX) + int status; + #else + union wait status; +@@ -272,7 +272,7 @@ + register int pid; + register int die = 0; + +-#if defined(SYSV) || defined(POSIX) ++#if defined(BSD) || defined(SYSV) || defined(POSIX) + while ((pid = waitpid(-1, &status, WNOHANG|WUNTRACED)) > 0) + #else + while ((pid = wait3(&status, WNOHANG|WUNTRACED, (struct rusage *)0))>0) |