diff options
-rw-r--r-- | sysutils/atop/Makefile | 1 | ||||
-rw-r--r-- | sysutils/atop/files/patch-atop.h | 14 |
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 **, |