perlPackages.EncodeIMAPUTF7: patch to fix build with 540

This commit is contained in:
Marcus Ramberg 2024-08-03 13:08:28 +02:00 committed by Stig Palmquist
parent 0671159dae
commit 2a1179ccb8
No known key found for this signature in database
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/lib/Encode/IMAPUTF7.pm b/lib/Encode/IMAPUTF7.pm
index 07835b9..411c57f 100644
--- a/lib/Encode/IMAPUTF7.pm
+++ b/lib/Encode/IMAPUTF7.pm
@@ -9,6 +9,8 @@ __PACKAGE__->Define('IMAP-UTF-7', 'imap-utf-7');
our $VERSION = '1.05';
use MIME::Base64;
use Encode;
+use Exporter 'import';
+our @EXPORT_OK = qw(encode decode);
#
# Algorithms taken from Unicode::String by Gisle Aas

View File

@ -8790,6 +8790,9 @@ with self; {
description = "IMAP modified UTF-7 encoding";
license = with lib.licenses; [ artistic1 gpl1Plus ];
};
patches = [
../development/perl-modules/encode-imaputf7.patch
];
};
EncodeJIS2K = buildPerlPackage {