Skip to content

Commit

Permalink
mail/hbiff: Fix build with llvm16
Browse files Browse the repository at this point in the history
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 24, 2023
1 parent 1040f28 commit 305e27d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mail/hbiff/Makefile
Expand Up @@ -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}

Expand Down

0 comments on commit 305e27d

Please sign in to comment.