diff options
author | joerg <joerg> | 2005-12-29 23:31:35 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-12-29 23:31:35 +0000 |
commit | 2a76b2688760850f23b6ce433c25cec27d0e218b (patch) | |
tree | 4791c12353442d55bbf07521f00b5a3449241a9a | |
parent | dc4af9b68c2480748f67aa0de86a2c226439027e (diff) | |
download | pkgsrc-2a76b2688760850f23b6ce433c25cec27d0e218b.tar.gz |
Fix ctype issues. Bump revision.
-rw-r--r-- | comms/fidogate/Makefile | 4 | ||||
-rw-r--r-- | comms/fidogate/distinfo | 9 | ||||
-rw-r--r-- | comms/fidogate/patches/patch-ay | 22 | ||||
-rw-r--r-- | comms/fidogate/patches/patch-az | 16 | ||||
-rw-r--r-- | comms/fidogate/patches/patch-ba | 22 | ||||
-rw-r--r-- | comms/fidogate/patches/patch-bb | 13 | ||||
-rw-r--r-- | comms/fidogate/patches/patch-bc | 22 | ||||
-rw-r--r-- | comms/fidogate/patches/patch-bd | 13 | ||||
-rw-r--r-- | comms/fidogate/patches/patch-be | 13 |
9 files changed, 131 insertions, 3 deletions
diff --git a/comms/fidogate/Makefile b/comms/fidogate/Makefile index d214d022cd9..5ad01f03f33 100644 --- a/comms/fidogate/Makefile +++ b/comms/fidogate/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.47 2005/12/29 06:21:34 jlam Exp $ +# $NetBSD: Makefile,v 1.48 2005/12/29 23:31:35 joerg Exp $ # DISTNAME= fidogate-4.4.10 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= comms MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fidogate/} diff --git a/comms/fidogate/distinfo b/comms/fidogate/distinfo index 330381cb7c1..315f4acfbd6 100644 --- a/comms/fidogate/distinfo +++ b/comms/fidogate/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2005/12/20 10:19:09 rillig Exp $ +$NetBSD: distinfo,v 1.13 2005/12/29 23:31:35 joerg Exp $ SHA1 (fidogate-4.4.10.tar.gz) = 531305ac82963d5bd6398d2e8e350676bbc9c5eb RMD160 (fidogate-4.4.10.tar.gz) = 09b8dfa7304089ff27c7c39c1b6004aef00edadf @@ -26,3 +26,10 @@ SHA1 (patch-at) = 5fa13046a1557b84f2b75b55001435ba8fe09ede SHA1 (patch-av) = dec5e163dcba702d929f4242083ac942abbf2160 SHA1 (patch-aw) = ca20e868bade0466a1a3c5e590993f6cbe6d6143 SHA1 (patch-ax) = e619113f5d8d9c703bf847bfca0e0585608d15b9 +SHA1 (patch-ay) = bd79290605c61a1e85580d5f7740c71f24357fa0 +SHA1 (patch-az) = 535246ecb494643ada6fbe047c1b3e0a31ada388 +SHA1 (patch-ba) = 8f71c50675c6abe12baa8e0b97b49c97e726d6ca +SHA1 (patch-bb) = 459c67658e27e3523b6090769f4d0b0527eac07a +SHA1 (patch-bc) = 8a7cd05276c0e0e70724cdbb91b2583a2b01deff +SHA1 (patch-bd) = 86e96bb67283d2b90401d63921e7b4c9151a6590 +SHA1 (patch-be) = 44c722acbcaed7f5497c54602460046492d60827 diff --git a/comms/fidogate/patches/patch-ay b/comms/fidogate/patches/patch-ay new file mode 100644 index 00000000000..3060bc6865b --- /dev/null +++ b/comms/fidogate/patches/patch-ay @@ -0,0 +1,22 @@ +$NetBSD: patch-ay,v 1.1 2005/12/29 23:31:36 joerg Exp $ + +--- src/common/misc.c.orig 2005-12-30 00:09:32.000000000 +0100 ++++ src/common/misc.c +@@ -124,7 +124,7 @@ char *str_lastp(char *s, size_t len) + */ + char *str_lower(char *s) + { +- char *p; ++ unsigned char *p; + + if(!s) + return NULL; +@@ -143,7 +143,7 @@ char *str_lower(char *s) + */ + char *str_upper(char *s) + { +- char *p; ++ unsigned char *p; + + if(!s) + return NULL; diff --git a/comms/fidogate/patches/patch-az b/comms/fidogate/patches/patch-az new file mode 100644 index 00000000000..9a90ce27509 --- /dev/null +++ b/comms/fidogate/patches/patch-az @@ -0,0 +1,16 @@ +$NetBSD: patch-az,v 1.1 2005/12/29 23:31:36 joerg Exp $ + +--- src/common/msgid.c.orig 2005-12-30 00:11:24.000000000 +0100 ++++ src/common/msgid.c +@@ -320,9 +320,9 @@ char *s_msgid_rfc_to_fido(int *origid_fl + */ + node.domain[0] = 0; + p = id; +- hexflag = isxdigit(*p) && *p!='0'; ++ hexflag = isxdigit((unsigned char)*p) && *p!='0'; + for(p++, i=0; i<7 && *p && *p!='%'; i++, p++) +- if(!isxdigit(*p)) ++ if(!isxdigit((unsigned char)*p)) + hexflag = FALSE; + if(hexflag && *p=='%') /* Domain part follows */ + { diff --git a/comms/fidogate/patches/patch-ba b/comms/fidogate/patches/patch-ba new file mode 100644 index 00000000000..e6b1c538150 --- /dev/null +++ b/comms/fidogate/patches/patch-ba @@ -0,0 +1,22 @@ +$NetBSD: patch-ba,v 1.1 2005/12/29 23:31:36 joerg Exp $ + +--- src/common/parsedate.y.orig 2005-12-30 00:13:31.000000000 +0100 ++++ src/common/parsedate.y +@@ -41,7 +41,7 @@ typedef char *STRING; + typedef char *CSTRING; + #endif /* defined(__STDC__) */ + +-#define CTYPE(isXXXXX, c) ((isascii((c)) && isXXXXX((c)))) ++#define CTYPE(isXXXXX, c) ((isascii((unsigned char)(c)) && isXXXXX((unsigned char)(c)))) + + /* Stuff from inn macros.h */ + #define SIZEOF(array) ((int)(sizeof array / sizeof array[0])) +@@ -738,7 +738,7 @@ date_lex(void) + if (CTYPE(isalpha, c)) { + for (p = buff; (c = *yyInput++) == '.' || CTYPE(isalpha, c); ) + if (p < &buff[sizeof buff - 1]) +- *p++ = CTYPE(isupper, c) ? tolower(c) : c; ++ *p++ = CTYPE(isupper, c) ? tolower((unsigned char)c) : c; + *p = '\0'; + yyInput--; + return LookupWord(buff, p - buff); diff --git a/comms/fidogate/patches/patch-bb b/comms/fidogate/patches/patch-bb new file mode 100644 index 00000000000..778a82c8d26 --- /dev/null +++ b/comms/fidogate/patches/patch-bb @@ -0,0 +1,13 @@ +$NetBSD: patch-bb,v 1.1 2005/12/29 23:31:36 joerg Exp $ + +--- src/charset/charsetc.c.orig 2005-12-30 00:21:07.000000000 +0100 ++++ src/charset/charsetc.c +@@ -79,7 +79,7 @@ int charset_parse_c(char *s) + s++; + while(is_xdigit(s[0]) && n<2) + { +- s[0] = toupper(s[0]); ++ s[0] = toupper((unsigned char)s[0]); + val = val * 16 + s[0] - (s[0]>'9' ? 'A'-10 : '0'); + s++; + n++; diff --git a/comms/fidogate/patches/patch-bc b/comms/fidogate/patches/patch-bc new file mode 100644 index 00000000000..d3f7b4df059 --- /dev/null +++ b/comms/fidogate/patches/patch-bc @@ -0,0 +1,22 @@ +$NetBSD: patch-bc,v 1.1 2005/12/29 23:31:36 joerg Exp $ + +--- src/ffx/ffxqt.c.orig 2005-12-30 00:22:33.000000000 +0100 ++++ src/ffx/ffxqt.c +@@ -127,7 +127,7 @@ void parse_ffxcmd() + cmd = xstrtok(NULL, "\n"); + if(!name || !cmd) + continue; +- while(isspace(*cmd)) ++ while(isspace((unsigned char)*cmd)) + cmd++; + + debug(8, "config: FFXCommand %s %s", name, cmd); +@@ -443,7 +443,7 @@ int exec_ffx(FFX *ffx) + return ERROR; + if(!args) + args = ""; +- while(isspace(*args)) ++ while(isspace((unsigned char)*args)) + args++; + + /* Find command and uncompressor */ diff --git a/comms/fidogate/patches/patch-bd b/comms/fidogate/patches/patch-bd new file mode 100644 index 00000000000..ee3dc1103f1 --- /dev/null +++ b/comms/fidogate/patches/patch-bd @@ -0,0 +1,13 @@ +$NetBSD: patch-bd,v 1.1 2005/12/29 23:31:36 joerg Exp $ + +--- src/gate/ftn2rfc.c.orig 2005-12-30 00:24:28.000000000 +0100 ++++ src/gate/ftn2rfc.c +@@ -272,7 +272,7 @@ int check_valid_domain(char *s) + return FALSE; + while(*s) + { +- if(!isalnum(*s) && *s!='-' && *s!='.') ++ if(!isalnum((unsigned char)*s) && *s!='-' && *s!='.') + return FALSE; + s++; + } diff --git a/comms/fidogate/patches/patch-be b/comms/fidogate/patches/patch-be new file mode 100644 index 00000000000..caf981223a6 --- /dev/null +++ b/comms/fidogate/patches/patch-be @@ -0,0 +1,13 @@ +$NetBSD: patch-be,v 1.1 2005/12/29 23:31:36 joerg Exp $ + +--- src/gate/rfc2ftn.c.orig 2005-12-30 00:26:00.000000000 +0100 ++++ src/gate/rfc2ftn.c +@@ -619,7 +619,7 @@ void cvt_user_name(char *s) + * capitalized. If no '_' chars are found, '.' are converted to + * spaces (User.Name@p.f.n.z.fidonet.org addressing style). + */ +- convert_flag = isupper(*s) ? -1 : 1; ++ convert_flag = isupper((unsigned char)*s) ? -1 : 1; + us_flag = strchr(s, '_') || strchr(s, ' ') || strchr(s, '@'); + + for(; *s; s++) { |