summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-07-03 09:40:52 +0000
committerpeter <peter@FreeBSD.org>2000-07-03 09:40:52 +0000
commit826c175570c2de05e50a25fcccbaf36d438aa5f9 (patch)
tree7fb6421f33a1cfb28e67ef1545f61ac840bb0733
parent617b29a94a236f538e0ec4670f18d47e212dfa63 (diff)
downloadFreeBSD-src-826c175570c2de05e50a25fcccbaf36d438aa5f9.zip
FreeBSD-src-826c175570c2de05e50a25fcccbaf36d438aa5f9.tar.gz
Get this to compile in the 5.1-20000701-prerelease environment.
-rw-r--r--lib/libncurses/Makefile2
-rw-r--r--lib/libncurses/ncurses_cfg.h18
-rw-r--r--lib/libncurses/termcap.c2
-rw-r--r--lib/ncurses/ncurses/Makefile2
-rw-r--r--lib/ncurses/ncurses/ncurses_cfg.h18
-rw-r--r--lib/ncurses/ncurses/termcap.c2
6 files changed, 34 insertions, 10 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index 7d09623..a248f9c 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/Makefile
@@ -16,7 +16,7 @@ NCURSES_PATCH!=egrep 'NCURSES_PATCH[ ]*=' ${NCURSES}/dist.mk | sed -e 's/^[^0-9
# From autoconf (!)
NCURSES_CONST=
-NCURSES_XNAMES= 0
+NCURSES_XNAMES= 1
OSPEED_INCLUDES=\#include <termios.h>
OSPEED_TYPE= speed_t
BUILTIN_BOOL= 1
diff --git a/lib/libncurses/ncurses_cfg.h b/lib/libncurses/ncurses_cfg.h
index a14d5ba..f91e180 100644
--- a/lib/libncurses/ncurses_cfg.h
+++ b/lib/libncurses/ncurses_cfg.h
@@ -31,7 +31,7 @@
* Author: Thomas E. Dickey <dickey@clark.net> 1997 *
****************************************************************************/
/*
- * Id: ncurses_cfg.hin,v 1.2 1998/02/11 12:13:46 tom Exp
+ * $Id: ncurses_cfg.hin,v 1.2 1998/02/11 12:13:46 tom Exp $
*
* This is a template-file used to generate the "ncurses_cfg.h" file.
*
@@ -39,13 +39,17 @@
* the definitions that it finds using 'sed'. You need a patch (971222)
* to autoconf 2.12 to do this.
*/
+
+/* $FreeBSD$ */
+
#ifndef NC_CONFIG_H
#define NC_CONFIG_H
#define BSD_TPUTS 1
#define CC_HAS_INLINE_FUNCS 1
#define CC_HAS_PROTOS 1
-#define ETIP_NEEDS_ 1
+#define CPP_HAS_PARAM_INIT 1
+#define ETIP_NEEDS_MATH_H 1
#define GCC_NORETURN __dead2
#define GCC_PRINTF 1
#define GCC_SCANF 1
@@ -59,6 +63,7 @@
#define HAVE_GETCWD 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GETTTYNAM 1
+#define HAVE_HAS_KEY 1
#define HAVE_ISASCII 1
#define HAVE_LIBFORM 1
#define HAVE_LIBMENU 1
@@ -69,6 +74,7 @@
#define HAVE_LONG_FILE_NAMES 1
#define HAVE_MEMCCPY 1
#define HAVE_MENU_H 1
+#define HAVE_MKSTEMP 1
#define HAVE_NANOSLEEP 1
#define HAVE_NC_ALLOC_H 1
#define HAVE_PANEL_H 1
@@ -76,6 +82,8 @@
#define HAVE_POLL_H 1
#define HAVE_REGEX_H_FUNCS 1
#define HAVE_REMOVE 1
+#define HAVE_REMOVE 1
+#define HAVE_RESIZETERM 1
#define HAVE_SELECT 1
#define HAVE_SETBUF 1
#define HAVE_SETBUFFER 1
@@ -88,6 +96,7 @@
#define HAVE_SYMLINK 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
+#define HAVE_SYS_POLL_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIMES_H 1
#define HAVE_SYS_TIME_H 1
@@ -99,10 +108,13 @@
#define HAVE_TTYENT_H 1
#define HAVE_TYPEINFO 1
#define HAVE_UNISTD_H 1
-#define HAVE_USLEEP 1
+#define HAVE_UNLINK 1
+#define HAVE_USE_DEFAULT_COLORS 1
#define HAVE_VSNPRINTF 1
#define HAVE_VSSCANF 1
#define NCURSES_EXT_FUNCS 1
+#define HAVE_WORKING_POLL 1
+#define HAVE_WRESIZE 1
#define NCURSES_NO_PADDING 1
#define NDEBUG 1
#define RETSIGTYPE void
diff --git a/lib/libncurses/termcap.c b/lib/libncurses/termcap.c
index 9469bea..301aa27 100644
--- a/lib/libncurses/termcap.c
+++ b/lib/libncurses/termcap.c
@@ -240,7 +240,7 @@ done:
return(ERR);
/* resolve all use references */
- _nc_resolve_uses();
+ _nc_resolve_uses(TRUE);
for_entry_list(ep)
if (_nc_name_match(ep->tterm.term_names, name, "|:"))
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index 7d09623..a248f9c 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -16,7 +16,7 @@ NCURSES_PATCH!=egrep 'NCURSES_PATCH[ ]*=' ${NCURSES}/dist.mk | sed -e 's/^[^0-9
# From autoconf (!)
NCURSES_CONST=
-NCURSES_XNAMES= 0
+NCURSES_XNAMES= 1
OSPEED_INCLUDES=\#include <termios.h>
OSPEED_TYPE= speed_t
BUILTIN_BOOL= 1
diff --git a/lib/ncurses/ncurses/ncurses_cfg.h b/lib/ncurses/ncurses/ncurses_cfg.h
index a14d5ba..f91e180 100644
--- a/lib/ncurses/ncurses/ncurses_cfg.h
+++ b/lib/ncurses/ncurses/ncurses_cfg.h
@@ -31,7 +31,7 @@
* Author: Thomas E. Dickey <dickey@clark.net> 1997 *
****************************************************************************/
/*
- * Id: ncurses_cfg.hin,v 1.2 1998/02/11 12:13:46 tom Exp
+ * $Id: ncurses_cfg.hin,v 1.2 1998/02/11 12:13:46 tom Exp $
*
* This is a template-file used to generate the "ncurses_cfg.h" file.
*
@@ -39,13 +39,17 @@
* the definitions that it finds using 'sed'. You need a patch (971222)
* to autoconf 2.12 to do this.
*/
+
+/* $FreeBSD$ */
+
#ifndef NC_CONFIG_H
#define NC_CONFIG_H
#define BSD_TPUTS 1
#define CC_HAS_INLINE_FUNCS 1
#define CC_HAS_PROTOS 1
-#define ETIP_NEEDS_ 1
+#define CPP_HAS_PARAM_INIT 1
+#define ETIP_NEEDS_MATH_H 1
#define GCC_NORETURN __dead2
#define GCC_PRINTF 1
#define GCC_SCANF 1
@@ -59,6 +63,7 @@
#define HAVE_GETCWD 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GETTTYNAM 1
+#define HAVE_HAS_KEY 1
#define HAVE_ISASCII 1
#define HAVE_LIBFORM 1
#define HAVE_LIBMENU 1
@@ -69,6 +74,7 @@
#define HAVE_LONG_FILE_NAMES 1
#define HAVE_MEMCCPY 1
#define HAVE_MENU_H 1
+#define HAVE_MKSTEMP 1
#define HAVE_NANOSLEEP 1
#define HAVE_NC_ALLOC_H 1
#define HAVE_PANEL_H 1
@@ -76,6 +82,8 @@
#define HAVE_POLL_H 1
#define HAVE_REGEX_H_FUNCS 1
#define HAVE_REMOVE 1
+#define HAVE_REMOVE 1
+#define HAVE_RESIZETERM 1
#define HAVE_SELECT 1
#define HAVE_SETBUF 1
#define HAVE_SETBUFFER 1
@@ -88,6 +96,7 @@
#define HAVE_SYMLINK 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
+#define HAVE_SYS_POLL_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIMES_H 1
#define HAVE_SYS_TIME_H 1
@@ -99,10 +108,13 @@
#define HAVE_TTYENT_H 1
#define HAVE_TYPEINFO 1
#define HAVE_UNISTD_H 1
-#define HAVE_USLEEP 1
+#define HAVE_UNLINK 1
+#define HAVE_USE_DEFAULT_COLORS 1
#define HAVE_VSNPRINTF 1
#define HAVE_VSSCANF 1
#define NCURSES_EXT_FUNCS 1
+#define HAVE_WORKING_POLL 1
+#define HAVE_WRESIZE 1
#define NCURSES_NO_PADDING 1
#define NDEBUG 1
#define RETSIGTYPE void
diff --git a/lib/ncurses/ncurses/termcap.c b/lib/ncurses/ncurses/termcap.c
index 9469bea..301aa27 100644
--- a/lib/ncurses/ncurses/termcap.c
+++ b/lib/ncurses/ncurses/termcap.c
@@ -240,7 +240,7 @@ done:
return(ERR);
/* resolve all use references */
- _nc_resolve_uses();
+ _nc_resolve_uses(TRUE);
for_entry_list(ep)
if (_nc_name_match(ep->tterm.term_names, name, "|:"))
OpenPOWER on IntegriCloud