Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2023 11:43:54 GMT
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 80ef111f0369 - main - mail/exim: unbreak build with LLVM15 (+)
Message-ID:  <202302141143.31EBhsW8014115@gitrepo.freebsd.org>

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



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