audit: pull upstream fix for -fno-common compiler

Fixes build failure against upstream gcc (defaults -fno-common).

+8 -1
+8 -1
pkgs/os-specific/linux/audit/default.nix
··· 37 37 # TODO: Remove the musl patches when 38 38 # https://github.com/linux-audit/audit-userspace/pull/25 39 39 # is available with the next release. 40 - patches = [ ./patches/weak-symbols.patch ] 40 + patches = [ 41 + ./patches/weak-symbols.patch 42 + (fetchpatch { 43 + # upstream build fix against -fno-common compilers like >=gcc-10 44 + url = "https://github.com/linux-audit/audit-userspace/commit/017e6c6ab95df55f34e339d2139def83e5dada1f.patch"; 45 + sha256 = "100xa1rzkv0mvhjbfgpfm72f7c4p68syflvgc3xm6pxgrqqmfq8h"; 46 + }) 47 + ] 41 48 ++ lib.optional stdenv.hostPlatform.isMusl [ 42 49 ( 43 50 let patch = fetchpatch {