git: 42a3754cd2b9 - main - sysutils/lsof: net/raw_cb.h no longer exists

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Wed, 17 Aug 2022 14:36:08 UTC
The branch main has been updated by kp (src committer):

URL: https://cgit.FreeBSD.org/ports/commit/?id=42a3754cd2b979dadda9d90857fda6a4dbaa46a0

commit 42a3754cd2b979dadda9d90857fda6a4dbaa46a0
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2022-08-17 09:14:48 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2022-08-17 14:35:20 +0000

    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
---
 sysutils/lsof/files/patch-dialects_freebsd_dlsof.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

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>