mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
perlPackages.UnicodeString: fix build (also imapsync)
This commit is contained in:
parent
04d4d0000f
commit
1845159705
2 changed files with 14 additions and 0 deletions
11
pkgs/development/perl-modules/Unicode-String-perl-5-22.patch
Normal file
11
pkgs/development/perl-modules/Unicode-String-perl-5-22.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
diff -ru libunicode-string-perl-2.09.pristine/lib/Unicode/CharName.pm libunicode-string-perl-2.09/lib/Unicode/CharName.pm
|
||||
--- libunicode-string-perl-2.09.pristine/lib/Unicode/CharName.pm 2005-10-25 19:11:00.000000000 +0100
|
||||
+++ libunicode-string-perl-2.09/lib/Unicode/CharName.pm 2012-01-24 12:56:59.730653088 +0000
|
||||
@@ -77,7 +77,7 @@
|
||||
return join("", "HANGUL SYLLABLE ", @s)
|
||||
}
|
||||
}
|
||||
- _init_names() unless defined %NAMES;
|
||||
+ _init_names() unless %NAMES;
|
||||
$NAMES{sprintf("%04X",$code)}
|
||||
}
|
|
@ -13202,6 +13202,9 @@ let self = _self // overrides; _self = with self; {
|
|||
|
||||
UnicodeString = buildPerlPackage rec {
|
||||
name = "Unicode-String-2.09";
|
||||
patches = [
|
||||
../development/perl-modules/Unicode-String-perl-5-22.patch
|
||||
];
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/G/GA/GAAS/${name}.tar.gz";
|
||||
sha256 = "1bgsaf3dgmlgyvi84r42ysc037mr5280amnypa4d98jfjpdvw5y8";
|
||||
|
|
Loading…
Reference in a new issue