aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-MIME-Tools
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-09-07 17:51:01 +0800
committermat <mat@FreeBSD.org>2004-09-07 17:51:01 +0800
commit2ecbe6007085b702de4245e8de4f5d897fcbeb0c (patch)
tree18c811f150db57fa32f794690acd38eb5f374b83 /mail/p5-MIME-Tools
parent5b6928bf0b9e7860cfac9c2b092fd993c883117b (diff)
downloadfreebsd-ports-gnome-2ecbe6007085b702de4245e8de4f5d897fcbeb0c.tar.gz
freebsd-ports-gnome-2ecbe6007085b702de4245e8de4f5d897fcbeb0c.tar.zst
freebsd-ports-gnome-2ecbe6007085b702de4245e8de4f5d897fcbeb0c.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
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;