summaryrefslogtreecommitdiff
path: root/dev-perl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-06 16:26:18 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-06 16:26:18 +0100
commit3221bf225fb68a31e281fcdbfde4cea0d576d946 (patch)
tree63e4f978840b705bebc18062b4d599ae75fd32e1 /dev-perl
parent64b277f858d171900cba8a53e675ef8c3ff893fc (diff)
gentoo auto-resync : 06:09:2023 - 16:26:18
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/Manifest.gzbin285280 -> 285285 bytes
-rw-r--r--dev-perl/Net-IDN-Encode/Manifest2
-rw-r--r--dev-perl/Net-IDN-Encode/Net-IDN-Encode-2.500.0-r2.ebuild30
-rw-r--r--dev-perl/Net-IDN-Encode/files/2.500.0-use-uvchr_to_utf8_flags-instead-of-uvuni_to_utf8_fla.patch41
4 files changed, 73 insertions, 0 deletions
diff --git a/dev-perl/Manifest.gz b/dev-perl/Manifest.gz
index 01dfaf73b368..a4553de0daf9 100644
--- a/dev-perl/Manifest.gz
+++ b/dev-perl/Manifest.gz
Binary files differ
diff --git a/dev-perl/Net-IDN-Encode/Manifest b/dev-perl/Net-IDN-Encode/Manifest
index 9b22a35162f6..9b723851bc95 100644
--- a/dev-perl/Net-IDN-Encode/Manifest
+++ b/dev-perl/Net-IDN-Encode/Manifest
@@ -1,3 +1,5 @@
+AUX 2.500.0-use-uvchr_to_utf8_flags-instead-of-uvuni_to_utf8_fla.patch 1377 BLAKE2B 8e9103adcb8f8d26cb244149d50a24ddbd64ba720085e8ea78d7dad07ea2b8513244e6b73fc38a6e28d2d1ee07a5364d8e8d64415dd1fd8e46a751ba9a7f2972 SHA512 4ee4c4ed7a0482e350085bf4ce247b141b2a7ae8145d87258ea05c9f541fe203b8c992dcb139da1192dd78eb6012c47a43c804602f82dbb765e20ef397e87c55
DIST Net-IDN-Encode-2.500.tar.gz 648108 BLAKE2B 04ad7d093d4e296d12e7f1c6effe3d39bd96e4b748e28bbf54f73832470dfa1fc49e1c6bec089196f9543e7e129c8d02870ce01695503d473258d3e0a934506b SHA512 3537309ea391e4f762eb8ce43929bfa024d63ee59c94f8d2ea16179aa6ad66ecef29188551749593302f14dc5b3182dbce18ebaf5176a34b40d6fa5b7e5763fb
EBUILD Net-IDN-Encode-2.500.0-r1.ebuild 631 BLAKE2B 7eff3bfc7266f805e46f142e44c148cda826999c0fa5c4a86525516f5090e097bf9d52c5fc13f6c5ab6877399bdfa312bb6d14c9c09ce527d73ed4e8e772fc14 SHA512 4a606e302febc5e5d89abd7d2a41e640ad99efe02dd7f1e5a7c38090fa9ec42a40ec5591a575e0c9cfce671970085f9337419f64246e7b8dc44ab00f570f2946
+EBUILD Net-IDN-Encode-2.500.0-r2.ebuild 731 BLAKE2B befaffa1dffbfee944792940532a7fc0e43d722601ff9adb36708c3cd22278825da1d7178c21420b8b0a77ba347f3031254f57379aad415b61a17b395e2be4b6 SHA512 7a7c4cd99ef24aff2bbcbfe53c855aca512179be08e6634bffe371ff5d7a1f032cb5d497d9cf0cd0d49ab5c54b185a0773160e25ee16c01c7dc599b087bc0dd3
MISC metadata.xml 598 BLAKE2B 6289e042cf2587242a97fdd211769ff1e74eeeb9db8873bb9267e684c7fe4c74da2900578a0b5d4d1258020471f481e09084a2533c88f1179fa0a9dc7b72b056 SHA512 c00e9f40374ebe67c44abd40e93537b89e2e54df9d5ac7531492ae6d584cc31ff4f5d2c03e11f02a67c6acd548ceff2a41b2fea3377ecad01bb2d6e041e8723c
diff --git a/dev-perl/Net-IDN-Encode/Net-IDN-Encode-2.500.0-r2.ebuild b/dev-perl/Net-IDN-Encode/Net-IDN-Encode-2.500.0-r2.ebuild
new file mode 100644
index 000000000000..e05859eb73eb
--- /dev/null
+++ b/dev-perl/Net-IDN-Encode/Net-IDN-Encode-2.500.0-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=CFAERBER
+DIST_VERSION=2.500
+DIST_EXAMPLES=("eg/*")
+inherit perl-module
+
+DESCRIPTION="Internationalizing Domain Names in Applications (IDNA)"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+RDEPEND="
+ virtual/perl-Unicode-Normalize
+"
+BDEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-CBuilder
+ >=dev-perl/Module-Build-0.420.0
+ test? (
+ virtual/perl-Test-Simple
+ dev-perl/Test-NoWarnings
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-use-uvchr_to_utf8_flags-instead-of-uvuni_to_utf8_fla.patch
+)
diff --git a/dev-perl/Net-IDN-Encode/files/2.500.0-use-uvchr_to_utf8_flags-instead-of-uvuni_to_utf8_fla.patch b/dev-perl/Net-IDN-Encode/files/2.500.0-use-uvchr_to_utf8_flags-instead-of-uvuni_to_utf8_fla.patch
new file mode 100644
index 000000000000..a8eff51ffd03
--- /dev/null
+++ b/dev-perl/Net-IDN-Encode/files/2.500.0-use-uvchr_to_utf8_flags-instead-of-uvuni_to_utf8_fla.patch
@@ -0,0 +1,41 @@
+https://bugs.gentoo.org/912440
+https://github.com/cfaerber/Net-IDN-Encode/pull/11
+
+From: Shin Kojima <shin@kojima.org>
+Date: Sun, 23 Jul 2023 13:15:59 +0900
+Subject: [PATCH] use uvchr_to_utf8_flags instead of uvuni_to_utf8_flags (which
+ is removed in perl 5.38.0)
+
+https://perldoc.perl.org/5.36.0/perlintern#uvuni_to_utf8_flags
+Signed-off-by: Shin Kojima <shin@kojima.org>
+---
+ lib/Net/IDN/Punycode.xs | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/lib/Net/IDN/Punycode.xs b/lib/Net/IDN/Punycode.xs
+index 211ef9c..36530dd 100644
+--- a/lib/Net/IDN/Punycode.xs
++++ b/lib/Net/IDN/Punycode.xs
+@@ -24,6 +24,10 @@
+ #define utf8_to_uvchr_buf(in_p,in_e,u8) utf8_to_uvchr(in_p,u8);
+ #endif
+
++#ifndef uvchr_to_utf8_flags
++#define uvchr_to_utf8_flags(d, uv, flags) uvuni_to_utf8_flags(d, uv, flags);
++#endif
++
+ static char enc_digit[BASE] = {
+ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
+ 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
+@@ -253,7 +257,7 @@ decode_punycode(input)
+ if(skip_p < re_p) /* move succeeding chars */
+ Move(skip_p, skip_p + u8, re_p - skip_p, char);
+ re_p += u8;
+- uvuni_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY);
++ uvchr_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY);
+ }
+
+ if(!first) SvUTF8_on(RETVAL); /* UTF-8 chars have been inserted */
+--
+2.41.0
+