perlPackages.EncodeIMAPUTF7: patch to fix build with 540
This commit is contained in:
parent
0671159dae
commit
2a1179ccb8
13
pkgs/development/perl-modules/encode-imaputf7.patch
Normal file
13
pkgs/development/perl-modules/encode-imaputf7.patch
Normal 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
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user