git: e402155e1ad7 - main - ncurses: reinstantiate bsd specific code

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 20 Jun 2024 18:28:17 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=e402155e1ad7ec92a1fbd1712ce86c2ca43e1823

commit e402155e1ad7ec92a1fbd1712ce86c2ca43e1823
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-06-20 18:26:14 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-06-20 18:27:15 +0000

    ncurses: reinstantiate bsd specific code
    
    This fixes ncurses 6.5 badly reading termcap
---
 lib/ncurses/tinfo/ncurses_cfg.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/ncurses/tinfo/ncurses_cfg.h b/lib/ncurses/tinfo/ncurses_cfg.h
index ced59c68e93c..33890f300310 100644
--- a/lib/ncurses/tinfo/ncurses_cfg.h
+++ b/lib/ncurses/tinfo/ncurses_cfg.h
@@ -60,6 +60,9 @@
 #define HAVE_LONG_FILE_NAMES 1
 #define MIXEDCASE_FILENAMES 1
 #define STDC_HEADERS 1
+#define USE_GETCAP 1
+#define USE_BSD_TPUTS 1
+#define HAVE_BSD_CGETENT 1
 #define HAVE_SYS_TYPES_H 1
 #define HAVE_SYS_STAT_H 1
 #define HAVE_STDLIB_H 1