summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-01-11 23:28:36 +0000
committerjoerg <joerg@pkgsrc.org>2013-01-11 23:28:36 +0000
commit74d88caae300931c53e1eb9cca011afcd6ff18f8 (patch)
tree3757280a89f2b453f12bd6c42a3aa5d776cd7de1 /misc
parent895db7b7f5208e9d49f7feacd64963123a7513cc (diff)
downloadpkgsrc-74d88caae300931c53e1eb9cca011afcd6ff18f8.tar.gz
Use void and add some missing includes.
Diffstat (limited to 'misc')
-rw-r--r--misc/lile/distinfo4
-rw-r--r--misc/lile/patches/patch-aa21
2 files changed, 18 insertions, 7 deletions
diff --git a/misc/lile/distinfo b/misc/lile/distinfo
index a8396c8fc5a..cb45ce64ebf 100644
--- a/misc/lile/distinfo
+++ b/misc/lile/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/11/10 18:03:21 joerg Exp $
+$NetBSD: distinfo,v 1.7 2013/01/11 23:28:36 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) = 6e1357bacb2a078685c4ed78cc54af8c92a63493
+SHA1 (patch-aa) = 605f487a17e2c4997a947bd1ced7d305e808a08d
diff --git a/misc/lile/patches/patch-aa b/misc/lile/patches/patch-aa
index 3952e0c2578..39b32b86851 100644
--- a/misc/lile/patches/patch-aa
+++ b/misc/lile/patches/patch-aa
@@ -1,16 +1,18 @@
-$NetBSD: patch-aa,v 1.6 2005/11/10 18:03:21 joerg Exp $
+$NetBSD: patch-aa,v 1.7 2013/01/11 23:28:36 joerg Exp $
--- ile.c.orig 1993-06-09 03:12:33.000000000 +0000
+++ ile.c
-@@ -2,6 +2,7 @@
+@@ -2,6 +2,9 @@
/* Copyright message is near the bottom of the file */
#include "config.h"
+#include <signal.h>
++#include <ctype.h>
++#include <unistd.h>
/* #define DEBUG /**/
-@@ -43,7 +44,7 @@ void setup_action_table();
+@@ -43,7 +46,7 @@ void setup_action_table();
#include <stdio.h>
#include <fcntl.h>
#include <sgtty.h>
@@ -19,7 +21,7 @@ $NetBSD: patch-aa,v 1.6 2005/11/10 18:03:21 joerg Exp $
#include <string.h>
#include <strings.h>
#include <pwd.h>
-@@ -51,7 +52,7 @@ void setup_action_table();
+@@ -51,7 +54,7 @@ void setup_action_table();
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/types.h>
@@ -28,7 +30,7 @@ $NetBSD: patch-aa,v 1.6 2005/11/10 18:03:21 joerg Exp $
#include <sys/file.h>
#include <sys/time.h>
#include <sys/wait.h>
-@@ -61,11 +62,6 @@ void setup_action_table();
+@@ -61,11 +64,6 @@ void setup_action_table();
*/
/* Definitions of system stuff. */
@@ -40,3 +42,12 @@ $NetBSD: patch-aa,v 1.6 2005/11/10 18:03:21 joerg Exp $
time_t time();
#ifndef TRUE
+@@ -312,7 +310,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.
+ */
+-getpty(pty, tty) int *pty; int *tty; {
++static void getpty(pty, tty) int *pty; int *tty; {
+ int devindex;
+ int letter;
+