aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2022-08-17 09:14:48 +0000
committerKristof Provost <kp@FreeBSD.org>2022-08-17 14:35:20 +0000
commit42a3754cd2b979dadda9d90857fda6a4dbaa46a0 (patch)
tree50b9ae94e82a280dd91163dcf75561f340552e06 /sysutils/lsof
parent1abb14001d8b495009a3e5ce7bf971660f22198b (diff)
downloadports-42a3754cd2b979dadda9d90857fda6a4dbaa46a0.tar.gz
ports-42a3754cd2b979dadda9d90857fda6a4dbaa46a0.zip
sysutils/lsof: net/raw_cb.h no longer exists
As of f63cb32c1988561136fabdcc54d16cd200b666d9 (in src) the net/raw_cb.h header no longer exists. It was removed as part of the retirement of 4.4BSD raw sockets. Happily this header is not actually required for lsof, so we can just not include it to fix the ports build. Reviewed by: emaste, ler Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D36240
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/files/patch-dialects_freebsd_dlsof.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/lsof/files/patch-dialects_freebsd_dlsof.h b/sysutils/lsof/files/patch-dialects_freebsd_dlsof.h
new file mode 100644
index 000000000000..f0348093f39e
--- /dev/null
+++ b/sysutils/lsof/files/patch-dialects_freebsd_dlsof.h
@@ -0,0 +1,10 @@
+--- dialects/freebsd/dlsof.h.orig 2022-08-17 09:12:09 UTC
++++ dialects/freebsd/dlsof.h
+@@ -183,7 +183,6 @@ int getmntinfo(struct statfs **, int);
+ #undef _KVM_VNODE
+ # endif /* defined(HAS_KVM_VNODE) */
+
+-#include <net/raw_cb.h>
+ #include <sys/domain.h>
+ #define pmap RPC_pmap
+ #include <rpc/rpc.h>