summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-08-30 16:54:07 +0000
committerjoerg <joerg@pkgsrc.org>2013-08-30 16:54:07 +0000
commit9d821e61c346c9c897737436dacfd678a636dc08 (patch)
tree36d39fddc2b9312614ab5076c8c39147da88582a
parentfdd0c9834c5fdbb4d6b36933c6c967d882653ed2 (diff)
downloadpkgsrc-9d821e61c346c9c897737436dacfd678a636dc08.tar.gz
Needs termios.h.
-rw-r--r--misc/lile/distinfo4
-rw-r--r--misc/lile/patches/patch-aa23
2 files changed, 16 insertions, 11 deletions
diff --git a/misc/lile/distinfo b/misc/lile/distinfo
index cb45ce64ebf..b52468c5595 100644
--- a/misc/lile/distinfo
+++ b/misc/lile/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2013/01/11 23:28:36 joerg Exp $
+$NetBSD: distinfo,v 1.8 2013/08/30 16:54:07 joerg Exp $
SHA1 (lile-2.0.tar.z) = 8969acd0de5599fee8fb2d1c49c4804f5ae25156
RMD160 (lile-2.0.tar.z) = 3aac03a4a9fccf3aac9155ab02592c4a5571cb8a
Size (lile-2.0.tar.z) = 22901 bytes
-SHA1 (patch-aa) = 605f487a17e2c4997a947bd1ced7d305e808a08d
+SHA1 (patch-aa) = e7a5fbe3c32c403b0837c1e82f4d9ce2d5d9b06c
diff --git a/misc/lile/patches/patch-aa b/misc/lile/patches/patch-aa
index 39b32b86851..5bb02569340 100644
--- a/misc/lile/patches/patch-aa
+++ b/misc/lile/patches/patch-aa
@@ -1,18 +1,20 @@
-$NetBSD: patch-aa,v 1.7 2013/01/11 23:28:36 joerg Exp $
+$NetBSD: patch-aa,v 1.8 2013/08/30 16:54:07 joerg Exp $
--- ile.c.orig 1993-06-09 03:12:33.000000000 +0000
+++ ile.c
-@@ -2,6 +2,9 @@
+@@ -2,6 +2,11 @@
/* Copyright message is near the bottom of the file */
#include "config.h"
+#include <signal.h>
+#include <ctype.h>
++#include <time.h>
++#include <termios.h>
+#include <unistd.h>
/* #define DEBUG /**/
-@@ -43,7 +46,7 @@ void setup_action_table();
+@@ -43,7 +48,7 @@ void setup_action_table();
#include <stdio.h>
#include <fcntl.h>
#include <sgtty.h>
@@ -21,7 +23,7 @@ $NetBSD: patch-aa,v 1.7 2013/01/11 23:28:36 joerg Exp $
#include <string.h>
#include <strings.h>
#include <pwd.h>
-@@ -51,7 +54,7 @@ void setup_action_table();
+@@ -51,7 +56,7 @@ void setup_action_table();
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/types.h>
@@ -30,19 +32,22 @@ $NetBSD: patch-aa,v 1.7 2013/01/11 23:28:36 joerg Exp $
#include <sys/file.h>
#include <sys/time.h>
#include <sys/wait.h>
-@@ -61,11 +64,6 @@ void setup_action_table();
+@@ -60,14 +65,6 @@ void setup_action_table();
+ #include <sys/ttold.h>
*/
- /* Definitions of system stuff. */
+-/* Definitions of system stuff. */
-extern int errno;
-
-long lseek();
-char *malloc();
-char *realloc();
- time_t time();
-
+-time_t time();
+-
#ifndef TRUE
-@@ -312,7 +310,7 @@ void handle_child() {
+ # define FALSE 0
+ # define TRUE 1
+@@ -312,7 +309,7 @@ void handle_child() {
getpty opens a pty, storing file descriptors in pty and tty.
It trys pairs in order until it finds a pair that is not in use.
*/