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 00000000000..27e544033ab --- /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 6bd8706749e..5ff90708517 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"