From 7dd144d7156a715f3a0ff1801c5e687a931bfe01 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 12 Jun 2001 01:14:02 +0000 Subject: [PATCH] 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 --- lib/libncurses/Makefile | 2 +- lib/ncurses/ncurses/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile index 95a8e45f214..38fb526601d 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 95a8e45f214..38fb526601d 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