Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2023 17:43:11 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1acdf7d8c232 - main - net/mptsd: Fix build with llvm16
Message-ID:  <202307201743.36KHhB6B036453@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 1acdf7d8c2320475032262f5b5e956d03dc5c140
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 13:19:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:33 +0000

    net/mptsd: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 net/mptsd/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net/mptsd/Makefile b/net/mptsd/Makefile
index 798d9f62ba85..178cbe950052 100644
--- a/net/mptsd/Makefile
+++ b/net/mptsd/Makefile
@@ -18,6 +18,12 @@ GH_PROJECT=	mptsd
 GH_TUPLE=       gfto:libfuncs:0dc8d87080badd7a276316ad7ae6e6f1aed2331b:libfuncs/libfuncs \
 	gfto:libtsfuncs:45e7e999a17c1954915295bd13b242bbd937cf28:libtsfuncs/libtsfuncs
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${ETCDIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307201743.36KHhB6B036453>