bcc: apply upstream patch
Fixes an issue with recent kernels (6.19 and later).
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
cmake,
|
||||
elfutils,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
flex,
|
||||
iperf,
|
||||
lib,
|
||||
@@ -43,6 +44,12 @@ python3Packages.buildPythonApplication rec {
|
||||
(replaceVars ./absolute-ausyscall.patch {
|
||||
ausyscall = lib.getExe' audit "ausyscall";
|
||||
})
|
||||
|
||||
(fetchpatch {
|
||||
# https://github.com/iovisor/bcc/issues/5501
|
||||
url = "https://github.com/iovisor/bcc/commit/c3f35ecca18b1ce926bd272f60f6d4465656a80b.patch";
|
||||
hash = "sha256-Fr5SqDUpQzZj8yPST0V1QExNMCSoRbOXG5ZaChDXTZQ=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ python3Packages.setuptools ];
|
||||
|
||||
Reference in New Issue
Block a user