diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2001-01-23 22:57:24 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2001-01-23 22:57:24 +0000 |
commit | 9241d8294ef437296cf67ece0fc39b52a1b30525 (patch) | |
tree | df14e25b64e33f21a11e0cd1969f7ccf859b07b6 /misc | |
parent | 0a237614d839479b040b13bbf618b1b6662f8707 (diff) | |
download | ports-9241d8294ef437296cf67ece0fc39b52a1b30525.tar.gz ports-9241d8294ef437296cf67ece0fc39b52a1b30525.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/lile/Makefile | 1 | ||||
-rw-r--r-- | misc/lile/files/patch-aa | 32 |
2 files changed, 28 insertions, 5 deletions
diff --git a/misc/lile/Makefile b/misc/lile/Makefile index 44b6455b69ab..30d1748c88cb 100644 --- a/misc/lile/Makefile +++ b/misc/lile/Makefile @@ -7,6 +7,7 @@ PORTNAME= ile PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= ftp://ftp.inria.fr/system/user/ DISTNAME= lile-2.0 diff --git a/misc/lile/files/patch-aa b/misc/lile/files/patch-aa index d9c70f461f6a..486576b625f3 100644 --- a/misc/lile/files/patch-aa +++ b/misc/lile/files/patch-aa @@ -1,6 +1,6 @@ ---- ile.c.orig Wed Jun 25 01:54:50 1997 -+++ ile.c Wed Jun 25 01:55:24 1997 -@@ -65,7 +65,7 @@ +--- dist/ile.c Wed Jun 9 13:12:33 1993 ++++ ile.c Sat Jan 20 08:23:07 2001 +@@ -51,7 +51,7 @@ #include <errno.h> #include <sys/ioctl.h> #include <sys/types.h> @@ -8,8 +8,8 @@ +#include <sys/dirent.h> #include <sys/file.h> #include <sys/time.h> - /* -@@ -75,7 +75,6 @@ + #include <sys/wait.h> +@@ -63,7 +63,6 @@ /* Definitions of system stuff. */ extern int errno; @@ -17,3 +17,25 @@ char *malloc(); char *realloc(); time_t time(); +@@ -113,7 +112,7 @@ + struct ltchars tty_ltchars; + struct winsize tty_winsize; + int expect_exception, ignorestop, new_prompt, output_complete; +-int childpid; ++pid_t childpid; + int tty_ldisc; + int tty_mode; + +@@ -269,8 +268,10 @@ + void handle_child() { + union wait status; + +- if (wait3(&status, WUNTRACED, NULL) != childpid) { ++ if (wait3(&status.w_status, WUNTRACED, NULL) != childpid) { + fprintf(stderr, "ile: notified by unknown process\r\n"); ++ /* note the change so that we don't die after select */ ++ expect_exception = TRUE; + return; + } + + |