pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/pscpug Correct build of pscpug on NetBSD 8.99.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98a65c6e4feb
branches:  trunk
changeset: 364580:98a65c6e4feb
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Fri Jun 30 00:31:45 2017 +0000

description:
Correct build of pscpug on NetBSD 8.99.1

Address <sys/user.h> removal fallout.

diffstat:

 sysutils/pscpug/distinfo               |   3 ++-
 sysutils/pscpug/patches/patch-psinfo.c |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r e3456321e477 -r 98a65c6e4feb sysutils/pscpug/distinfo
--- a/sysutils/pscpug/distinfo  Fri Jun 30 00:25:34 2017 +0000
+++ b/sysutils/pscpug/distinfo  Fri Jun 30 00:31:45 2017 +0000
@@ -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 -r e3456321e477 -r 98a65c6e4feb sysutils/pscpug/patches/patch-psinfo.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/pscpug/patches/patch-psinfo.c    Fri Jun 30 00:31:45 2017 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index