pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/lile Welcome in the 21st century. errno, malloc a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2804710c6dd5
branches:  trunk
changeset: 502909:2804710c6dd5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 10 18:03:21 2005 +0000

description:
Welcome in the 21st century. errno, malloc and realloc are all
part of ISO C, don't define them manually.

diffstat:

 misc/lile/distinfo         |   4 ++--
 misc/lile/patches/patch-aa |  23 ++++++++++++++---------
 2 files changed, 16 insertions(+), 11 deletions(-)

diffs (64 lines):

diff -r 3847d60ae34c -r 2804710c6dd5 misc/lile/distinfo
--- a/misc/lile/distinfo        Thu Nov 10 18:00:09 2005 +0000
+++ b/misc/lile/distinfo        Thu Nov 10 18:03:21 2005 +0000
@@ -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 -r 3847d60ae34c -r 2804710c6dd5 misc/lile/patches/patch-aa
--- a/misc/lile/patches/patch-aa        Thu Nov 10 18:00:09 2005 +0000
+++ b/misc/lile/patches/patch-aa        Thu Nov 10 18:03:21 2005 +0000
@@ -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 @@
  
  /* #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 @@
  #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



Home | Main Index | Thread Index | Old Index