git: cb188cbfd474 - main - databases/db18: Fix build with LLVM15

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Sat, 11 Feb 2023 08:43:22 UTC
The branch main has been updated by yasu:

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

commit cb188cbfd474c422243e87675e6e0861de4e1fc2
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-02-11 07:39:53 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-02-11 08:42:26 +0000

    databases/db18: Fix build with LLVM15
    
    MFH:            2023Q1
---
 databases/db18/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/databases/db18/Makefile b/databases/db18/Makefile
index 20c649aa45d4..0c9eab17bc61 100644
--- a/databases/db18/Makefile
+++ b/databases/db18/Makefile
@@ -38,7 +38,8 @@ CONFIGURE_ARGS=		--bindir=${PREFIX}/bin/${PORTNAME} \
 MAKE_ARGS+=	docdir=${DOCSDIR}
 INSTALL_TARGET=	install_include install_lib install_utilities
 
-CFLAGS+=	-I${OPENSSLINC}
+CFLAGS+=	-I${OPENSSLINC} -Wno-deprecated-non-prototype \
+		-Wno-incompatible-library-redeclaration -Wno-int-conversion
 CPPFLAGS+=	-I${OPENSSLINC}
 LDFLAGS+=	-L${OPENSSLLIB}