pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/icb fix time.h issues



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f76540e8a4fb
branches:  trunk
changeset: 396427:f76540e8a4fb
user:      christos <christos%pkgsrc.org@localhost>
date:      Fri Jul 24 01:24:38 2009 +0000

description:
fix time.h issues

diffstat:

 chat/icb/Makefile         |   4 ++--
 chat/icb/distinfo         |   5 +++--
 chat/icb/patches/patch-av |  25 +++++++++++++------------
 chat/icb/patches/patch-bq |  12 ++++++++++++
 4 files changed, 30 insertions(+), 16 deletions(-)

diffs (158 lines):

diff -r 6ffe10068cea -r f76540e8a4fb chat/icb/Makefile
--- a/chat/icb/Makefile Fri Jul 24 00:12:16 2009 +0000
+++ b/chat/icb/Makefile Fri Jul 24 01:24:38 2009 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.19 2008/12/17 02:19:59 christos Exp $
+# $NetBSD: Makefile,v 1.20 2009/07/24 01:24:38 christos Exp $
 #
 
 # Note: The file ftp://ftp.icb.net/pub/icb/icb-0.9grok2.tar.gz is way
 #      older than this here. It's got no readline support, tcl, ... - HF
 DISTNAME=              icb-5.0.9
 PKGNAME=               icb-5.0.9pl1
-PKGREVISION=           5
+PKGREVISION=           6
 CATEGORIES=            chat
 MASTER_SITES=          ${MASTER_SITE_LOCAL}
 
diff -r 6ffe10068cea -r f76540e8a4fb chat/icb/distinfo
--- a/chat/icb/distinfo Fri Jul 24 00:12:16 2009 +0000
+++ b/chat/icb/distinfo Fri Jul 24 01:24:38 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2008/12/17 02:19:59 christos Exp $
+$NetBSD: distinfo,v 1.12 2009/07/24 01:24:39 christos Exp $
 
 SHA1 (icb-5.0.9.tar.gz) = 151430ad7fe3e9787627b31f6551bf1f398b1bd8
 RMD160 (icb-5.0.9.tar.gz) = 8184620d7abf71fa38315fa14aa5345b6981c9bf
@@ -24,7 +24,7 @@
 SHA1 (patch-as) = 5c42bfdc2e836fb86e814c396760040560864256
 SHA1 (patch-at) = 703abcc2415b92776241011fe893286de06da034
 SHA1 (patch-au) = 35db5c53aed27f3a73977098b89cf4273e801a22
-SHA1 (patch-av) = ee5d630cf578dcf8150486526b9b96214a06997e
+SHA1 (patch-av) = 7c18f6e81ac82466fd5fc8b30e12264933eab5d6
 SHA1 (patch-aw) = 6dbc66a63f52244ac9b8b29346cb376b98442695
 SHA1 (patch-ax) = 9dbc788c08357e2207f08290a014267f306ead76
 SHA1 (patch-ay) = f8a787d5a6611890d65fa8b0411977fd5c0bc7e9
@@ -45,3 +45,4 @@
 SHA1 (patch-bn) = 57972d7c9712755833dc97559edded528e38aa97
 SHA1 (patch-bo) = c04e9b0103b03559896de098a4beea7c3f5c311d
 SHA1 (patch-bp) = f79cfc4a9bd18397611e3dd46b4b85675054da6c
+SHA1 (patch-bq) = dba28647f096cde0ff682ed60f7fea473f74c008
diff -r 6ffe10068cea -r f76540e8a4fb chat/icb/patches/patch-av
--- a/chat/icb/patches/patch-av Fri Jul 24 00:12:16 2009 +0000
+++ b/chat/icb/patches/patch-av Fri Jul 24 01:24:38 2009 +0000
@@ -1,13 +1,14 @@
-$NetBSD: patch-av,v 1.2 2008/12/17 02:19:59 christos Exp $
+$NetBSD: patch-av,v 1.3 2009/07/24 01:24:39 christos Exp $
 
 --- icb/unix.c.orig    1995-02-24 16:20:31.000000000 -0500
