pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/cia Fix build errors under NetBSD-current triggere...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f23d98b220ef
branches:  trunk
changeset: 486621:f23d98b220ef
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Dec 30 21:46:58 2004 +0000

description:
Fix build errors under NetBSD-current triggered by the recent changes
to "ctype.h".

diffstat:

 net/cia/distinfo         |   4 +++-
 net/cia/patches/patch-aa |  30 ++++++++++++++++++++++++++++++
 net/cia/patches/patch-ab |  44 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 77 insertions(+), 1 deletions(-)

diffs (93 lines):

diff -r 7ed4148a4239 -r f23d98b220ef net/cia/distinfo
--- a/net/cia/distinfo  Thu Dec 30 21:19:09 2004 +0000
+++ b/net/cia/distinfo  Thu Dec 30 21:46:58 2004 +0000
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.4 2003/09/22 11:27:59 tron Exp $
+$NetBSD: distinfo,v 1.5 2004/12/30 21:46:58 tron Exp $
 
 SHA1 (cia-20030922.tar.bz2) = 9d0b06c99c6943493ff47412bcb36efde67e40ca
 Size (cia-20030922.tar.bz2) = 7645 bytes
+SHA1 (patch-aa) = b98e4dcec8970eb7b1ba4463705ab287a32d7944
+SHA1 (patch-ab) = d028726f1db48a41dff1db0968ffce23dc1c9af9
diff -r 7ed4148a4239 -r f23d98b220ef net/cia/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/cia/patches/patch-aa  Thu Dec 30 21:46:58 2004 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.3 2004/12/30 21:46:58 tron Exp $
+
+--- ipmon2ipstat/ipmon2ipstat.c.orig   2000-01-18 13:36:44.000000000 +0000
++++ ipmon2ipstat/ipmon2ipstat.c        2004-12-30 21:41:37.000000000 +0000
+@@ -1,6 +1,6 @@
+ /*
+ 
+-      $Id: patch-aa,v 1.3 2004/12/30 21:46:58 tron Exp $
++      $Id: patch-aa,v 1.3 2004/12/30 21:46:58 tron Exp $
+ 
+ */
+ 
+@@ -41,7 +41,7 @@
+    if (*Line==NULL) break;
+ 
+    Ptr=*Line;
+-   while (isspace(*Ptr)) Ptr++;
++   while (isspace((int)*Ptr)) Ptr++;
+    if (*Ptr=='\0')
+     {
+      *Line=NULL;
+@@ -50,7 +50,7 @@
+    if (Index--==0) First=Ptr;
+ 
+    while (*Ptr!='\0')
+-    if (isspace(*Ptr))
++    if (isspace((int)*Ptr))
+      {
+       *Ptr++='\0';
+       break;
diff -r 7ed4148a4239 -r f23d98b220ef net/cia/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/cia/patches/patch-ab  Thu Dec 30 21:46:58 2004 +0000
@@ -0,0 +1,44 @@
+$NetBSD: patch-ab,v 1.1 2004/12/30 21:46:58 tron Exp $
+
+--- ipstat/config.c.orig       1999-07-11 23:03:58.000000000 +0100
++++ ipstat/config.c    2004-12-30 21:41:39.000000000 +0000
+@@ -1,6 +1,6 @@
+ /*
+ 
+-        $Id: patch-ab,v 1.1 2004/12/30 21:46:58 tron Exp $
++        $Id: patch-ab,v 1.1 2004/12/30 21:46:58 tron Exp $
+ 
+ */
+ 
+@@ -56,11 +56,11 @@
+   {
+    (*Line)++;
+ 
+-   while (isspace(*Ptr)) Ptr++;
++   while (isspace((int)*Ptr)) Ptr++;
+    if (*Ptr=='#') continue;
+ 
+    Len=strlen(Ptr);
+-   while ((Len>0)&&isspace(Ptr[Len-1])) Len--;
++   while ((Len>0)&&isspace((int)Ptr[Len-1])) Len--;
+    if (Len==0) continue;
+ 
+    Ptr[Len]='\0';
+@@ -76,7 +76,7 @@
+  char *Word,*Ptr;
+ 
+  Ptr=*Buffer;
+- while (isspace(*Ptr)) Ptr++;
++ while (isspace((int)*Ptr)) Ptr++;
+  if (*Ptr=='\0') return NULL;
+ 
+  if (AllowQuotes&&(*Ptr=='"'))
+@@ -90,7 +90,7 @@
+   {
+    Word=Ptr;
+    while (*Ptr!='\0')
+-    if (isspace(*Ptr))
++    if (isspace((int)*Ptr))
+      {
+       *Ptr++='\0';
+       break;



Home | Main Index | Thread Index | Old Index