sysklogd: fix build on musl
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 28 Nov 2016 22:20:58 +0000 (23:20 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 6 Dec 2016 10:28:43 +0000 (11:28 +0100)
commit55b1114f7202ff09a1d060a112760b1e2efa477c
treefb963acfd837330b0af78a9e55d8094c5dfbf9f5
parent4c4756be6b34ccb20c4b879efddda5c291da52ca
sysklogd: fix build on musl

This commit add a stack of small patches that make sysklogd build fine
with the musl C library. Build with uClibc and glibc has been tested
with those patches applied as well.

The first patch is slightly rework (better description and capital
letter to the title) in preparation for upstream submission.

Fixes:

  http://autobuild.buildroot.net/results/8fa2bf73f983330884bce2e5ac31e01dee112ba9/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sysklogd/0001-Replace-deprecated-union-wait-with-int.patch [new file with mode: 0644]
package/sysklogd/0001-replace-deprecated-union-wait-with-int.patch [deleted file]
package/sysklogd/0002-Fix-improper-header-includes.patch [new file with mode: 0644]
package/sysklogd/0003-Remove-include-of-linux-time.h.patch [new file with mode: 0644]
package/sysklogd/0004-Remove-bogus-hand-written-klogctl-syscall-implementa.patch [new file with mode: 0644]
package/sysklogd/0005-Add-missing-headers-for-open-flags.patch [new file with mode: 0644]
package/sysklogd/0006-syslogd.c-rename-dprintf-to-mydprintf.patch [new file with mode: 0644]