audit: backport upstream fix for static builds (#359466)

authored by Emily and committed by GitHub a7c53670 e1036e44

+8
+8
pkgs/by-name/au/audit/package.nix
··· 25 25 hash = "sha256-1dG11Q7kotDReHW8aua9an1bNNlVfqhHo5+uxTH6qgo="; 26 26 }; 27 27 28 + patches = [ 29 + (fetchpatch { 30 + name = "static.patch"; 31 + url = "https://github.com/linux-audit/audit-userspace/commit/a89664b45c30a853a6f80b19730984bd78432142.patch"; 32 + hash = "sha256-HsaL9Bfo1MQ1JBKIS9ckNTapGk5eshjWWKh4M+e+Y9c="; 33 + }) 34 + ]; 35 + 28 36 postPatch = '' 29 37 substituteInPlace bindings/swig/src/auditswig.i \ 30 38 --replace-fail "/usr/include/linux/audit.h" \