From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Locale-gettext/files/, dev-perl/Locale-gettext/
Date: Tue, 29 Oct 2024 03:49:01 +0000 (UTC) [thread overview]
Message-ID: <1730173517.084f4c950b6c51ea5fc9892aec270097566c86a0.sam@gentoo> (raw)
commit: 084f4c950b6c51ea5fc9892aec270097566c86a0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 29 03:45:17 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 29 03:45:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=084f4c95
dev-perl/Locale-gettext: fix tests (w >=glibc-2.35?)
Closes: https://bugs.gentoo.org/935393
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../Locale-gettext/Locale-gettext-1.70.0-r1.ebuild | 7 ++++--
.../files/Locale-gettext-1.70.0-tests.patch | 26 ++++++++++++++++++++++
2 files changed, 31 insertions(+), 2 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/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;
+ }
+
next reply other threads:[~2024-10-29 3:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-29 3:49 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-01-05 12:10 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Locale-gettext/files/, dev-perl/Locale-gettext/ Mikle Kolyada
2017-10-27 2:50 Kent Fredric
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1730173517.084f4c950b6c51ea5fc9892aec270097566c86a0.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox