diff options
author | erwin <erwin@FreeBSD.org> | 2004-01-13 03:45:17 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2004-01-13 03:45:17 +0800 |
commit | e83a6c39856a3aab3c622a76a9a4f0c2527f8b44 (patch) | |
tree | fbe29822463e5bafe26af45215021c0b28985f36 /converters | |
parent | e47ce1ba88b91a52775cdc9704b5130bc709dd49 (diff) | |
download | freebsd-ports-gnome-e83a6c39856a3aab3c622a76a9a4f0c2527f8b44.tar.gz freebsd-ports-gnome-e83a6c39856a3aab3c622a76a9a4f0c2527f8b44.tar.zst freebsd-ports-gnome-e83a6c39856a3aab3c622a76a9a4f0c2527f8b44.zip |
- Fix usage of isXDIGIT() by calling the isxdigit() macro
- Remove BORKEN and bump PORTREVISION
Submitted by: Barney Wolff <barney@databus.com>
Tested by: pav
Diffstat (limited to 'converters')
-rw-r--r-- | converters/p5-MIME-Base64/Makefile | 9 | ||||
-rw-r--r-- | converters/p5-MIME-Base64/files/patch-Base64.xs | 11 |
2 files changed, 13 insertions, 7 deletions
diff --git a/converters/p5-MIME-Base64/Makefile b/converters/p5-MIME-Base64/Makefile index a439ec4c73fa..08a921cb99c7 100644 --- a/converters/p5-MIME-Base64/Makefile +++ b/converters/p5-MIME-Base64/Makefile @@ -7,6 +7,7 @@ PORTNAME= MIME-Base64 PORTVERSION= 2.23 +PORTREVISION= 1 CATEGORIES= converters perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= MIME @@ -20,10 +21,4 @@ PERL_CONFIGURE= YES MAN3= MIME::Base64.3 \ MIME::QuotedPrint.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -BROKEN= Does not run. -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/converters/p5-MIME-Base64/files/patch-Base64.xs b/converters/p5-MIME-Base64/files/patch-Base64.xs new file mode 100644 index 000000000000..0c6cd05d2f80 --- /dev/null +++ b/converters/p5-MIME-Base64/files/patch-Base64.xs @@ -0,0 +1,11 @@ +--- Base64.xs.orig Thu Jan 8 09:07:26 2004 ++++ Base64.xs Mon Jan 12 13:46:56 2004 +@@ -399,7 +399,7 @@ + whitespace = 0; + } + if (*str == '=') { +- if ((str + 2) < end && isXDIGIT(str[1]) && isXDIGIT(str[2])) { ++ if ((str + 2) < end && isxdigit(str[1]) && isxdigit(str[2])) { + char buf[3]; + str++; + buf[0] = *str++; |