diff options
author | wulf <wulf> | 2006-04-21 02:07:53 +0000 |
---|---|---|
committer | wulf <wulf> | 2006-04-21 02:07:53 +0000 |
commit | afc2de9b6008f0b2f52bb2f765bc2ce4828aefec (patch) | |
tree | 2f90b14a663cfcbd94aef93973d8de3422184351 /ham/dpbox/patches/patch-ao | |
parent | ce5b3f0eceff86e9657e526b8624c2a5ce56cb3d (diff) | |
download | pkgsrc-afc2de9b6008f0b2f52bb2f765bc2ce4828aefec.tar.gz |
Implemented changes for this package to use the REQD_DIR and CONF_FILES
framework for the installation of the configuration files.
Fixed compile warning message due to implicit casting
Diffstat (limited to 'ham/dpbox/patches/patch-ao')
-rw-r--r-- | ham/dpbox/patches/patch-ao | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/ham/dpbox/patches/patch-ao b/ham/dpbox/patches/patch-ao index b2858c82f10..2e427965c59 100644 --- a/ham/dpbox/patches/patch-ao +++ b/ham/dpbox/patches/patch-ao @@ -1,8 +1,26 @@ -$NetBSD: patch-ao,v 1.1 2006/01/24 22:27:07 joerg Exp $ +$NetBSD: patch-ao,v 1.2 2006/04/21 02:07:54 wulf Exp $ ---- box.c.orig 2006-01-24 22:12:35.000000000 +0000 -+++ box.c -@@ -4297,6 +4297,8 @@ void begruessung(short unr) +--- box.c.orig 2000-04-27 22:18:52.000000000 +0930 ++++ box.c 2006-04-14 11:45:42.000000000 +0930 +@@ -2226,7 +2226,7 @@ + } + FORLIM1 = strlen(hs); + for (x = 0; x < FORLIM1; x++) { +- if (!(isupper(hs[x]) || isdigit(hs[x]))) hs[x] = ' '; ++ if (!(isupper((u_char)hs[x]) || isdigit((u_char)hs[x]))) hs[x] = ' '; + } + wlnuser(unr, hs); + rset = false; +@@ -3609,7 +3609,7 @@ + x = k + 1; + l = strlen(com); + while (x <= l && com[x - 1] == ' ') x++; +- while (x <= l && isdigit(com[x - 1])) { ++ while (x <= l && isdigit((u_char) com[x - 1])) { + sprintf(hs + strlen(hs), "%c", com[x - 1]); + x++; + } +@@ -4297,6 +4297,8 @@ wlnuser(unr, hs); #ifdef __NetBSD__ sprintf(w, "dpbox (NetBSD) v%s%s", dp_vnr, dp_vnr_sub); |