summaryrefslogtreecommitdiff
path: root/net/cia/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-12-30 21:46:58 +0000
committertron <tron@pkgsrc.org>2004-12-30 21:46:58 +0000
commit60ba1e26e690f21559b780a00d798fb533b73bd6 (patch)
tree8398fe45cc3a65a65d3cb38508964fd9e29d6f64 /net/cia/patches
parent38ada7fafb68187bd666ad36abcd429f0995c5f5 (diff)
downloadpkgsrc-60ba1e26e690f21559b780a00d798fb533b73bd6.tar.gz
Fix build errors under NetBSD-current triggered by the recent changes
to "ctype.h".
Diffstat (limited to 'net/cia/patches')
-rw-r--r--net/cia/patches/patch-aa30
-rw-r--r--net/cia/patches/patch-ab44
2 files changed, 74 insertions, 0 deletions
diff --git a/net/cia/patches/patch-aa b/net/cia/patches/patch-aa
new file mode 100644
index 00000000000..8f14dce8414
--- /dev/null
+++ b/net/cia/patches/patch-aa
@@ -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 --git a/net/cia/patches/patch-ab b/net/cia/patches/patch-ab
new file mode 100644
index 00000000000..edd663e02f2
--- /dev/null
+++ b/net/cia/patches/patch-ab
@@ -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;