diff options
author | kris <kris@FreeBSD.org> | 2002-06-16 17:15:02 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-06-16 17:15:02 +0800 |
commit | e20c19f2726a1ae1ededc753cf3f95563858e81c (patch) | |
tree | 02f7199ffb36e68d645262c753a523dac849aa8b | |
parent | 9672beca009ec4a460ebca0061e258f0c41c0170 (diff) | |
download | freebsd-ports-gnome-e20c19f2726a1ae1ededc753cf3f95563858e81c.tar.gz freebsd-ports-gnome-e20c19f2726a1ae1ededc753cf3f95563858e81c.tar.zst freebsd-ports-gnome-e20c19f2726a1ae1ededc753cf3f95563858e81c.zip |
Fix build on current.
Submitted by: bento
-rw-r--r-- | net/tn3270/files/patch-system.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/tn3270/files/patch-system.c b/net/tn3270/files/patch-system.c new file mode 100644 index 000000000000..b97fe4aefc12 --- /dev/null +++ b/net/tn3270/files/patch-system.c @@ -0,0 +1,15 @@ +--- sys_curses/system.c.orig Tue Jun 4 21:54:07 2002 ++++ sys_curses/system.c Tue Jun 4 21:54:27 2002 +@@ -588,10 +588,10 @@ + static void + child_died(code) + { +- union wait status; ++ int status; + register int pid; + +- while ((pid = wait3((int *)&status, WNOHANG, (struct rusage *)0)) > 0) { ++ while ((pid = wait3(&status, WNOHANG, (struct rusage *)0)) > 0) { + if (pid == shell_pid) { + int ch; + extern void setconnmode(); |