summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2024-03-20 14:03:12 +0100
committerØrjan Malde <red@foxi.me>2024-03-20 14:03:12 +0100
commitf0e020aac8b88b65137badef0897d8e92a6ab8a0 (patch)
tree226cddc8272b4843096090de0cc5872c7da24592 /patches
parente9ad7add1c661084a88e37a49431ef1ef5dcb8ff (diff)
downloadmidipix_build-f0e020aac8b88b65137badef0897d8e92a6ab8a0.tar.bz2
midipix_build-f0e020aac8b88b65137badef0897d8e92a6ab8a0.tar.xz
groups.d/231.native_packages_etc.group: adds htop v3.3.0
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r--patches/htop-3.3.0.local.patch26
1 files changed, 26 insertions, 0 deletions
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, "<unsupported architecture>", 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_ {