bcc: apply upstream patch

Fixes an issue with recent kernels (6.19 and later).
This commit is contained in:
Naïm Camille Favier
2026-05-01 16:30:29 +02:00
parent c141c8231f
commit b4b1ca25b0
+7
View File
@@ -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 ];