summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-12-08 14:55:56 +0000
committertv <tv@pkgsrc.org>2004-12-08 14:55:56 +0000
commit4f218f6ec42922b629b52a572c27c068da1d5a21 (patch)
treef096458397f91336ff49521562106502ae688b9f /comms
parentc70f2d31647b2c9b67904bc3026b8d51f5656c66 (diff)
downloadpkgsrc-4f218f6ec42922b629b52a572c27c068da1d5a21.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;
+ }
+