From a5ba00f47f23675be4c11eb99e295bb2bcbcf36a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 19 Apr 2015 12:07:11 +0200 Subject: [PATCH] libdaemon: unbreak musl build; patch from a forked buildroot repo. --- ...td-use-unistd-h-instead-of-sys-unistd-h.patch | 16 ++++++++++++++++ srcpkgs/libdaemon/template | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/libdaemon/patches/libdaemon-0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch diff --git a/srcpkgs/libdaemon/patches/libdaemon-0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch b/srcpkgs/libdaemon/patches/libdaemon-0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch new file mode 100644 index 0000000000..27e544033a --- /dev/null +++ b/srcpkgs/libdaemon/patches/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 +--- examples/testd.c 2014-08-30 00:27:08.359832977 +0200 ++++ examples/testd.c 2014-08-30 00:27:25.439832670 +0200 +@@ -23,7 +23,7 @@ + #include + #include + #include +-#include ++#include + #include + + #include diff --git a/srcpkgs/libdaemon/template b/srcpkgs/libdaemon/template index 6bd8706749..5ff9070851 100644 --- a/srcpkgs/libdaemon/template +++ b/srcpkgs/libdaemon/template @@ -1,7 +1,7 @@ # Template file for 'libdaemon' pkgname=libdaemon version=0.14 -revision=7 +revision=8 build_style=gnu-configure configure_args="--disable-static --disable-lynx" short_desc="Lightweight C library that eases the writing of UNIX daemons"