diff options
author | joerg <joerg@pkgsrc.org> | 2005-11-10 18:03:21 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-11-10 18:03:21 +0000 |
commit | 2747b739d1e25b8914b5aca8aac406f1e3954750 (patch) | |
tree | 872dcbc58fed59f9d7ed32a5818fd78ea6bc0a4d /misc/lile | |
parent | f1e2e5680c3da291cb266f22122af732368a7ef7 (diff) | |
download | pkgsrc-2747b739d1e25b8914b5aca8aac406f1e3954750.tar.gz |
Welcome in the 21st century. errno, malloc and realloc are all
part of ISO C, don't define them manually.
Diffstat (limited to 'misc/lile')
-rw-r--r-- | misc/lile/distinfo | 4 | ||||
-rw-r--r-- | misc/lile/patches/patch-aa | 23 |
2 files changed, 16 insertions, 11 deletions
diff --git a/misc/lile/distinfo b/misc/lile/distinfo index 2c42c38918c..a8396c8fc5a 100644 --- a/misc/lile/distinfo +++ b/misc/lile/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2005/02/24 11:02:55 agc Exp $ +$NetBSD: distinfo,v 1.6 2005/11/10 18:03:21 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) = 9040bda4c44e1c1fb7253ce7c0f8552a239c6bc7 +SHA1 (patch-aa) = 6e1357bacb2a078685c4ed78cc54af8c92a63493 diff --git a/misc/lile/patches/patch-aa b/misc/lile/patches/patch-aa index 5f2e36077e1..3952e0c2578 100644 --- a/misc/lile/patches/patch-aa +++ b/misc/lile/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.5 2004/12/15 06:14:23 minskim Exp $ +$NetBSD: patch-aa,v 1.6 2005/11/10 18:03:21 joerg Exp $ ---- ile.c.orig Wed Jun 9 05:12:33 1993 +--- ile.c.orig 1993-06-09 03:12:33.000000000 +0000 +++ ile.c @@ -2,6 +2,7 @@ /* Copyright message is near the bottom of the file */ @@ -10,15 +10,16 @@ $NetBSD: patch-aa,v 1.5 2004/12/15 06:14:23 minskim Exp $ /* #define DEBUG /**/ -@@ -43,7 +44,6 @@ +@@ -43,7 +44,7 @@ void setup_action_table(); #include <stdio.h> #include <fcntl.h> #include <sgtty.h> -#include <signal.h> ++#include <stdlib.h> #include <string.h> #include <strings.h> #include <pwd.h> -@@ -51,7 +51,7 @@ +@@ -51,7 +52,7 @@ void setup_action_table(); #include <errno.h> #include <sys/ioctl.h> #include <sys/types.h> @@ -27,11 +28,15 @@ $NetBSD: patch-aa,v 1.5 2004/12/15 06:14:23 minskim Exp $ #include <sys/file.h> #include <sys/time.h> #include <sys/wait.h> -@@ -63,7 +63,6 @@ - /* Definitions of system stuff. */ - extern int errno; +@@ -61,11 +62,6 @@ void setup_action_table(); + */ + /* Definitions of system stuff. */ +-extern int errno; +- -long lseek(); - char *malloc(); - char *realloc(); +-char *malloc(); +-char *realloc(); time_t time(); + + #ifndef TRUE |