git: 2b9196bd3a42 - stable/14 - ncurses: reinstantiate bsd specific code

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 27 Jun 2024 09:08:25 UTC
The branch stable/14 has been updated by bapt:

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

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

    ncurses: reinstantiate bsd specific code
    
    This fixes ncurses 6.5 badly reading termcap
    
    (cherry picked from commit e402155e1ad7ec92a1fbd1712ce86c2ca43e1823)
---
 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