libapparmor: backport patch for musl 1.2.5

This commit is contained in:
Alyssa Ross 2024-09-15 10:28:31 +02:00
parent 0e02f3d263
commit f8cc30d102

View File

@ -59,6 +59,12 @@ let
patches = [
./0001-aa-remove-unknown_empty-ruleset.patch
(fetchpatch {
name = "basename.patch";
url = "https://gitlab.com/apparmor/apparmor/-/commit/7fb040bde69ebdfce48cf1a01c1a62fd4f8eef0a.patch";
hash = "sha256-RZ04nfcV8hTd2CO3mYcfOGCLke8+FhV7DPfmDqSSdWk=";
})
] ++ lib.optionals stdenv.hostPlatform.isMusl [
(fetchpatch {
url = "https://git.alpinelinux.org/aports/plain/testing/apparmor/0003-Added-missing-typedef-definitions-on-parser.patch?id=74b8427cc21f04e32030d047ae92caa618105b53";