summaryrefslogtreecommitdiffstats
path: root/lib/libncurses
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-06-12 01:14:02 +0000
committerpeter <peter@FreeBSD.org>2001-06-12 01:14:02 +0000
commitca51eb1785352ed9b80cb7f03e5bb17ed03983e1 (patch)
tree8f5190dfabc91821e61eabb492f2b4da379ce833 /lib/libncurses
parentafe7baffadc60d490f83998cf1245b6c9ea5d39a (diff)
downloadFreeBSD-src-ca51eb1785352ed9b80cb7f03e5bb17ed03983e1.zip
FreeBSD-src-ca51eb1785352ed9b80cb7f03e5bb17ed03983e1.tar.gz
Turn on the extra 'const' settings for various curses functions. While
this is not strictly compliant with XSI curses, it enables us to pass const strings to many more functions that are actually const safe than before. This should be harmless. Requested by: lots of folks
Diffstat (limited to 'lib/libncurses')
-rw-r--r--lib/libncurses/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index 95a8e45..38fb526 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/Makefile
@@ -15,7 +15,7 @@ NCURSES_MINOR!=egrep 'NCURSES_MINOR[ ]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9
NCURSES_PATCH!=egrep 'NCURSES_PATCH[ ]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9]*%%'
# From autoconf (!)
-NCURSES_CONST= /* nothing */
+NCURSES_CONST= const
NCURSES_XNAMES= 1
NCURSES_OSPEED= short
BUILTIN_BOOL= 1
OpenPOWER on IntegriCloud