summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-10-22 11:01:21 +0100
committerMarek Szuba <marecki@gentoo.org>2023-10-22 11:04:49 +0100
commit76f1a2cd1a585f4f89867925b448b9e055573dec (patch)
treef1570a7eda05d1a310d405d8caf83abcb7b17fc3 /app-misc/mc
parentelisp-common.eclass: Set no-native-compile in generated files (diff)
downloadgentoo-76f1a2cd1a585f4f89867925b448b9e055573dec.tar.gz
gentoo-76f1a2cd1a585f4f89867925b448b9e055573dec.tar.bz2
gentoo-76f1a2cd1a585f4f89867925b448b9e055573dec.zip
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@gentoo.org>
Diffstat (limited to 'app-misc/mc')
-rw-r--r--app-misc/mc/files/mc-4.8.30-musl-tests.patch15
-rw-r--r--app-misc/mc/mc-4.8.30-r1.ebuild5
2 files changed, 19 insertions, 1 deletions
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
}