summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2004-11-14 13:35:20 +0000
committerhira <hira@pkgsrc.org>2004-11-14 13:35:20 +0000
commit4db665ea08bbd6f561719eeeadc9eca2a419c0db (patch)
tree9723bcc3aa08d478438e2eb6da34f8749b42da33 /net
parentbd1b1ea8d6c97d715abc1da0d8f7c9da7fb9616a (diff)
downloadpkgsrc-4db665ea08bbd6f561719eeeadc9eca2a419c0db.tar.gz
Cast an argument to isxdigit(3) to unsigned char. Fix build on
NetBSD/amd64. OK'd by tron@.
Diffstat (limited to 'net')
-rw-r--r--net/wakeup/distinfo4
-rw-r--r--net/wakeup/patches/patch-aa12
2 files changed, 9 insertions, 7 deletions
diff --git a/net/wakeup/distinfo b/net/wakeup/distinfo
index 3328d2e72f9..c856f48a09e 100644
--- a/net/wakeup/distinfo
+++ b/net/wakeup/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2003/09/25 12:08:30 tron Exp $
+$NetBSD: distinfo,v 1.4 2004/11/14 13:35:20 hira Exp $
SHA1 (hpwake.c.gz) = 9df23297ac93cf48aed2929990b80bff0143675a
Size (hpwake.c.gz) = 1193 bytes
-SHA1 (patch-aa) = 0104cbbbef74c97ef146a6d41e513eee58073a7b
+SHA1 (patch-aa) = 74a88fa25b4deee4449e61ab11a06e5db0e3a8f0
diff --git a/net/wakeup/patches/patch-aa b/net/wakeup/patches/patch-aa
index 49858095523..f1715c1ebe0 100644
--- a/net/wakeup/patches/patch-aa
+++ b/net/wakeup/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.3 2003/09/25 12:08:30 tron Exp $
+$NetBSD: patch-aa,v 1.4 2004/11/14 13:35:20 hira Exp $
---- hpwake.c.orig 2003-09-25 14:06:58.000000000 +0200
-+++ hpwake.c 2003-09-25 14:07:18.000000000 +0200
+--- hpwake.c.orig 2004-11-14 21:56:25.000000000 +0900
++++ hpwake.c 2004-11-14 21:57:36.000000000 +0900
@@ -16,8 +16,10 @@
email: wann@server7.ik.mb.uni-siegen.de
*/
@@ -22,11 +22,13 @@ $NetBSD: patch-aa,v 1.3 2003/09/25 12:08:30 tron Exp $
int get_magicpacket(packet,arg)
-@@ -42,7 +46,7 @@
+@@ -41,8 +45,8 @@
+ char *a;
for (a = arg; *a; a++)
- if (*a != ':' && !isxdigit(*a)) {
+- if (*a != ':' && !isxdigit(*a)) {
- fprintf(stderr, "MAC Adresse muss hexadezimal angegeben werden! [00:11:22:33:44:55]\n");
++ if (*a != ':' && !isxdigit((unsigned char)*a)) {
+ fprintf(stderr, "MAC address must be given in hex! [00:11:22:33:44:55]\n");
exit(2);
}