mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
- Fix usage of isXDIGIT() by calling the isxdigit() macro
- Remove BORKEN and bump PORTREVISION Submitted by: Barney Wolff <barney@databus.com> Tested by: pav
This commit is contained in:
parent
40d3dbf236
commit
b2e40a1cf8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98007
@ -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>
|
||||
|
11
converters/p5-MIME-Base64/files/patch-Base64.xs
Normal file
11
converters/p5-MIME-Base64/files/patch-Base64.xs
Normal file
@ -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++;
|
Loading…
x
Reference in New Issue
Block a user