diff options
| -rw-r--r-- | sysutils/lsof/Makefile | 2 | ||||
| -rw-r--r-- | sysutils/lsof/files/patch-dialects-freebsd-dlsof.h | 15 |
2 files changed, 15 insertions, 2 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index 66b2f9e406c8..2b1c54119002 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -3,7 +3,7 @@ PORTNAME= lsof DISTVERSION= 4.93.2 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 8 CATEGORIES= sysutils diff --git a/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h b/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h index 8bf6ea00adeb..f7bb13fdc057 100644 --- a/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h +++ b/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h @@ -1,4 +1,4 @@ ---- dialects/freebsd/dlsof.h.orig 2019-05-22 14:37:20 UTC +--- dialects/freebsd/dlsof.h.orig 2019-05-08 07:32:25 UTC +++ dialects/freebsd/dlsof.h @@ -45,6 +45,12 @@ #include <signal.h> @@ -13,3 +13,16 @@ # if FREEBSDV>=4000 # if FREEBSDV>=5000 # if FREEBSDV<6020 +@@ -104,6 +110,12 @@ typedef struct device *device_t; + + + #include <sys/conf.h> ++ ++/* ++ * include <stdbool.h> for refcount(9) ++ */ ++#include <stdbool.h> ++ + + # if defined(HAS_VM_MEMATTR_T) + #undef vm_memattr_t |
