git: 49f031a6867d - 2023Q1 - databases/db18: Fix build with LLVM15

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

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

commit 49f031a6867d38f0f01f87c530a9b6a376d8a267
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:44:23 +0000

    databases/db18: Fix build with LLVM15
    
    MFH:            2023Q1
    (cherry picked from commit cb188cbfd474c422243e87675e6e0861de4e1fc2)
---
 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}