summaryrefslogtreecommitdiff
path: root/comms/fidogate
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-12-20 10:19:09 +0000
committerrillig <rillig@pkgsrc.org>2005-12-20 10:19:09 +0000
commitf419e8a607db73ba6b3666cab92b5664b8f93eb5 (patch)
tree79370620daf3fd819f5a4648dd50468d4573e98d /comms/fidogate
parent26f310544edee94797b9076b338e55442eccdeee (diff)
downloadpkgsrc-f419e8a607db73ba6b3666cab92b5664b8f93eb5.tar.gz
Added patch-ax, which fixes ctype issues. Bumped PKGREVISION because the
generated code changes.
Diffstat (limited to 'comms/fidogate')
-rw-r--r--comms/fidogate/Makefile3
-rw-r--r--comms/fidogate/distinfo3
-rw-r--r--comms/fidogate/patches/patch-ax35
3 files changed, 39 insertions, 2 deletions
diff --git a/comms/fidogate/Makefile b/comms/fidogate/Makefile
index e8c78870d0d..04c7d8d6f88 100644
--- a/comms/fidogate/Makefile
+++ b/comms/fidogate/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.43 2005/12/05 20:49:54 rillig Exp $
+# $NetBSD: Makefile,v 1.44 2005/12/20 10:19:09 rillig Exp $
#
DISTNAME= fidogate-4.4.10
+PKGREVISION= 1
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fidogate/}
diff --git a/comms/fidogate/distinfo b/comms/fidogate/distinfo
index 4061fa73abe..330381cb7c1 100644
--- a/comms/fidogate/distinfo
+++ b/comms/fidogate/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2005/12/19 15:10:18 joerg Exp $
+$NetBSD: distinfo,v 1.12 2005/12/20 10:19:09 rillig Exp $
SHA1 (fidogate-4.4.10.tar.gz) = 531305ac82963d5bd6398d2e8e350676bbc9c5eb
RMD160 (fidogate-4.4.10.tar.gz) = 09b8dfa7304089ff27c7c39c1b6004aef00edadf
@@ -25,3 +25,4 @@ SHA1 (patch-as) = daf5a80d044933c17f8ab556bebc0765af1439e3
SHA1 (patch-at) = 5fa13046a1557b84f2b75b55001435ba8fe09ede
SHA1 (patch-av) = dec5e163dcba702d929f4242083ac942abbf2160
SHA1 (patch-aw) = ca20e868bade0466a1a3c5e590993f6cbe6d6143
+SHA1 (patch-ax) = e619113f5d8d9c703bf847bfca0e0585608d15b9
diff --git a/comms/fidogate/patches/patch-ax b/comms/fidogate/patches/patch-ax
new file mode 100644
index 00000000000..b31749885f0
--- /dev/null
+++ b/comms/fidogate/patches/patch-ax
@@ -0,0 +1,35 @@
+$NetBSD: patch-ax,v 1.1 2005/12/20 10:19:09 rillig Exp $
+
+Keywords: ctype
+
+--- src/common/mime.c.orig Sun Aug 22 22:19:11 2004
++++ src/common/mime.c Tue Dec 20 11:12:02 2005
+@@ -32,12 +32,13 @@
+
+ #include "fidogate.h"
+
++#define uchar(c) ((unsigned char) (c))
+
+-static int is_qpx (int);
++static int is_qpx (unsigned char);
+ static int x2toi (char *);
+
+
+-static int is_qpx(int c)
++static int is_qpx(unsigned char c)
+ {
+ return isxdigit(c) /**is_digit(c) || (c>='A' && c<='F')**/ ;
+ }
+@@ -48,10 +49,10 @@ static int x2toi(char *s)
+ int val = 0;
+ int n;
+
+- n = toupper(*s) - (isalpha(*s) ? 'A'-10 : '0');
++ n = toupper(uchar(*s)) - (isalpha(uchar(*s)) ? 'A'-10 : '0');
+ val = val*16 + n;
+ s++;
+- n = toupper(*s) - (isalpha(*s) ? 'A'-10 : '0');
++ n = toupper(uchar(*s)) - (isalpha(uchar(*s)) ? 'A'-10 : '0');
+ val = val*16 + n;
+
+ return val;