From 14193ee8740fc1663ca090ecb0ce9ae195b60be0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Krause?= Date: Sat, 30 Aug 2014 22:15:39 +0200 Subject: [PATCH] package/libdaemon: add patch to fix build with the musl C library MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Adds a patch to the package libdaemon which removes an error when building libdaemon against the musl C library. Signed-off-by: Jörg Krause Signed-off-by: Peter Korsgaard --- ...td-use-unistd-h-instead-of-sys-unistd-h.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/libdaemon/libdaemon-0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch diff --git a/package/libdaemon/libdaemon-0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch b/package/libdaemon/libdaemon-0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch new file mode 100644 index 0000000000..c8f4270d6a --- /dev/null +++ b/package/libdaemon/libdaemon-0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch @@ -0,0 +1,16 @@ +examples/testd.c: As the C POSIX library recommends include the +instead of . This removes an error when building libdaemon +against the musl C library. + +Signed-off-by: Jörg Krause +--- libdaemon-0.14.orig/examples/testd.c 2014-08-30 00:27:08.359832977 +0200 ++++ libdaemon-0.14/examples/testd.c 2014-08-30 00:27:25.439832670 +0200 +@@ -23,7 +23,7 @@ + #include + #include + #include +-#include ++#include + #include + + #include -- 2.30.2