git: 9338523fd051 - main - net-mgmt/wmi-client: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 00:10:07 UTC
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}