From 98fa04efedc41a02293dd9fe6434f33870a16974 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Thu, 14 Sep 2017 19:50:07 +0000 Subject: [PATCH] libedit: raise the warning level to 3. NetBSD has the warning level to 5 but that actually triggers -Wcast-qual. --- lib/libedit/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile index 81ba64712fec..a11d89d81323 100644 --- a/lib/libedit/Makefile +++ b/lib/libedit/Makefile @@ -7,6 +7,8 @@ LIB= edit SHLIB_MAJOR= 7 SHLIBDIR?= /lib +WARNS?= 3 + OSRCS= chared.c common.c el.c eln.c emacs.c fcns.c filecomplete.c help.c \ hist.c keymacro.c map.c chartype.c \ parse.c prompt.c read.c refresh.c search.c sig.c terminal.c tty.c vi.c @@ -41,8 +43,6 @@ CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/edit -DWIDECHAR #CFLAGS+= -DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH #CFLAGS+= -DDEBUG_PASTE -DDEBUG_EDIT -WARNS?= 1 - SUBDIR= edit/readline AHDR= vi.h emacs.h common.h