aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-06-12 01:14:02 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-06-12 01:14:02 +0000
commit7dd144d7156a715f3a0ff1801c5e687a931bfe01 (patch)
tree8f5190dfabc91821e61eabb492f2b4da379ce833 /lib/ncurses
parent11fed5e2e0624df1858edcff9e2d37d691ab14df (diff)
downloadsrc-7dd144d7156a715f3a0ff1801c5e687a931bfe01.tar.gz
src-7dd144d7156a715f3a0ff1801c5e687a931bfe01.zip
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
Notes
Notes: svn path=/head/; revision=78121
Diffstat (limited to 'lib/ncurses')
-rw-r--r--lib/ncurses/ncurses/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index 95a8e45f214e..38fb526601d1 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/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