aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-24 10:25:03 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-24 10:58:47 +0000
commit305e27d1071805b9844b95e8fb5efc2aab5819ca (patch)
treef6aeed17ed7bb440c8f7c645c64b33fedd2341d8
parent1040f28594a7a7b3873d5d976400845765574f76 (diff)
downloadports-305e27d1071805b9844b95e8fb5efc2aab5819ca.tar.gz
ports-305e27d1071805b9844b95e8fb5efc2aab5819ca.zip
mail/hbiff: Fix build with llvm16
Sponsored by: The FreeBSD Foundation
-rw-r--r--mail/hbiff/Makefile4
1 files changed, 4 insertions, 0 deletions
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}