3
0
Fork 0
forked from mirrors/nixpkgs

sysklogd: add explainer for musl patch

This commit is contained in:
Peter Woodman 2021-01-20 14:27:30 -05:00
parent a47a55e433
commit cba38a2f42
2 changed files with 3 additions and 1 deletions

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "00f2wy6f0qng7qzga4iicyzl9j8b7mp6mrpfky5jxj93ms2w2rji";
};
patches = [ ./systemd.patch ./union-wait.patch ./fix-includes.patch ];
patches = [ ./systemd.patch ./union-wait.patch ./fix-includes-for-musl.patch ];
NIX_CFLAGS_COMPILE = "-DSYSV";

View file

@ -1,3 +1,5 @@
# this patch both fixes some include paths as well as removes glibc
# gates around defines that musl-libc also depends on.
diff -u sysklogd-1.5.1.orig/klogd.c sysklogd-1.5.1/klogd.c
--- sysklogd-1.5.1.orig/klogd.c 2014-10-04 15:47:18.000000000 -0400
+++ sysklogd-1.5.1/klogd.c 2021-01-18 23:09:23.000000000 -0500