nixpkgs/pkgs/os-specific/linux/sysdig
Jeremy Fleischman bb724fa986
sysdig: Include driver patch to fix compilation on Linux 6.2
On nixos-unstable with the latest kernel (6.2.0), I'm seeing sysdig
fail to compile:

    /build/source/build/driver/src/main.c:2788:30: error: assignment to 'char * (*)(const struct device *, umode_t *)' {aka 'char * (*)(const struct device *, short unsigned int *)'} from incompatible pointer type 'char * (*)(struct device *, umode_t *)' {aka 'char * (*)(struct device *, short unsigned int *)'} [-Werror=incompatible-pointer-types]
     2788 |         g_ppm_class->devnode = ppm_devnode;
          |                              ^
    /build/libs/userspace/libscap/scap_procs.c: In function 'scap_os_getpid_global':

This has already been fixed upstream, this just cherry-picks that fix.
2023-02-22 19:43:02 -08:00
..
default.nix sysdig: Include driver patch to fix compilation on Linux 6.2 2023-02-22 19:43:02 -08:00