pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/i2cbd Make this package build on NetBSD-current b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab6c2b5c0d4a
branches:  trunk
changeset: 486590:ab6c2b5c0d4a
user:      agc <agc%pkgsrc.org@localhost>
date:      Thu Dec 30 11:10:22 2004 +0000

description:
Make this package build on NetBSD-current by casting arguments to ctype
macros where necessary.

Bump package revision.

diffstat:

 chat/i2cbd/Makefile         |   3 ++-
 chat/i2cbd/distinfo         |   4 +++-
 chat/i2cbd/patches/patch-ad |  13 +++++++++++++
 chat/i2cbd/patches/patch-ae |  22 ++++++++++++++++++++++
 4 files changed, 40 insertions(+), 2 deletions(-)

diffs (70 lines):

diff -r b67446d2b81b -r ab6c2b5c0d4a chat/i2cbd/Makefile
--- a/chat/i2cbd/Makefile       Thu Dec 30 11:05:04 2004 +0000
+++ b/chat/i2cbd/Makefile       Thu Dec 30 11:10:22 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2004/04/11 05:50:10 snj Exp $
+# $NetBSD: Makefile,v 1.10 2004/12/30 11:10:22 agc Exp $
 #
 
 DISTNAME=      i2cbd-2.0_BETA1
+PKGREVISION=   1
 CATEGORIES=    chat
 MASTER_SITES=  ${MASTER_SITE_LOCAL}
 
diff -r b67446d2b81b -r ab6c2b5c0d4a chat/i2cbd/distinfo
--- a/chat/i2cbd/distinfo       Thu Dec 30 11:05:04 2004 +0000
+++ b/chat/i2cbd/distinfo       Thu Dec 30 11:10:22 2004 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.4 2003/10/24 21:12:18 jwise Exp $
+$NetBSD: distinfo,v 1.5 2004/12/30 11:10:22 agc Exp $
 
 SHA1 (i2cbd-2.0_BETA1.tar.gz) = d3578637f834a8628c270e1e9fd6db7683d1603c
 Size (i2cbd-2.0_BETA1.tar.gz) = 59007 bytes
 SHA1 (patch-aa) = 0151f8e68be11e759425d2e9569df3d465c50931
 SHA1 (patch-ab) = bca8ecb0f41be6405333f2bcf7722dc725ffc777
 SHA1 (patch-ac) = ca8e6b7324a22fb9ecabf2374e34febb55196e28
+SHA1 (patch-ad) = 3cf3cc389861f38fe6d12a896717f3716fa85bdf
+SHA1 (patch-ae) = 52c7d65cfb4c453d9e3d135d903373f99a15131a
diff -r b67446d2b81b -r ab6c2b5c0d4a chat/i2cbd/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/i2cbd/patches/patch-ad       Thu Dec 30 11:10:22 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2004/12/30 11:10:22 agc Exp $
+
+--- src/msgs.c 2004/12/30 11:06:20     1.1
++++ src/msgs.c 2004/12/30 11:06:33
+@@ -207,7 +207,7 @@
+           access_file = open(ACCESS_FILE, O_RDONLY);
+           if (access_file >= 0) {
+              while ((i = read(access_file, &c, 1)) > 0) {
+-                  if (isspace(c)) {
++                  if (isspace((unsigned char)c)) {
+                           ucaseit(three);
+                           if (!fnmatch(three, one, 0)) {
+                              snprintf(line, LINE_SIZE, "Login refused for %s", one);
diff -r b67446d2b81b -r ab6c2b5c0d4a chat/i2cbd/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/i2cbd/patches/patch-ae       Thu Dec 30 11:10:22 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1 2004/12/30 11:10:22 agc Exp $
+
+--- src/strings.c      2004/12/30 11:07:38     1.1
++++ src/strings.c      2004/12/30 11:08:03
+@@ -78,7 +78,7 @@
+ lcaseit(char *s)
+ {
+       for (; *s; s++)
+-              *s = tolower(*s);
++              *s = tolower((unsigned char)*s);
+ }
+ 
+ /* convert a string to upper case */
+@@ -86,7 +86,7 @@
+ ucaseit(char *s)
+ {
+       for (; *s; s++)
+-              *s = toupper(*s);
++              *s = toupper((unsigned char)*s);
+ }
+ 
+ char *



Home | Main Index | Thread Index | Old Index