libbsd: update patches

This commit is contained in:
Matthew Bauer
2018-10-13 18:14:56 -05:00
parent a29f2f20cd
commit 7c61bb615a
5 changed files with 209 additions and 882 deletions
+1 -10
View File
@@ -13,16 +13,7 @@ stdenv.mkDerivation rec {
# the configure scripts
nativeBuildInputs = [ autoreconfHook ];
patches = stdenv.lib.optional stdenv.isDarwin ./darwin.patch
# Suitable for all, but limited to musl to avoid rebuilds
++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
# https://cgit.freedesktop.org/libbsd/commit/?id=1f8a3f7bccfc84b195218ad0086ebd57049c3490
./non-glibc.patch
# https://cgit.freedesktop.org/libbsd/commit/?id=11ec8f1e5dfa1c10e0c9fb94879b6f5b96ba52dd
./cdefs.patch
# https://cgit.freedesktop.org/libbsd/commit/?id=b20272f5a966333b49fdf2bda797e2a9f0227404
./features.patch
];
patches = stdenv.lib.optional stdenv.isDarwin ./darwin.patch;
meta = with stdenv.lib; {
description = "Common functions found on BSD systems";