Blame patches/htop-3.3.0.local.patch

f0e020
diff -ru htop-3.3.0.orig/unsupported/UnsupportedProcessTable.c htop-3.3.0/unsupported/UnsupportedProcessTable.c
f0e020
--- htop-3.3.0.orig/unsupported/UnsupportedProcessTable.c       2024-01-01 02:08:46.000000000 +0100
f0e020
+++ htop-3.3.0/unsupported/UnsupportedProcessTable.c    2024-03-20 14:02:08.294139220 +0100
f0e020
@@ -48,11 +48,6 @@
f0e020
    Process_updateCmdline(proc, "<unsupported architecture>", 0, 0);
f0e020
    Process_updateExe(proc, "/path/to/executable");
f0e020
f0e020
-   const Settings* settings = proc->host->settings;
f0e020
-   if (settings->ss->flags & PROCESS_FLAG_CWD) {
f0e020
-      free_and_xStrdup(&proc->procCwd, "/current/working/directory");
f0e020
-   }
f0e020
-
f0e020
    proc->super.updated = true;
f0e020
f0e020
    proc->state = RUNNING;
f0e020
diff -ru htop-3.3.0.orig/unsupported/UnsupportedProcess.h htop-3.3.0/unsupported/UnsupportedProcess.h
f0e020
--- htop-3.3.0.orig/unsupported/UnsupportedProcess.h	2023-05-16 18:41:42.000000000 +0200
f0e020
+++ htop-3.3.0/unsupported/UnsupportedProcess.h	2024-03-20 13:53:11.556451796 +0100
f0e020
@@ -8,6 +8,7 @@
f0e020
 */
f0e020
 
f0e020
 #include "Machine.h"
f0e020
+#include "Process.h"
f0e020
 
f0e020
 
f0e020
 typedef struct UnsupportedProcess_ {