aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-linux-process.patch
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2018-04-26 18:32:53 +0200
committerDaniel Lange <DLange@git.local>2018-04-26 19:09:41 +0200
commite65f30245af3e878c81687efffa83029dbaa2a7a (patch)
treecb02a9f720763183d7582b5dd55097daffc466d5 /debian/patches/fix-linux-process.patch
parent3d996de8464c052383de7aab5e4836882ce8762c (diff)
downloaddebian_htop-e65f30245af3e878c81687efffa83029dbaa2a7a.tar.gz
debian_htop-e65f30245af3e878c81687efffa83029dbaa2a7a.tar.bz2
debian_htop-e65f30245af3e878c81687efffa83029dbaa2a7a.zip
Updated patches for htop 2.2.0
Diffstat (limited to 'debian/patches/fix-linux-process.patch')
-rw-r--r--debian/patches/fix-linux-process.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/fix-linux-process.patch b/debian/patches/fix-linux-process.patch
new file mode 100644
index 0000000..3caef04
--- /dev/null
+++ b/debian/patches/fix-linux-process.patch
@@ -0,0 +1,13 @@
+Make sure the auto-regenerated headers (after scripts/MakeHeader.py) actually compile.
+
+--- a/linux/LinuxProcess.c 2018-04-26 18:17:31.349248819 +0200
++++ b/linux/LinuxProcess.c 2018-04-11 02:58:46.994360617 +0200
+@@ -143,7 +143,7 @@
+ } LinuxProcess;
+
+ #ifndef Process_isKernelThread
+-#define Process_isKernelThread(_process) ((LinuxProcess*)(_process)->isKernelThread)
++#define Process_isKernelThread(_process) (((LinuxProcess*)(_process))->isKernelThread)
+ #endif
+
+ #ifndef Process_isUserlandThread

© 2014-2024 Faster IT GmbH | imprint | privacy policy