]> git.pld-linux.org Git - packages/sysdig.git/commitdiff
- partial fix for kernel 5.1
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 7 May 2019 19:33:23 +0000 (21:33 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 7 May 2019 19:33:23 +0000 (21:33 +0200)
kernel-5.1.patch [new file with mode: 0644]
sysdig.spec

diff --git a/kernel-5.1.patch b/kernel-5.1.patch
new file mode 100644 (file)
index 0000000..cd77c74
--- /dev/null
@@ -0,0 +1,12 @@
+--- sysdig-0.24.2/driver/ppm_flag_helpers.h~   2018-12-21 21:38:44.000000000 +0100
++++ sysdig-0.24.2/driver/ppm_flag_helpers.h    2019-05-07 19:25:30.678391028 +0200
+@@ -13,6 +13,9 @@
+ #include <asm/mman.h>
+ #include <linux/futex.h>
+ #include <linux/ptrace.h>
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
++#include <linux/mman.h>
++#endif
+ #include "ppm.h"
index bbd955d4e78edc53f485b64949ab3d9904a28da6..f1666d00e81a9272683315cad53ff8a79dce7632 100644 (file)
@@ -35,6 +35,7 @@ Group:                Applications/System
 Source0:       https://github.com/draios/sysdig/archive/%{version}/%{pname}-%{version}.tar.gz
 # Source0-md5: ea98fc19fea18f02651a7955d069dcf1
 Patch0:                kernel-5.0.patch
+Patch1:                kernel-5.1.patch
 URL:           http://www.sysdig.org/
 BuildRequires: rpmbuild(macros) >= 1.701
 BuildRequires: cmake >= 2.8.2
@@ -161,6 +162,7 @@ Ten pakiet zawiera moduł sysdig-probe for jądra Linuksa.\
 %prep
 %setup -q -n %{pname}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
This page took 0.147596 seconds and 4 git commands to generate.