mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
ncurses: Fix codegen for key names and codes
Adding back arguments, which were missed during the import of ncurses version 6.5, to the code gen awk script. This is modified from lib_keyname.c and keys.list targets in contrib/ncurses/ncurses/Makefile.in of21817992b3PR: 280697 Reported by: np Reviewed by: bapt Tested by: scf Fixes:21817992b3ncurses: vendor import version 6.5 MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47153
This commit is contained in:
parent
41b95006f2
commit
514f4e89ac
1 changed files with 3 additions and 2 deletions
|
|
@ -230,7 +230,8 @@ codes.c: MKcodes.awk
|
|||
${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKcodes.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > codes.c
|
||||
|
||||
lib_keyname.c: keys.list MKkeyname.awk
|
||||
${AWK} -f ${NCURSES_DIR}/ncurses/base/MKkeyname.awk bigstrings=${USE_BIG_STRINGS} keys.list > lib_keyname.c
|
||||
${AWK} -f ${NCURSES_DIR}/ncurses/base/MKkeyname.awk use_sigwinch=${ENABLE_SIGWINCH} \
|
||||
bigstrings=${USE_BIG_STRINGS} keys.list > lib_keyname.c
|
||||
|
||||
unctrl.c: MKunctrl.awk
|
||||
echo | ${AWK} -f ${NCURSES_DIR}/ncurses/base/MKunctrl.awk bigstrings=${USE_BIG_STRINGS} > unctrl.c
|
||||
|
|
@ -278,7 +279,7 @@ curses.h: curses.head MKkey_defs.sh Caps Caps-ncurses
|
|||
|
||||
# Generated intermediate files
|
||||
keys.list: MKkeys_list.sh Caps Caps-ncurses
|
||||
AWK=${AWK} sh ${NCURSES_DIR}/ncurses/tinfo/MKkeys_list.sh \
|
||||
AWK=${AWK} USE_SIGWINCH=${ENABLE_SIGWINCH} sh ${NCURSES_DIR}/ncurses/tinfo/MKkeys_list.sh \
|
||||
${NCURSES_DIR}/include/Caps ${NCURSES_DIR}/include/Caps-ncurses | LC_ALL=C sort > keys.list
|
||||
|
||||
.if ${MK_DIRDEPS_BUILD} == "yes" && ${MACHINE} != "host"
|
||||
|
|
|
|||
Loading…
Reference in a new issue