libbsd: more upstream patches
This commit is contained in:
@@ -15,8 +15,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = stdenv.lib.optional stdenv.isDarwin ./darwin.patch
|
||||
# Suitable for all, but limited to musl to avoid rebuilds
|
||||
# https://cgit.freedesktop.org/libbsd/patch/?id=1f8a3f7bccfc84b195218ad0086ebd57049c3490
|
||||
++ stdenv.lib.optional stdenv.hostPlatform.isMusl ./non-glibc.patch;
|
||||
++ 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
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Common functions found on BSD systems";
|
||||
|
||||
Reference in New Issue
Block a user