Unverified Commit 6157b62f authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

bcc: fix build with clang 21 via upstream patch

parent 3dddb78e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 {
      name = "clang-21.patch";
      url = "https://github.com/iovisor/bcc/commit/8c5c96ad3beeed2fa827017f451a952306826974.diff";
      hash = "sha256-VOzhdeZ3mRstLlMhxHwEgqCa6L39eRpbFJuKZqFnBws=";
    })
  ];

  build-system = [ python3Packages.setuptools ];