1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

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
This commit is contained in:
Andrew Clarke 2023-03-02 17:27:05 +01:00 committed by Robert Clausecker
parent fb10668a39
commit 3c426844b5

View File

@ -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' \