summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-07-31 10:31:30 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-07-31 10:31:30 +0000
commitfa3284635d9634178dc57ed8e23a52d0baf932d1 (patch)
treeeb5bc188ba0011cd797077e302dc6e0c31b9c4b3
parentnet-mgmt/nagvis: fix Makefile comment (diff)
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
Notes
Notes: svn path=/head/; revision=419354
-rw-r--r--sysutils/atop/Makefile1
-rw-r--r--sysutils/atop/files/patch-atop.h14
2 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/atop/Makefile b/sysutils/atop/Makefile
index 18f13df34574..3d631d20f82f 100644
--- a/sysutils/atop/Makefile
+++ b/sysutils/atop/Makefile
@@ -3,6 +3,7 @@
PORTNAME= atop
PORTVERSION= 2.0.2.b3
+PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= samm@os2.kiev.ua
diff --git a/sysutils/atop/files/patch-atop.h b/sysutils/atop/files/patch-atop.h
new file mode 100644
index 000000000000..caa15d373d4e
--- /dev/null
+++ b/sysutils/atop/files/patch-atop.h
@@ -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 **,