From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8BD27158042 for ; Tue, 29 Oct 2024 03:49:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2055E07A7; Tue, 29 Oct 2024 03:49:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 60CA6E07A7 for ; Tue, 29 Oct 2024 03:49:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E6C9342FB6 for ; Tue, 29 Oct 2024 03:49:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7959B03 for ; Tue, 29 Oct 2024 03:49:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1730173517.084f4c950b6c51ea5fc9892aec270097566c86a0.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Locale-gettext/files/, dev-perl/Locale-gettext/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Locale-gettext/Locale-gettext-1.70.0-r1.ebuild dev-perl/Locale-gettext/files/Locale-gettext-1.70.0-tests.patch X-VCS-Directories: dev-perl/Locale-gettext/files/ dev-perl/Locale-gettext/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 084f4c950b6c51ea5fc9892aec270097566c86a0 X-VCS-Branch: master Date: Tue, 29 Oct 2024 03:49:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 51185ebe-7c7b-49d5-9751-788af298d99e X-Archives-Hash: 7ccfa2cd00e4e9362d639a4a70756c9d commit: 084f4c950b6c51ea5fc9892aec270097566c86a0 Author: Sam James gentoo org> AuthorDate: Tue Oct 29 03:45:17 2024 +0000 Commit: Sam James gentoo 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 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?= +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; + } +