From 305e27d1071805b9844b95e8fb5efc2aab5819ca Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 24 Jun 2023 12:25:03 +0200 Subject: [PATCH] mail/hbiff: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- mail/hbiff/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mail/hbiff/Makefile b/mail/hbiff/Makefile index 89bf325cdbe1..4e052d168fff 100644 --- a/mail/hbiff/Makefile +++ b/mail/hbiff/Makefile @@ -22,6 +22,10 @@ PLIST_FILES= bin/hbiff man/man1/hbiff.1.gz CFLAGS+= -Wno-error=int-conversion .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-build: ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/hbiff.c -o ${WRKSRC}/${PORTNAME}