git: 46c8699ea6d4 - 2023Q1 - seecurity/cops: Fix build with LLVM15

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sat, 11 Feb 2023 14:57:22 UTC
The branch 2023Q1 has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=46c8699ea6d451649ced8bc2ef49cdf53640419f

commit 46c8699ea6d451649ced8bc2ef49cdf53640419f
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-02-11 04:02:18 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-02-11 14:56:32 +0000

    seecurity/cops: Fix build with LLVM15
    
    (cherry picked from commit 44f86b3060a1eb90ee251d7915abdfcee60ad842)
---
 security/cops/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/security/cops/Makefile b/security/cops/Makefile
index 1b661dd334fd..6671a944a655 100644
--- a/security/cops/Makefile
+++ b/security/cops/Makefile
@@ -14,6 +14,7 @@ USE_PERL5=	run
 WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION:S/.//g}+
 HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	reconfig
+CFLAGS=		-Wno-format-security -Wno-int-conversion
 MAKEFILE=	makefile
 MAKE_ARGS=	EXECUTABLE="${EXECUTABLE}" C_SRC="${C_SRC}"
 MAKE_JOBS_UNSAFE=	yes