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 (cherry picked from commit514f4e89ac)
This commit is contained in:
parent
17a7ea7e3e
commit
1e4603b7a8
1 changed files with 3 additions and 2 deletions
|
|
@ -223,7 +223,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
|
||||
|
|
@ -271,7 +272,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…
Add table
Reference in a new issue