git: 80ef111f0369 - main - mail/exim: unbreak build with LLVM15 (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Tue, 14 Feb 2023 11:43:54 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=80ef111f0369fb10e3a890613460fe45cb1a97ba

commit 80ef111f0369fb10e3a890613460fe45cb1a97ba
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-02-14 11:41:11 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-02-14 11:41:11 +0000

    mail/exim: unbreak build with LLVM15 (+)
    
    Pass -Wno-int-conversion to CFLAGS fixes error with strict conversion rules introduced in LLVM15
    
    error: incompatible pointer to integer conversion passing 'char *' to parameter of type 'BOOL' (aka 'unsigned int') [-Wint-conversion]
---
 mail/exim/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 2242ff7608fa..9b628a088d3d 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -21,6 +21,9 @@ USES=		compiler cpe tar:bzip2 perl5
 USE_CSTD=	c99
 USE_PERL5=	run
 
+# LLVM15 workaround
+CFLAGS=		-Wno-int-conversion
+
 # Exim build system is job unsafe atm
 MAKE_JOBS_UNSAFE=	yes
 # One can tune the following "hidden" knobs: