git: 0b1bc4eb2e60 - main - x11/eterm: Fix build with LLVM15

From: MANTANI Nobutaka <nobutaka_at_FreeBSD.org>
Date: Sat, 18 Feb 2023 13:16:34 UTC
The branch main has been updated by nobutaka:

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

commit 0b1bc4eb2e6068cee1034dee93fbe7f57f98176f
Author:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
AuthorDate: 2023-02-18 13:12:03 +0000
Commit:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
CommitDate: 2023-02-18 13:16:03 +0000

    x11/eterm: Fix build with LLVM15
    
    This fix also fixes chinese/eterm and japanese/eterm.
---
 x11/eterm/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11/eterm/Makefile b/x11/eterm/Makefile
index c1c19a9394f5..5477c01692c9 100644
--- a/x11/eterm/Makefile
+++ b/x11/eterm/Makefile
@@ -25,7 +25,8 @@ CONFIGURE_ENV=	GDB=/usr/libexec/gdb
 CONFIGURE_ENV=	GDB=/usr/bin/gdb
 .endif
 
-CPPFLAGS+=	-I${LOCALBASE}/include
+CFLAGS+=	-Wno-int-conversion
+CPPFLAGS+=	-I${LOCALBASE}/include -W
 LDFLAGS+=	-L${LOCALBASE}/lib
 USES=		cpe iconv libtool shebangfix xorg
 SHEBANG_FILES=	${WRKSRC}/utils/kEsetroot.in