Date: Fri, 16 Dec 2022 21:13:12 GMT From: Nuno Teixeira <eduardo@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 425a32db6a04 - main - security/s2n-tls: Fix llvm15 build Message-ID: <202212162113.2BGLDCR0084707@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=425a32db6a0406255991176098e93ba221218678 commit 425a32db6a0406255991176098e93ba221218678 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2022-12-16 21:06:40 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2022-12-16 21:08:54 +0000 security/s2n-tls: Fix llvm15 build Fix llvm15 build due to the port using -Werror by default, and prototypes are now more strictly checked. Add -Wno-strict-prototypes to CFLAGS to suppress the warnings-as-errors. PR: 268413 --- security/s2n-tls/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/security/s2n-tls/Makefile b/security/s2n-tls/Makefile index 66d433df8bc2..fc8a98cdf166 100644 --- a/security/s2n-tls/Makefile +++ b/security/s2n-tls/Makefile @@ -1,6 +1,7 @@ PORTNAME= s2n-tls DISTVERSIONPREFIX= v DISTVERSION= 1.3.31 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security @@ -20,6 +21,9 @@ USE_LDCONFIG= yes CMAKE_OFF= BUILD_TESTING CMAKE_ON= BUILD_SHARED_LIBS +# Fix llvm15 build, PR 268413 +CFLAGS+= -Wno-strict-prototypes + SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXAMPLES LTO
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212162113.2BGLDCR0084707>