diff options
| author | Larry Rosenman <ler@FreeBSD.org> | 2019-07-26 13:59:14 +0000 |
|---|---|---|
| committer | Larry Rosenman <ler@FreeBSD.org> | 2019-07-26 13:59:14 +0000 |
| commit | 9c9f353be9b1621c815e346e4ff3fde31c9f8fef (patch) | |
| tree | 5680b4c6ea2cbcb1edbbbb69e68f83e334ade9d7 /sysutils | |
| parent | sysutils/reggae: Update to 0.1.5 (diff) | |
sysutils/lsof: add <stdbool.h> to support recent -CURRENT.
Diffstat (limited to 'sysutils')
| -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 |
