From 830ce0e970a4db640977d1122249ef06effed3e5 Mon Sep 17 00:00:00 2001 From: Admin Pupkin Date: Tue, 2 Jun 2026 12:29:19 +0300 Subject: [PATCH] mc: wire recipe into build tree, fix gnulib mountlist detection - Create recipes/tui/mc symlink to local/recipes/tui/mc - Remove conflicting WIP recipes/wip/files/mc shadow - Add sed fix for mountlist.m4 AC_MSG_ERROR -> AC_MSG_WARN because Redox has no /etc/mtab or /proc/mounts - mc still needs more work: configure succeeds but make regeneration of configure from m4 files undoes the fix --- local/recipes/tui/mc/recipe.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/local/recipes/tui/mc/recipe.toml b/local/recipes/tui/mc/recipe.toml index 5c810b9b35..5ad84d7d27 100644 --- a/local/recipes/tui/mc/recipe.toml +++ b/local/recipes/tui/mc/recipe.toml @@ -43,5 +43,10 @@ COOKBOOK_CONFIGURE_FLAGS+=( --with-screen=ncurses ) +# Fix gnulib mountlist detection: Redox has no /etc/mtab or /proc/mounts. +# Change the configure error to a warning so the build proceeds. +sed -i 's/AC_MSG_ERROR(\[could not determine how to read list of mounted file systems\])/AC_MSG_WARN([could not determine how to read list of mounted file systems]); ac_list_mounted_fs=missing/' \ + "${COOKBOOK_SOURCE}/m4.include/gnulib/mountlist.m4" + cookbook_configure """