diff options
author | kamil <kamil@pkgsrc.org> | 2017-06-30 00:25:34 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2017-06-30 00:25:34 +0000 |
commit | 5623e4447996276c417a7fd175c00559646460f8 (patch) | |
tree | 0352fdc16e858a8d0dfc3cfe9c77095204f9e0ba /sysutils/fscd | |
parent | 8ee0774445c0ffcd290350a761e325b0b5ac68bc (diff) | |
download | pkgsrc-5623e4447996276c417a7fd175c00559646460f8.tar.gz |
Adapt fscd for <sys/user.h> removal from NetBSD 8.99.1
Diffstat (limited to 'sysutils/fscd')
-rw-r--r-- | sysutils/fscd/distinfo | 4 | ||||
-rw-r--r-- | sysutils/fscd/patches/patch-fscd_fscd.c | 14 |
2 files changed, 14 insertions, 4 deletions
diff --git a/sysutils/fscd/distinfo b/sysutils/fscd/distinfo index a60758167d5..e20a9a455e8 100644 --- a/sysutils/fscd/distinfo +++ b/sysutils/fscd/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.6 2015/11/04 01:32:14 agc Exp $ +$NetBSD: distinfo,v 1.7 2017/06/30 00:25:34 kamil Exp $ SHA1 (fscd-1.1.tar.gz) = 8d17ec035fbe7b90aeefdff23042a07a7d65c2c7 RMD160 (fscd-1.1.tar.gz) = 0c9aae223825e5fda61d88007b7abb4c30a61c18 SHA512 (fscd-1.1.tar.gz) = f0a1b29082fbf8f614bc56f7d49e52976a24832f73a4ce734303dfd193bee134a61449062217ba96a19714a52b2862c8014d7876f19212852e28af99d487de93 Size (fscd-1.1.tar.gz) = 16295 bytes SHA1 (patch-fscadm_fscadm.c) = ad163550cfe11603f94e633e7f111b19ed56ba5e -SHA1 (patch-fscd_fscd.c) = 1091b8ee612d100287fde6c38a0b3d46e98f5eb9 +SHA1 (patch-fscd_fscd.c) = 2a32cc41192e3e0fcbdfbf439b075e78d8697451 diff --git a/sysutils/fscd/patches/patch-fscd_fscd.c b/sysutils/fscd/patches/patch-fscd_fscd.c index 6753af1f275..2f68c602b4b 100644 --- a/sysutils/fscd/patches/patch-fscd_fscd.c +++ b/sysutils/fscd/patches/patch-fscd_fscd.c @@ -1,8 +1,18 @@ -$NetBSD: patch-fscd_fscd.c,v 1.1 2013/09/10 14:43:23 joerg Exp $ +$NetBSD: patch-fscd_fscd.c,v 1.2 2017/06/30 00:25:34 kamil Exp $ --- fscd/fscd.c.orig 2012-11-12 00:12:33.000000000 +0000 +++ fscd/fscd.c -@@ -1067,6 +1067,10 @@ handle_task(struct fscd_cfg *config, cha +@@ -45,7 +45,9 @@ __FBSDID("$FreeBSD$"); + #include <sys/sysctl.h> + #include <sys/uio.h> + #include <sys/un.h> ++#if defined(__FreeBSD__) || defined(__DragonFly__) + #include <sys/user.h> ++#endif + #include <sys/time.h> + #include <sys/wait.h> + #include <ctype.h> +@@ -1067,6 +1069,10 @@ handle_task(struct fscd_cfg *config, cha print_status(config, sock_fd); pthread_mutex_unlock(&config->service_mtx); return 0; |