Merge #165413: audit: fix build for linux-headers-5.17

...into staging-next
This commit is contained in:
Vladimír Čunát 2022-04-10 10:44:35 +02:00
commit 91378e67a7
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -69,6 +69,13 @@ stdenv.mkDerivation rec {
sha256 = "0qjq41ridyamajz9v9nyplgq7f8nn3fxw375s9sa5a0igsrx9pm0";
excludes = [ "ChangeLog" ];
})
# Fix pending upstream inclusion for linux-headers-5.17 support:
# https://github.com/linux-audit/audit-userspace/pull/253
(fetchpatch {
name = "ignore-flexible-array.patch";
url = "https://github.com/linux-audit/audit-userspace/commit/beed138222421a2eb4212d83cb889404bd7efc49.patch";
sha256 = "1hf02zaxv6x0wmn4ca9fj48y2shks7vfna43i1zz58xw9jq7sza0";
})
];
postPatch = ''