git: cc8e334a148b - main - net/tcpview: Workaround LLVM16 errors

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 18:42:56 UTC
The branch main has been updated by cy:

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

commit cc8e334a148b7a8bcb1ec5e633c2a8fe06dd5a09
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-06-26 15:17:10 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-06-26 18:41:08 +0000

    net/tcpview: Workaround LLVM16 errors
    
    Work around a multitude of XtAddCallback() and other errors.
---
 net/tcpview/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/tcpview/Makefile b/net/tcpview/Makefile
index dfda6c9ba2b6..8de71a516853 100644
--- a/net/tcpview/Makefile
+++ b/net/tcpview/Makefile
@@ -12,6 +12,7 @@ COMMENT=	Motif-based TCP/IP protocol analyzer
 USES=		bison motif tar:Z
 MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
 MAKE_JOBS_UNSAFE=	yes
+CFLAGS+=	-Wno-incompatible-function-pointer-types
 
 post-patch:
 .for f in nametoaddr.c addrtoname.c print-nfs.c detail-tcp.c tv_addrtoname.c