From nobody Wed Oct 30 00:53:44 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XdTCD4Mw3z5bGDD; Wed, 30 Oct 2024 00:53:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdTCD3qJgz4Hmq; Wed, 30 Oct 2024 00:53:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730249624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zhUAc/Dgo3uFMU2C2BrEW/oLz7YjQHTm8RFwwFg2sbw=; b=wcOcdFM+ekdLSNvJEff0ulZkAN81YDlDLXd8s8iDneTnCRFt9ANBYZWSX8ApYHzt/8ppXJ x57OIWdK/ZiLMgmLJJhXJMIPgxgv7jSG8euPLREMNr906OJ1nAEnENJs2uDLN72o3oPEIq ac427iWS+RXNq+dri1jCFfB4trXL4h3qLz7mG+mBfazIbyNVkfdeS+uMhCvZqFVVjPoVDD 44NwPSsGVfYRD+U++dznvkcQEb6AcVce00fLbgs8CLlpAlBGVyNTr7TrxnLNuMrKmicS0j azcXaG34BGE4/u0aTifma4AuzsrKzmzW921+t7XJ76LoQm/HiE3Jfy7eHVhbfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730249624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zhUAc/Dgo3uFMU2C2BrEW/oLz7YjQHTm8RFwwFg2sbw=; b=PZ3sB5fJ8oG3EvG2L9W/N4RJlAOO3jA/q5+tHl7BeqotS0nBdeVkocrUoK35lsu2SpWd/j oefzCMA4yJuT0M+O1/cM78mU5wWXV1aBuznZ1cTBNV6YntXnc1WzhWlng1n8neUHE0uMW5 ZjUvx/d/tPE/SkegSbb0ig/g94EtRBcdzRP8gxndpgI4qUt756xi/Oz/6PS9DB71V9haE0 Yfg56hk5NG2xKGJziP2AtPe05OLOJshBSXnD6j7dJdBIOxyp++k56EN28kXjycYpqvVezX r8flm7LCdKoZXFi/F5S/YcljRVpRIs9dU4rZ8/wEqbCGZd7zNy9iZQ9pnAfeLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730249624; a=rsa-sha256; cv=none; b=gQnTrdT2e+Cx5rYQT6Q8Mr2XUwZj4OKgr6XF/f7rAc52br28W8/AEv8L2WLLEKVYS2u4Vf YCr7ESYzF01lEXNIlNFAwz7LDAoafrRP8ANiNmQakKDkSor9vk+kLlg+RaNsVVOa0PAbwH V3mLcNWrDdy0m6zCbbChGgWJcHAOuXmUFsMvXdqEl3N/fgLWpo0fRBQXQ3BL4cddQI6DC/ YPdcBKzCyGDmXoU85pJpcEyoERKNjN2Eq/0xpL2E7onjLm3yuH7H05jIsSY4pi67+q97F1 RtuZgA3LNUuHOTvrjmmgUM1xAGdAd2MZ9bW/dejzTuNImiDaFkK/xa4QDSUkBQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XdTCD3MwSzlwq; Wed, 30 Oct 2024 00:53:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49U0ri1k004150; Wed, 30 Oct 2024 00:53:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49U0ricl004147; Wed, 30 Oct 2024 00:53:44 GMT (envelope-from git) Date: Wed, 30 Oct 2024 00:53:44 GMT Message-Id: <202410300053.49U0ricl004147@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Li-Wen Hsu Subject: git: 1e4603b7a819 - stable/14 - ncurses: Fix codegen for key names and codes List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 1e4603b7a8193064a9879c6c1906be1c7cb57575 Auto-Submitted: auto-generated The branch stable/14 has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=1e4603b7a8193064a9879c6c1906be1c7cb57575 commit 1e4603b7a8193064a9879c6c1906be1c7cb57575 Author: SHENG-YI HONG AuthorDate: 2024-10-23 20:38:33 +0000 Commit: Li-Wen Hsu CommitDate: 2024-10-30 00:53:05 +0000 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 of 21817992b3314c908ab50f0bb88d2ee750b9c4ac PR: 280697 Reported by: np Reviewed by: bapt Tested by: scf Fixes: 21817992b331 ncurses: vendor import version 6.5 MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47153 (cherry picked from commit 514f4e89acd2e7b1824b261055bef49a3da6a956) --- lib/ncurses/tinfo/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ncurses/tinfo/Makefile b/lib/ncurses/tinfo/Makefile index b202a40a1cc3..072c2368d4b4 100644 --- a/lib/ncurses/tinfo/Makefile +++ b/lib/ncurses/tinfo/Makefile @@ -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"