git: 305e27d10718 - main - mail/hbiff: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 10:58:59 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=305e27d1071805b9844b95e8fb5efc2aab5819ca commit 305e27d1071805b9844b95e8fb5efc2aab5819ca Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-24 10:25:03 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-24 10:58:47 +0000 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}