From f0e020aac8b88b65137badef0897d8e92a6ab8a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Wed, 20 Mar 2024 14:03:12 +0100 Subject: groups.d/231.native_packages_etc.group: adds htop v3.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- patches/htop-3.3.0.local.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 patches/htop-3.3.0.local.patch (limited to 'patches') diff --git a/patches/htop-3.3.0.local.patch b/patches/htop-3.3.0.local.patch new file mode 100644 index 00000000..dc5c1360 --- /dev/null +++ b/patches/htop-3.3.0.local.patch @@ -0,0 +1,26 @@ +diff -ru htop-3.3.0.orig/unsupported/UnsupportedProcessTable.c htop-3.3.0/unsupported/UnsupportedProcessTable.c +--- htop-3.3.0.orig/unsupported/UnsupportedProcessTable.c 2024-01-01 02:08:46.000000000 +0100 ++++ htop-3.3.0/unsupported/UnsupportedProcessTable.c 2024-03-20 14:02:08.294139220 +0100 +@@ -48,11 +48,6 @@ + Process_updateCmdline(proc, "", 0, 0); + Process_updateExe(proc, "/path/to/executable"); + +- const Settings* settings = proc->host->settings; +- if (settings->ss->flags & PROCESS_FLAG_CWD) { +- free_and_xStrdup(&proc->procCwd, "/current/working/directory"); +- } +- + proc->super.updated = true; + + proc->state = RUNNING; +diff -ru htop-3.3.0.orig/unsupported/UnsupportedProcess.h htop-3.3.0/unsupported/UnsupportedProcess.h +--- htop-3.3.0.orig/unsupported/UnsupportedProcess.h 2023-05-16 18:41:42.000000000 +0200 ++++ htop-3.3.0/unsupported/UnsupportedProcess.h 2024-03-20 13:53:11.556451796 +0100 +@@ -8,6 +8,7 @@ + */ + + #include "Machine.h" ++#include "Process.h" + + + typedef struct UnsupportedProcess_ { -- cgit v1.2.3