editors/uzap: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-20 15:14:48 +02:00
parent 9f87b5e224
commit 6ed80586a3

View file

@ -18,6 +18,13 @@ LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
USES= ncurses
NO_WRKSUBDIR= yes
PLIST_FILES= bin/uzap man/man1/uzap.1.gz
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.include <bsd.port.mk>