perlPackages.UnicodeString: fix build (also imapsync)

This commit is contained in:
Domen Kožar 2016-03-30 21:06:28 +01:00
parent 04d4d0000f
commit 1845159705
2 changed files with 14 additions and 0 deletions

View 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)}
}

View File

@ -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";