Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 870071 Details for
Bug 913854
dev-perl/MIME-tools-5.510.0: warning due to incorrect MIME::QuotedPrint version parsing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Debian patch
0001-Fix-MIME-QuotedPrint-version-parsing.patch (text/plain), 1.32 KB, created by
Jiri Novosad
on 2023-09-08 07:47:01 UTC
(
hide
)
Description:
Debian patch
Filename:
MIME Type:
Creator:
Jiri Novosad
Created:
2023-09-08 07:47:01 UTC
Size:
1.32 KB
patch
obsolete
>From 5964839271fd856076da6c7ed7822bcd39324c82 Mon Sep 17 00:00:00 2001 >From: Niko Tyni <ntyni@debian.org> >Date: Sat, 29 Jul 2023 18:54:01 +0100 >Subject: [PATCH] Fix MIME::QuotedPrint version parsing > >Perl 5.38 bundles MIME::QuotedPrint at version 3.16_01 which is not >numeric, causing spurious warnings on usage. > >Bug-Debian: https://bugs.debian.org/1040377 >Forwarded: https://rt.cpan.org/Ticket/Display.html?id=149225 >Bug: https://rt.cpan.org/Ticket/Display.html?id=149225 >--- > lib/MIME/Decoder/QuotedPrint.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/lib/MIME/Decoder/QuotedPrint.pm b/lib/MIME/Decoder/QuotedPrint.pm >index 89bb3da..1a8a7ec 100644 >--- a/lib/MIME/Decoder/QuotedPrint.pm >+++ b/lib/MIME/Decoder/QuotedPrint.pm >@@ -1,6 +1,7 @@ > package MIME::Decoder::QuotedPrint; > use strict; > use warnings; >+use version; > > > =head1 NAME >@@ -73,7 +74,7 @@ $VERSION = "5.510"; > # The following code is horrible. I know. Beat me up. --dfs > BEGIN { > if (!defined(&encode_qp_threearg)) { >- if ($::MIME::QuotedPrint::VERSION >= 3.03) { >+ if (version->parse($::MIME::QuotedPrint::VERSION) >= version->parse(3.03)) { > eval 'sub encode_qp_threearg ( $$$ ) { encode_qp(shift, shift, shift); }'; > } else { > eval 'sub encode_qp_threearg ( $$$ ) { encode_qp(shift); }'; >-- >2.39.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 913854
: 870071