git: 3c426844b505 - main - editors/uemacs: fix build with LLVM 15

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Fri, 03 Mar 2023 21:31:28 UTC
The branch main has been updated by fuz:

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

commit 3c426844b505ca60455f52608fe27dceef5e9d82
Author:     Andrew Clarke <mail@ozzmosis.com>
AuthorDate: 2023-03-02 16:27:05 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-03-03 21:31:09 +0000

    editors/uemacs: fix build with LLVM 15
    
    Silence -Wint-conversion to have the build succeed.
    
    PR:             269822
    Approved by:    eduardo (mentor)
    Differential Revision: https://reviews.freebsd.org/D38871
---
 editors/uemacs/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/editors/uemacs/Makefile b/editors/uemacs/Makefile
index f999cc978685..fc1bede0e34c 100644
--- a/editors/uemacs/Makefile
+++ b/editors/uemacs/Makefile
@@ -19,6 +19,8 @@ NO_WRKSUBDIR=	yes
 USES=		dos2unix ncurses zip
 EXTRACT_BEFORE_ARGS=	-Lq
 
+CFLAGS+=		-Wno-int-conversion
+
 post-patch:
 	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/*.c
 	@${REINPLACE_CMD} -e 's|-ltermcap|${LDFLAGS} -lncurses|g' \