Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 10:58:59 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 305e27d10718 - main - mail/hbiff: Fix build with llvm16
Message-ID:  <202306241058.35OAwxZT099404@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306241058.35OAwxZT099404>