Skip to content

Commit

Permalink
net-mgmt/wmi-client: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 26, 2023
1 parent 0f59f32 commit 9338523
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions net-mgmt/wmi-client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 9338523

Please sign in to comment.