commit: 76f1a2cd1a585f4f89867925b448b9e055573dec Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Sun Oct 22 10:01:21 2023 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Sun Oct 22 10:04:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76f1a2cd
app-misc/mc: skip problematic iconv-related test on musl Obviously not a proper solution but I really need upstream feedback on this, and they have yet to even acknowledge the relevant bug on their tracker. Url: https://midnight-commander.org/ticket/4495 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> app-misc/mc/files/mc-4.8.30-musl-tests.patch | 15 +++++++++++++++ app-misc/mc/mc-4.8.30-r1.ebuild | 5 ++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/app-misc/mc/files/mc-4.8.30-musl-tests.patch b/app-misc/mc/files/mc-4.8.30-musl-tests.patch new file mode 100644 index 000000000000..0e8ea32e2990 --- /dev/null +++ b/app-misc/mc/files/mc-4.8.30-musl-tests.patch @@ -0,0 +1,15 @@ +--- a/tests/lib/vfs/path_len.c ++++ b/tests/lib/vfs/path_len.c +@@ -89,12 +89,6 @@ + "/тестовый/путь", + 26 + }, +-#ifdef HAVE_CHARSET +- { /* 3. */ +- "/#enc:KOI8-R/тестовый/путь", +- 38 +- }, +-#endif /* HAVE_CHARSET */ + }; + /* *INDENT-ON* */ + diff --git a/app-misc/mc/mc-4.8.30-r1.ebuild b/app-misc/mc/mc-4.8.30-r1.ebuild index 8bd59fa87beb..170bcb1bb4dd 100644 --- a/app-misc/mc/mc-4.8.30-r1.ebuild +++ b/app-misc/mc/mc-4.8.30-r1.ebuild @@ -55,7 +55,10 @@ PATCHES=( src_prepare() { default - # patch touches configure.ac + + # Bug #906194 + use elibc_musl && eapply "${FILESDIR}"/${PN}-4.8.30-musl-tests.patch + eautoreconf }
