summaryrefslogtreecommitdiff
path: root/dev-perl/Locale-gettext
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-30 03:04:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-10-30 03:04:35 +0000
commitfb57e01054259b1160d01c3c7ed9efab7902ed7d (patch)
tree42985349c49b2294954c1923df85be8bfa0c0957 /dev-perl/Locale-gettext
parentbd35a61d88b111f25f4b10126e0d4755545fc7a5 (diff)
gentoo auto-resync : 30:10:2024 - 03:04:35
Diffstat (limited to 'dev-perl/Locale-gettext')
-rw-r--r--dev-perl/Locale-gettext/Locale-gettext-1.70.0-r1.ebuild7
-rw-r--r--dev-perl/Locale-gettext/Manifest3
-rw-r--r--dev-perl/Locale-gettext/files/Locale-gettext-1.70.0-tests.patch26
3 files changed, 33 insertions, 3 deletions
diff --git a/dev-perl/Locale-gettext/Locale-gettext-1.70.0-r1.ebuild b/dev-perl/Locale-gettext/Locale-gettext-1.70.0-r1.ebuild
index b3e4c7625bcd..bfb5f65d4732 100644
--- a/dev-perl/Locale-gettext/Locale-gettext-1.70.0-r1.ebuild
+++ b/dev-perl/Locale-gettext/Locale-gettext-1.70.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,6 +20,9 @@ BDEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
-PATCHES=("${FILESDIR}/${P}-no-dot-inc.patch")
+PATCHES=(
+ "${FILESDIR}/${P}-no-dot-inc.patch"
+ "${FILESDIR}/${P}-tests.patch"
+)
S="${WORKDIR}/${PN}-${DIST_VERSION}"
diff --git a/dev-perl/Locale-gettext/Manifest b/dev-perl/Locale-gettext/Manifest
index e3e0a531bfc2..bb1a83cb0af6 100644
--- a/dev-perl/Locale-gettext/Manifest
+++ b/dev-perl/Locale-gettext/Manifest
@@ -1,4 +1,5 @@
AUX Locale-gettext-1.70.0-no-dot-inc.patch 2576 BLAKE2B 026fe094e7cff34eb0192076a333349f6ec875c59eeca21658a4f16b8817b796b4830d5540ad77d0ca71d47dfbb5a009256bf1d8ccd1d2fb6da91be72ddeddc0 SHA512 af169db6991e968e29dcc760030919cc619e4bd9f13b4f20d707914674aa5c53dabeaec0e9f29254dbf9250fc96e6ace36a86a50b1dc5af0e1573bf4485047d2
+AUX Locale-gettext-1.70.0-tests.patch 765 BLAKE2B 9586755d496384dc184f5d55e32c19202bb08ba3f0e640211ed8e70bacb88196788674ad410afb2d2c9032576c0dc4c8603d0e0d87f34eff86f8f5e45dffc4c6 SHA512 f5af6b16a495d8d26cbf04703f4a9d9a2ab6682a53ce60e423aa8b8b73fad70635ab5b49b0da0b5fe0c94a7b799d11eeb0425aac8326ba357c32ccf488a50c9d
DIST gettext-1.07.tar.gz 8651 BLAKE2B ecdc105303c0b494d53f985ca0d789d75da33abc85e8579a43af1658d6faa18e2564e18fc6613548acc2add4ce847d03769c1fbe29dbb760b9498f4b251cbb1c SHA512 d3716a597d586ee2ff29472ca7b13aaf67770299de31e5f12abafebc879bbe4a1e1dbc0025cf4f3dc29992955f26cffc3be387d974c3911af095d5b49e67a1c6
-EBUILD Locale-gettext-1.70.0-r1.ebuild 602 BLAKE2B 67d48dca1e8b4897ae393ac8471e0cc3b461fca79a0f48e5554958c43969b1fa340a4a1cfcf83bf7dd669b6f982e99ad668aa42887c8cd5506b8da81c443529f SHA512 24354135c3a6b1bf156b23b101ac79c9aa32b145dfe29b05d31045a50d6705a13f195148338646e2d5b39a1a11963e483a065fd16d8d64bc36dc67837d4c46b6
+EBUILD Locale-gettext-1.70.0-r1.ebuild 637 BLAKE2B acd91fd9c9a76de0542327ac5d9ffed5ca0a8bcc94932f9700a68e0a6b893243596004952756bf25da26084064af58e2cd177a0aab9af6d3b7520e6465a4f20f SHA512 a15d93f02b70b397a43b82352e253685650e75b2cb9abe37c5d2d05a0c4532d480746fd199bc56dfca5fd859de3236e15dc6fa9f147c8473be115fc8c6f276a7
MISC metadata.xml 394 BLAKE2B 88891eace10d60f3346fb2fade54dfbe59821c029951ad25f10935d1cead59c4e71ec79c13d795d0b811f6adeeebe7b0a407ca84474fd53440b330af0733a3c8 SHA512 f8f4cebb2d947b4cb3af9982f130539c4cbfdcdabf5b385b6cf812f8d6b8cfa004e9d5cb29b4352853df67905363214670c642c32fd9a570350143d60e009b8b
diff --git a/dev-perl/Locale-gettext/files/Locale-gettext-1.70.0-tests.patch b/dev-perl/Locale-gettext/files/Locale-gettext-1.70.0-tests.patch
new file mode 100644
index 000000000000..e84470c84244
--- /dev/null
+++ b/dev-perl/Locale-gettext/files/Locale-gettext-1.70.0-tests.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/935393
+https://github.com/vandry/Perl-Locale-gettext/issues/7
+https://github.com/vandry/Perl-Locale-gettext/pull/4
+
+From e6e30992fa4ca3e7ecf417a23a9c46af8f671226 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Salvador=20Fandi=C3=B1o?= <sfandino@yahoo.com>
+Date: Fri, 27 Oct 2017 16:22:54 +0200
+Subject: [PATCH] skip for C.UTF-8 too
+
+--- a/t/lib/gen_test_data.pl
++++ b/t/lib/gen_test_data.pl
+@@ -28,11 +28,11 @@ sub gen {
+ skip("cannot run test without a locale set", 0);
+ exit 0;
+ }
+- if ($messages eq 'C') {
++ if ($messages =~ /^C(\..*)?$/) {
+ skip("cannot run test in the C locale", 0);
+ exit 0;
+ }
+- if ($messages eq 'POSIX') {
++ if ($messages =~ /^POSIX(\..*)?$/) {
+ skip("cannot run test in the POSIX locale", 0);
+ exit 0;
+ }
+