perlPackages.UnicodeString: fix build (also imapsync)
commit18451597059455d3dd7683dad42d6d5f58d7f8de
authorDomen Kožar <domen@dev.si>
dateWed 30 Mar 2016, 21:06 (11 years ago)
parent04d4d00
pkgs/development/perl-modules/Unicode-String-perl-5-22.patchnew file+11
@@ -0,0 +1,11 @@
1+diff -ru libunicode-string-perl-2.09.pristine/lib/Unicode/CharName.pm libunicode-string-perl-2.09/lib/Unicode/CharName.pm
2+--- libunicode-string-perl-2.09.pristine/lib/Unicode/CharName.pm 2005-10-25 19:11:00.000000000 +0100
3++++ libunicode-string-perl-2.09/lib/Unicode/CharName.pm 2012-01-24 12:56:59.730653088 +0000
4+@@ -77,7 +77,7 @@
5+ return join("", "HANGUL SYLLABLE ", @s)
6+ }
7+ }
8+- _init_names() unless defined %NAMES;
9++ _init_names() unless %NAMES;
10+ $NAMES{sprintf("%04X",$code)}
11+ }
pkgs/top-level/perl-packages.nix+3
@@ -13202,6 +13202,9 @@ let self = _self // overrides; _self = with self; {
1320213202
1320313203 UnicodeString = buildPerlPackage rec {
1320413204 name = "Unicode-String-2.09";
13205+ patches = [
13206+ ../development/perl-modules/Unicode-String-perl-5-22.patch
13207+ ];
1320513208 src = fetchurl {
1320613209 url = "mirror://cpan/authors/id/G/GA/GAAS/${name}.tar.gz";
1320713210 sha256 = "1bgsaf3dgmlgyvi84r42ysc037mr5280amnypa4d98jfjpdvw5y8";