diff options
author | Daniel Lange <DLange@git.local> | 2018-04-26 18:32:53 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2018-04-26 19:09:41 +0200 |
commit | e65f30245af3e878c81687efffa83029dbaa2a7a (patch) | |
tree | cb02a9f720763183d7582b5dd55097daffc466d5 /debian/patches/fix-linux-process.patch | |
parent | 3d996de8464c052383de7aab5e4836882ce8762c (diff) | |
download | debian_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.patch | 13 |
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 |