perlPackages.NetIDNEncode: fix use of function removed in Perl 5.38.0

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2024-12-28 12:41:38 +01:00
parent ba00c29619
commit a49023bcb5
+9
View File
@@ -18875,6 +18875,15 @@ with self; {
url = "mirror://cpan/authors/id/C/CF/CFAERBER/Net-IDN-Encode-2.500.tar.gz";
hash = "sha256-VUU2M+P/JM4yWzS8LIFXuYWZYqMatc8ov3zMHJs6Pqo=";
};
patches = [
# Fix use of function removed in Perl 5.38.0
# https://github.com/cfaerber/Net-IDN-Encode/pull/11
(fetchpatch2 {
name = "Net-IDN-Encode-use-uvchr_to_utf8_flags.patch";
url = "https://github.com/cfaerber/Net-IDN-Encode/commit/3ebe6f2e239b470efcb64a044edc8202798188af.diff";
hash = "sha256-t/BulZoyRvpi+TKNxKFxUS1y3X7bGi1sG7mG75nW/Gc=";
})
];
buildInputs = [ TestNoWarnings ];
perlPreHook = "export LD=$CC";
meta = {