From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1674819-garchives=archives.gentoo.org@lists.gentoo.org>
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 (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8EB0F158090
	for <garchives@archives.gentoo.org>; Sun, 29 Sep 2024 16:23:58 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 765DBE2A2B;
	Sun, 29 Sep 2024 16:23:57 +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 60B4AE2A2A
	for <gentoo-commits@lists.gentoo.org>; Sun, 29 Sep 2024 16:23:57 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 97F58343247
	for <gentoo-commits@lists.gentoo.org>; Sun, 29 Sep 2024 16:23:56 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E79C0268D
	for <gentoo-commits@lists.gentoo.org>; Sun, 29 Sep 2024 16:23:54 +0000 (UTC)
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" <arthurzam@gentoo.org>
Message-ID: <1727627017.c602d5854eb775dc7cbadab688a4a5374d71254e.arthurzam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-text/dos2unix/dos2unix-7.5.2.ebuild
X-VCS-Directories: app-text/dos2unix/
X-VCS-Committer: arthurzam
X-VCS-Committer-Name: Arthur Zamarin
X-VCS-Revision: c602d5854eb775dc7cbadab688a4a5374d71254e
X-VCS-Branch: master
Date: Sun, 29 Sep 2024 16:23:54 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 68549933-7fc8-43e0-998a-010db780bed4
X-Archives-Hash: d0b657c1bb3e3f1d72738be03a509ead

commit:     c602d5854eb775dc7cbadab688a4a5374d71254e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 16:18:01 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 16:23:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c602d585

app-text/dos2unix: fix tests on musl

The `locale` binary is called during tests (not compile). On glibc
supplied by glibc, but not part of musl, so we need musl-locales.

Closes: https://bugs.gentoo.org/833996
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-text/dos2unix/dos2unix-7.5.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-text/dos2unix/dos2unix-7.5.2.ebuild b/app-text/dos2unix/dos2unix-7.5.2.ebuild
index 1f2978127daa..bff0f07b514e 100644
--- a/app-text/dos2unix/dos2unix-7.5.2.ebuild
+++ b/app-text/dos2unix/dos2unix-7.5.2.ebuild
@@ -33,6 +33,7 @@ DEPEND="
 BDEPEND="
 	dev-lang/perl
 	nls? ( sys-devel/gettext )
+	test? ( elibc_musl? ( sys-apps/musl-locales ) )
 "
 
 handle_locales() {