summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authortv <tv>2004-12-08 14:55:56 +0000
committertv <tv>2004-12-08 14:55:56 +0000
commit96594d1f9c78cb7b2e23572949bfac9fb671b535 (patch)
treef096458397f91336ff49521562106502ae688b9f /comms
parent861ccd9119076e5172570d4cf85ff410a32a9fb7 (diff)
downloadpkgsrc-96594d1f9c78cb7b2e23572949bfac9fb671b535.tar.gz
Fix build for NetBSD 2.99.x: should cast arg to ctype macros to
"unsigned char" first. (Oddly enough, this was being done just a few lines prior when using the values as array indexes.)
Diffstat (limited to 'comms')
-rw-r--r--comms/fidogate/distinfo3
-rw-r--r--comms/fidogate/patches/patch-av22
2 files changed, 24 insertions, 1 deletions
diff --git a/comms/fidogate/distinfo b/comms/fidogate/distinfo
index b4680f88e9e..1d5a748963d 100644
--- a/comms/fidogate/distinfo
+++ b/comms/fidogate/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2004/08/23 15:18:02 tv Exp $
+$NetBSD: distinfo,v 1.8 2004/12/08 14:55:56 tv Exp $
SHA1 (fidogate-4.4.9.tar.gz) = 7d23802931a67b5b3cc256f5dd85d8b2c47ab4fe
Size (fidogate-4.4.9.tar.gz) = 1186562 bytes
@@ -23,3 +23,4 @@ SHA1 (patch-ar) = 0883b75e210d635f7e9f49c9b2b5d3978645953b
SHA1 (patch-as) = daf5a80d044933c17f8ab556bebc0765af1439e3
SHA1 (patch-at) = f6b3fe0bac12489d314e3a1b39bfe67d67b14374
SHA1 (patch-au) = 90b0a4630b3029b34752972a7e7892b63462a703
+SHA1 (patch-av) = dec5e163dcba702d929f4242083ac942abbf2160
diff --git a/comms/fidogate/patches/patch-av b/comms/fidogate/patches/patch-av
new file mode 100644
index 00000000000..2f24b26aed0
--- /dev/null
+++ b/comms/fidogate/patches/patch-av
@@ -0,0 +1,22 @@
+$NetBSD: patch-av,v 1.1 2004/12/08 14:55:56 tv Exp $
+
+--- src/common/areas.c.orig 2004-12-08 09:53:06.000000000 -0500
++++ src/common/areas.c
+@@ -369,7 +369,7 @@ static Area *area_build(Area *pa, char *
+ if(areas_x_a[(unsigned char)*q])
+ *p = areas_x_a[(unsigned char)*q];
+ else
+- *p = tolower(*q);
++ *p = tolower((unsigned char)*q);
+ *p = 0;
+ }
+
+@@ -386,7 +386,7 @@ static Area *area_build(Area *pa, char *
+ if(areas_x_g[(unsigned char)*q])
+ *p = areas_x_g[(unsigned char)*q];
+ else
+- *p = toupper(*q);
++ *p = toupper((unsigned char)*q);
+ *p = 0;
+ }
+