aboutsummaryrefslogtreecommitdiff
path: root/chinese/hztty
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-06-16 09:18:43 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-06-16 09:18:43 +0000
commite40b1bb94254ee08d029b3a91386fcd4ac88c210 (patch)
tree6b1e35fa939a1aded02ae43815a1fee4076bfa87 /chinese/hztty
parent6dcd5edfb967bb7d5f682868f2577297077ddb56 (diff)
downloadports-e40b1bb94254ee08d029b3a91386fcd4ac88c210.tar.gz
ports-e40b1bb94254ee08d029b3a91386fcd4ac88c210.zip
Notes
Diffstat (limited to 'chinese/hztty')
-rw-r--r--chinese/hztty/files/patch-main.c20
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 000000000000..7171f473e1ed
--- /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)