Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 12:32:55 GMT
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5b4d8f411674 - main - mail/qpopper: unbreak build for llvm16
Message-ID:  <202306261232.35QCWt5W032713@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eugen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b4d8f41167458ad70a9d798cefb4d5245abb8ed

commit 5b4d8f41167458ad70a9d798cefb4d5245abb8ed
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2023-06-26 12:31:17 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2023-06-26 12:32:48 +0000

    mail/qpopper: unbreak build for llvm16
    
    This unbreaks build, so PORTREVISION not changed.
---
 mail/qpopper/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 9ec3fc3c128f..8e70fa98aae4 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -125,8 +125,12 @@ CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
 # openssl-1.1.1 no longer has SSLv2 support
 .if ${OPSYS} == FreeBSD
 CFLAGS+=		-DOPENSSL_NO_SSL2
-CONFIGURE_ARGS+=	CFLAGS="${CFLAGS}"
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
+CFLAGS+=		-Wno-incompatible-function-pointer-types
 .endif
+.endif
+
+CONFIGURE_ENV+=		CFLAGS="${CFLAGS}"
 
 post-patch:
 .if ${COMPILER_TYPE} == clang



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