1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-17 05:57:07 +00:00
termux-packages/packages/htop/proc-stat.patch
marcusz ce99a04eab
move and update htop to 3.0.5 from root-repo (#9998)
package `htop` will be merged into one and should be usable for all users while keeping it up-to-date
2022-04-15 15:36:10 +08:00

13 lines
419 B
Diff

diff -uNr htop-3.0.5/linux/LinuxProcessList.h htop-3.0.5.mod/linux/LinuxProcessList.h
--- htop-3.0.5/linux/LinuxProcessList.h 2021-01-11 17:18:21.000000000 +0000
+++ htop-3.0.5.mod/linux/LinuxProcessList.h 2022-04-13 05:47:15.726020765 +0000
@@ -85,7 +85,7 @@
#endif
#ifndef PROCSTATFILE
-#define PROCSTATFILE PROCDIR "/stat"
+#define PROCSTATFILE "@TERMUX_PREFIX@/var/htop/stat"
#endif
#ifndef PROCMEMINFOFILE