-+++ icb/unix.c 2008-12-16 21:16:10.000000000 -0500
-@@ -7,20 +7,26 @@
++++ icb/unix.c 2009-07-23 21:22:34.000000000 -0400
+@@ -7,20 +7,27 @@
  #include <stdio.h>
  #include "icb.h"
  #include "externs.h"
 +#include <limits.h>
  #include <pwd.h>
++#include <time.h>
  #include <sys/dir.h>
  
  #undef stty
@@ -31,7 +32,7 @@
  #define TTYSTRUCT sgttyb
  #define stty(fd,buf) ioctl((fd),TIOCSETN,(buf))
  #define gtty(fd,buf) ioctl((fd),TIOCGETP,(buf))
-@@ -30,6 +36,7 @@
+@@ -30,6 +37,7 @@
  #define stty(fd,buf) ioctl((fd),TCSETA,(buf))
  #define gtty(fd,buf) ioctl((fd),TCGETA,(buf))
  #endif /* SYSV */
@@ -39,7 +40,7 @@
  
  char *getlogin();
  
-@@ -65,13 +72,16 @@
+@@ -65,13 +73,16 @@
  
  /* set line buffering for an open file pointer */
  /* output will be flushed every newline */
@@ -58,7 +59,7 @@
  }
  
  
-@@ -79,13 +89,13 @@
+@@ -79,13 +90,13 @@
  pushback(c)
  char c;
  {
@@ -75,7 +76,7 @@
  }
  
  
-@@ -94,25 +104,25 @@
+@@ -94,25 +105,25 @@
  
  getterm()
  {
@@ -109,7 +110,7 @@
        /* get local special chars */
        if (ioctl(0, TIOCGLTC, &lt) < 0) {
                ttyinfo.redraw = '\022'; /* ^R */
-@@ -121,10 +131,10 @@
+@@ -121,10 +132,10 @@
                ttyinfo.redraw = lt.t_rprntc;
                ttyinfo.werase = lt.t_werasc;
        }
@@ -122,7 +123,7 @@
  
        /* get the current window size */
        getwinsize();
-@@ -145,14 +155,14 @@
+@@ -145,14 +156,14 @@
        bcopy((char *)&origtty, (char *)&tty, (unsigned)sizeof(struct TTYSTRUCT));
  
        /* turn on cbreak - turn off echo */
@@ -142,7 +143,7 @@
  
        echomode = 0;
        /* set the new flags */
-@@ -206,7 +216,11 @@
+@@ -206,7 +217,11 @@
        struct passwd *pw;
        char login[17];
        char *p = login;
@@ -154,7 +155,7 @@
  
        /* has to start with a tilde */
        if (*s++ != '~')
-@@ -258,11 +272,11 @@
+@@ -258,11 +273,11 @@
        }
  
        /* turn on echo */
@@ -170,7 +171,7 @@
  
        echomode = 1;
  
-@@ -287,11 +301,11 @@
+@@ -287,11 +302,11 @@
        }
  
        /* turn off echo */
diff -r 6ffe10068cea -r f76540e8a4fb chat/icb/patches/patch-bq
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/icb/patches/patch-bq Fri Jul 24 01:24:38 2009 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-bq,v 1.3 2009/07/24 01:24:39 christos Exp $
+
+--- icb/main.c.orig    1995-02-24 16:20:24.000000000 -0500
++++ icb/main.c 2009-07-23 21:19:32.000000000 -0400
+@@ -7,6 +7,7 @@
+ #include "externs.h"
+ #include <sys/wait.h>
+ #include <sys/dir.h>
++#include <time.h>
+ #include "getswitch.h"
+ 
+ char *optv[] = { "clear", "list", "who", "restricted", "nickname:", "group:",



Home | Main Index | Thread Index | Old Index