diff options
author | peter <peter@FreeBSD.org> | 2001-06-12 01:14:02 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-12 01:14:02 +0000 |
commit | ca51eb1785352ed9b80cb7f03e5bb17ed03983e1 (patch) | |
tree | 8f5190dfabc91821e61eabb492f2b4da379ce833 /lib | |
parent | afe7baffadc60d490f83998cf1245b6c9ea5d39a (diff) | |
download | FreeBSD-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')
-rw-r--r-- | lib/libncurses/Makefile | 2 | ||||
-rw-r--r-- | lib/ncurses/ncurses/Makefile | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 95a8e45..38fb526 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 |