From f72eba39cbe47af9919797326eaf28dc06daa5c8 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 7 Sep 2022 11:31:32 +0200 Subject: btop: add package Signed-off-by: Toni Uhlig --- admin/btop/patches/0002-disable-unicode-check.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 admin/btop/patches/0002-disable-unicode-check.patch (limited to 'admin/btop/patches/0002-disable-unicode-check.patch') diff --git a/admin/btop/patches/0002-disable-unicode-check.patch b/admin/btop/patches/0002-disable-unicode-check.patch new file mode 100644 index 0000000..c9710f4 --- /dev/null +++ b/admin/btop/patches/0002-disable-unicode-check.patch @@ -0,0 +1,16 @@ +--- a/src/btop.cpp ++++ b/src/btop.cpp +@@ -800,13 +800,6 @@ int main(int argc, char **argv) { + Logger::warning("Failed to set macos locale, continuing anyway."); + } + } +- #else +- if (found.empty() and Global::utf_force) +- Logger::warning("No UTF-8 locale detected! Forcing start with --utf-force argument."); +- else if (found.empty()) { +- Global::exit_error_msg = "No UTF-8 locale detected!\nUse --utf-force argument to force start if you're sure your terminal can handle it."; +- clean_quit(1); +- } + #endif + else if (not set_failure) + Logger::debug("Setting LC_ALL=" + found); -- cgit v1.2.3