Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 19:34:53 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: 83e65d81b655 - main - mail/qconfirm: Fix build with llvm16
Message-ID:  <202308051934.375JYr0p042973@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=83e65d81b6551dc81a2ad5122c35935d32e42ec4

commit 83e65d81b6551dc81a2ad5122c35935d32e42ec4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 19:11:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 19:34:42 +0000

    mail/qconfirm: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 mail/qconfirm/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/mail/qconfirm/Makefile b/mail/qconfirm/Makefile
index 4ff81c87d141..84c5f75a7222 100644
--- a/mail/qconfirm/Makefile
+++ b/mail/qconfirm/Makefile
@@ -17,6 +17,12 @@ ALL_TARGET=	default
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 do-configure:
 	@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
 	@${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/src/conf-ld



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