sysutils/atop: fix after r302904 due to flag rename (P_KPROC -> P_KTHREAD)
PR: 211173 MFH: r419354 Approved by: ports-secteam (junovitch)
This commit is contained in:
parent
a0b2125ed3
commit
d636f4eb48
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2016Q3/; revision=419394
2 changed files with 15 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= atop
|
||||
PORTVERSION= 2.0.2.b3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= samm@os2.kiev.ua
|
||||
|
|
14
sysutils/atop/files/patch-atop.h
Normal file
14
sysutils/atop/files/patch-atop.h
Normal 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 **,
|
Loading…
Reference in a new issue