aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-MIME-Tools
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-09-07 09:51:01 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-09-07 09:51:01 +0000
commit66eb802bc38e1af460018e9fdf08ec3b7ecfcb07 (patch)
treef394cff514635bfe07943b18242b44f5ceab41df /mail/p5-MIME-Tools
parent45d8d4e71d6dc4e040dcc0a2269e9635c1c4c772 (diff)
downloadports-66eb802bc38e1af460018e9fdf08ec3b7ecfcb07.tar.gz
ports-66eb802bc38e1af460018e9fdf08ec3b7ecfcb07.zip
Fix the workaround for corrupted PDF files, so that all other kind of data are
decoded and not just wiped out :-) Approved by: portmgr (krion) Pointy Hat To: mbr
Notes
Notes: svn path=/head/; revision=118131
Diffstat (limited to 'mail/p5-MIME-Tools')
-rw-r--r--mail/p5-MIME-Tools/Makefile2
-rw-r--r--mail/p5-MIME-Tools/files/patch-Decoder-qpdecode-pdf2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/p5-MIME-Tools/Makefile b/mail/p5-MIME-Tools/Makefile
index dc70ca2c1e7a..03408bef8b18 100644
--- a/mail/p5-MIME-Tools/Makefile
+++ b/mail/p5-MIME-Tools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= p5-MIME-Tools
PORTVERSION= 5.411a
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 2
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
diff --git a/mail/p5-MIME-Tools/files/patch-Decoder-qpdecode-pdf b/mail/p5-MIME-Tools/files/patch-Decoder-qpdecode-pdf
index 7f5da10e9bcb..a111e989f194 100644
--- a/mail/p5-MIME-Tools/files/patch-Decoder-qpdecode-pdf
+++ b/mail/p5-MIME-Tools/files/patch-Decoder-qpdecode-pdf
@@ -34,7 +34,7 @@
+ $output =~ s/=([\da-fA-F]{2})/pack("C", hex($1))/ge;
+ $out->print($output);
+ } else {
-+ $out->print(decode_qp($output));
++ $out->print(decode_qp($_));
+ }
}
1;