diff options
author | kamil <kamil@pkgsrc.org> | 2017-06-30 00:31:45 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2017-06-30 00:31:45 +0000 |
commit | e17bea40d370e5e97b140c24ccc07dfb152b8f73 (patch) | |
tree | 4b10adf277d8491da174e3aaae94ce05ad744a96 /sysutils | |
parent | 5623e4447996276c417a7fd175c00559646460f8 (diff) | |
download | pkgsrc-e17bea40d370e5e97b140c24ccc07dfb152b8f73.tar.gz |
Correct build of pscpug on NetBSD 8.99.1
Address <sys/user.h> removal fallout.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pscpug/distinfo | 3 | ||||
-rw-r--r-- | sysutils/pscpug/patches/patch-psinfo.c | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/sysutils/pscpug/distinfo b/sysutils/pscpug/distinfo index 6f194ac33d3..82c6d20a22f 100644 --- a/sysutils/pscpug/distinfo +++ b/sysutils/pscpug/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.5 2015/11/04 01:32:26 agc Exp $ +$NetBSD: distinfo,v 1.6 2017/06/30 00:31:45 kamil Exp $ SHA1 (pscpug035.tgz) = 5c19191001b35ddaa4399d63de79d8b1873619e2 RMD160 (pscpug035.tgz) = 25931ad9d0a5f867a6bb5b1fa6e17ef8180a9880 SHA512 (pscpug035.tgz) = 649a1bf212e90e9b7d1b80f98c86c80093fac78c42a57e1560c9e4b0b5ce7b72610320931f7e3f78300e1529d7db2cd9f3d18df98ba6a1ff302e72b28efe8ec4 Size (pscpug035.tgz) = 41552 bytes SHA1 (patch-aa) = bf5953870246fa5c602ca526a160fca66711cbfd +SHA1 (patch-psinfo.c) = d876fa244c06cc705a093d91ae907bbc14708a0a diff --git a/sysutils/pscpug/patches/patch-psinfo.c b/sysutils/pscpug/patches/patch-psinfo.c new file mode 100644 index 00000000000..7f92b90559f --- /dev/null +++ b/sysutils/pscpug/patches/patch-psinfo.c @@ -0,0 +1,14 @@ +$NetBSD: patch-psinfo.c,v 1.1 2017/06/30 00:31:45 kamil Exp $ + +--- psinfo.c.orig 2009-03-15 02:15:49.000000000 +0000 ++++ psinfo.c +@@ -58,7 +58,9 @@ + #endif /* __DragonFly_version */ + #include <sys/types.h> + #include <sys/sysctl.h> ++#if defined(__FreeBSD__) || defined(__DragonFly__) + #include <sys/user.h> ++#endif + #endif /* USE_MACH or USE_KVM */ + + #include "psinfo.h" |