sysutils/atop: fix after r302904 due to flag rename (P_KPROC -> P_KTHREAD)

PR:		211173
Approved by:	samm@os2.kiev.ua (maintainer timeout)
MFH:		2016Q3
This commit is contained in:
Kurt Jaeger 2016-07-31 10:31:30 +00:00
parent 5b6bb4cb34
commit fa3284635d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419354
2 changed files with 15 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= atop
PORTVERSION= 2.0.2.b3
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= samm@os2.kiev.ua

View File

@ -0,0 +1,14 @@
--- atop.h.orig 2014-01-15 16:05:34 UTC
+++ atop.h
@@ -49,6 +49,11 @@ struct netpertask;
#define RRNETATOP 0x0004
#define RRNETATOPD 0x0008
+#include <sys/param.h>
+#if __FreeBSD_version > 1100116
+#define P_KTHREAD P_KPROC
+#endif
+
struct visualize {
char (*show_samp) (time_t, int,
struct sstat *, struct tstat *, struct tstat **,