From e3a2c0573899c8fb77f5151bb22bb8b3a27408fc Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 30 Dec 2004 11:05:04 +0000 Subject: Make this package build on NetBSD-current by casting args (where necessary) to ctype macros. Bump package revision. --- chat/i2cb/Makefile | 4 ++-- chat/i2cb/distinfo | 7 +++++-- chat/i2cb/patches/patch-aj | 11 ++++++++++- chat/i2cb/patches/patch-at | 13 +++++++++++++ chat/i2cb/patches/patch-au | 13 +++++++++++++ chat/i2cb/patches/patch-av | 13 +++++++++++++ 6 files changed, 56 insertions(+), 5 deletions(-) create mode 100644 chat/i2cb/patches/patch-at create mode 100644 chat/i2cb/patches/patch-au create mode 100644 chat/i2cb/patches/patch-av (limited to 'chat/i2cb') diff --git a/chat/i2cb/Makefile b/chat/i2cb/Makefile index 0dadf7a42c5..769b82480d1 100644 --- a/chat/i2cb/Makefile +++ b/chat/i2cb/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.11 2004/10/03 00:13:14 tv Exp $ +# $NetBSD: Makefile,v 1.12 2004/12/30 11:05:04 agc Exp $ # DISTNAME= i2cb-6.0_ALPHA -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_LOCAL} diff --git a/chat/i2cb/distinfo b/chat/i2cb/distinfo index 1cdda9957e0..665ed099bdc 100644 --- a/chat/i2cb/distinfo +++ b/chat/i2cb/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2004/04/13 21:19:48 hubertf Exp $ +$NetBSD: distinfo,v 1.6 2004/12/30 11:05:04 agc Exp $ SHA1 (i2cb-6.0_ALPHA.tar.gz) = 6d2ddd234403fe33426ece3fd4de4104cf1a6257 Size (i2cb-6.0_ALPHA.tar.gz) = 73607 bytes @@ -11,7 +11,7 @@ SHA1 (patch-af) = 779ecab95384f8fa24000c90f6671317d6276c83 SHA1 (patch-ag) = e2bf71557fa486371e0d26ff8d5716ae0924a498 SHA1 (patch-ah) = 1785c0f09a7a0f83b7cb886e9e749959b1753972 SHA1 (patch-ai) = f2b83d20f6357dd6cb3e468b573c46d6123cae39 -SHA1 (patch-aj) = 11d36d24e7574b32b0bd0eee62f8dc98bcbb8ec3 +SHA1 (patch-aj) = 710c961ce5f88d7462154e42ed4aab3b4ba56b38 SHA1 (patch-ak) = 0b907a2f7104e0e05a3ec62859190c9203960a91 SHA1 (patch-al) = 4c8b87c515fd7278dcfb37b62a44317e7d95442d SHA1 (patch-am) = 24d700b5e95248bc54253893bfbf4a664db50ace @@ -21,3 +21,6 @@ SHA1 (patch-ap) = f04fea14ab6a07095f6b2f95c693988563aa4f3a SHA1 (patch-aq) = f07edc14636f1321f8c0b5c98e4962f3bfb1eee5 SHA1 (patch-ar) = 9fea79c9d7f701962e40f1b311c38b538029e633 SHA1 (patch-as) = 67627f9beb5336fa5859aa150bb44fc7b3e5c6cf +SHA1 (patch-at) = a3b7923523347da20ac763c96b6dfbfeb13e296d +SHA1 (patch-au) = 591bae1fcfe43ba86ec29c5ca53322bad5b572e7 +SHA1 (patch-av) = 3ebe9872953147e9694f36e76584482167d2f34a diff --git a/chat/i2cb/patches/patch-aj b/chat/i2cb/patches/patch-aj index 9838b07c778..5b0d1802e43 100644 --- a/chat/i2cb/patches/patch-aj +++ b/chat/i2cb/patches/patch-aj @@ -1,4 +1,4 @@ -$NetBSD: patch-aj,v 1.1 2003/02/05 15:44:22 dmcmahill Exp $ +$NetBSD: patch-aj,v 1.2 2004/12/30 11:05:04 agc Exp $ --- src/serverlist.c.orig Wed Mar 15 17:13:29 2000 +++ src/serverlist.c @@ -10,3 +10,12 @@ $NetBSD: patch-aj,v 1.1 2003/02/05 15:44:22 dmcmahill Exp $ #include #include #include +@@ -138,7 +139,7 @@ + + index = 0; + +- while (line[index] && isspace(line[index])) ++ while (line[index] && isspace((unsigned char)line[index])) + ++index; + + if (!line[index] || line[index] == '#') diff --git a/chat/i2cb/patches/patch-at b/chat/i2cb/patches/patch-at new file mode 100644 index 00000000000..0caa85ddbcd --- /dev/null +++ b/chat/i2cb/patches/patch-at @@ -0,0 +1,13 @@ +$NetBSD: patch-at,v 1.1 2004/12/30 11:05:04 agc Exp $ + +--- src/getline.c 2004/12/30 10:56:25 1.1 ++++ src/getline.c 2004/12/30 10:56:44 +@@ -96,7 +96,7 @@ + words++; + for (i=0; i size ; ++i) + { + length = size; +- while (!isspace(s[length-1])&&length>1) ++ while (!isspace((unsigned char)s[length-1])&&length>1) + length--; + + ch='\0'; -- cgit v1.2.3