aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorAndrew Clarke <mail@ozzmosis.com>2023-03-02 16:27:05 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-03-03 21:31:09 +0000
commit3c426844b505ca60455f52608fe27dceef5e9d82 (patch)
treed4ee3041d26e48b6146c153960957a8f03eb632b /editors
parentfb10668a3912bd08da5d0d3496db53b72d926e04 (diff)
downloadports-3c426844b505ca60455f52608fe27dceef5e9d82.tar.gz
ports-3c426844b505ca60455f52608fe27dceef5e9d82.zip
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
Diffstat (limited to 'editors')
-rw-r--r--editors/uemacs/Makefile2
1 files changed, 2 insertions, 0 deletions
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' \