diff options
author | tnn <tnn@pkgsrc.org> | 2009-12-20 23:29:02 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-12-20 23:29:02 +0000 |
commit | 2c550062add8ad96f98e54be632e58bca5b5f1f6 (patch) | |
tree | 66d1a35c7fde7e024d4b14edca59283470eacd91 /devel/libdaemon | |
parent | 934e1eb4ddc355c83bec4d48a7d685b53a28df5f (diff) | |
download | pkgsrc-2c550062add8ad96f98e54be632e58bca5b5f1f6.tar.gz |
portability fix: include <unistd.h> instead of <sys/unistd.h>
Diffstat (limited to 'devel/libdaemon')
-rw-r--r-- | devel/libdaemon/distinfo | 3 | ||||
-rw-r--r-- | devel/libdaemon/patches/patch-ab | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/libdaemon/distinfo b/devel/libdaemon/distinfo index aeb63331af9..8e7fcf11f75 100644 --- a/devel/libdaemon/distinfo +++ b/devel/libdaemon/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.6 2009/12/20 23:22:35 tnn Exp $ +$NetBSD: distinfo,v 1.7 2009/12/20 23:29:02 tnn Exp $ SHA1 (libdaemon-0.14.tar.gz) = 78a4db58cf3a7a8906c35592434e37680ca83b8f RMD160 (libdaemon-0.14.tar.gz) = 952ae993fecfe3ec765dfa43b2690a83f1a5c939 Size (libdaemon-0.14.tar.gz) = 340474 bytes SHA1 (patch-aa) = f0d309bd98b19a9fcec785edfe686dd33746bf46 +SHA1 (patch-ab) = bb882643ecd8deedfb76f88ee4dea1ce42da2636 diff --git a/devel/libdaemon/patches/patch-ab b/devel/libdaemon/patches/patch-ab new file mode 100644 index 00000000000..73c618d3c74 --- /dev/null +++ b/devel/libdaemon/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1 2009/12/20 23:29:02 tnn Exp $ + +--- examples/testd.c.orig 2009-10-18 02:20:19.000000000 +0000 ++++ examples/testd.c +@@ -22,8 +22,8 @@ + #include <errno.h> + #include <string.h> + #include <sys/types.h> +-#include <sys/time.h> +-#include <sys/unistd.h> ++#include <time.h> ++#include <unistd.h> + #include <sys/select.h> + + #include <libdaemon/dfork.h> |