Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 00:10:07 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: 9338523fd051 - main - net-mgmt/wmi-client: Fix build with llvm16
Message-ID:  <202306260010.35Q0A7Wa093920@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=9338523fd051c85755db8c06574a74552025e7b5

commit 9338523fd051c85755db8c06574a74552025e7b5
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-25 23:51:26 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-26 00:09:49 +0000

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

diff --git a/net-mgmt/wmi-client/Makefile b/net-mgmt/wmi-client/Makefile
index b358d7b02df8..13781005989a 100644
--- a/net-mgmt/wmi-client/Makefile
+++ b/net-mgmt/wmi-client/Makefile
@@ -19,6 +19,12 @@ ALL_TARGET=	build
 
 PROGS=	bin/wmic bin/winexe
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 do-install:
 .for x in ${PROGS}
 	${INSTALL_PROGRAM} ${WRKSRC}/Samba/source/${x} ${STAGEDIR}${PREFIX}/${x}



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