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() {

Reply via email to