From nobody Tue Feb 14 13:15:56 2023 X-Original-To: dev-commits-src-main@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 4PGMCc4ryfz3rxHd; Tue, 14 Feb 2023 13:15:56 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PGMCc499Wz3xvN; Tue, 14 Feb 2023 13:15:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676380556; 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=I7zRGlGVf83PPQf6lwDP1uDAIVKzkW6B7wrxHqNfV7g=; b=Yd4zRh7Tqw//sgOFsoKI7a02cPCQEyuvUAzMV7twaAvqmDHJNp++u6FcVaaLFps04GGd82 Z8UlgzigMhhsPceqU3Gq5t/uML/CNfhhsgtBLaiQ1MBlTNzviRAZfPYRMWxoORQSb+K34t sA3QoROfhfS4BHQEKsYV31SarMkJAllg7Gibn4tV7U/Q7bmazvLOcCkI/4Q7cfZd6LwRgy R0y+6Aj3dP4dxKRtg1JD3U9LZVSe5RdXF3PoKGN+6sf3jnA45DSi43ZegvyrvfT780dafR W2w/UW0ilynnUKSKC+xqcncb+W+G8zarzm/jwnyrszjV4TYe/FmJtTUhww1Hnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676380556; 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=I7zRGlGVf83PPQf6lwDP1uDAIVKzkW6B7wrxHqNfV7g=; b=IJ5jNmFGnEdTimaJ00CVVZ+H+NPvfJYy0H6RLfEtpLJNYdsfPHaoz4HeJYxVqAQDmZhxAt pj52a/Q2pmIEdRlMu9mcCUcxUiD1nb0zrPN472VNI9PXvSRjCUPnjNwmr7/3GEH4wdmGnz Jp4VHoXx95EIdClMURX76hjQ18Hp3X6A/aHwz6NqpRHWBOWM8vM18/Sy4KgS6z8OpEK4Af TlzXLYDyTZMaPNWhVesGfueTPkRJKoayWDPBo6y5CWf40nk9MntoSkqbyLCsGcFtBPfAAj upf+FeSeX5RxkzEMvLzyTpRz90NNoQ9fAyqzArjk6Q5D1pgwZTr1vne5jsvkDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676380556; a=rsa-sha256; cv=none; b=XHZRgKywZc0zPRcTVckmuY2BDIuR4MUBByrHyNN9XGgnaKLayq938yTGEECSrF/GnMmx/j mekwfWCCtwt+4K3gyLLIKDJWDNAa+TERl9Pt7qUgBcaTJgAxnVj8nnUUIkq3jT4OnzllaS VC/dNEVLnlYYkAdRnievmI01pMZ5KtOdwr5vRTdMOACWyFp/SovuZfxkeHK4s3v/7prrep Q9JeQMKGQw84ibasS9NXlHBOuL6S6mwWYVpP1Hg65OtRKSMbk3H2r9mEecLjrcXm0drppS FPVqMdx9ehL2pCZed4jhsT9HnpQKN0xrfkP8Sd3YmLoJCZXz2jp5eTIwgiec/g== 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 4PGMCc3368z10Tn; Tue, 14 Feb 2023 13:15:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31EDFux4044385; Tue, 14 Feb 2023 13:15:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31EDFu9Q044384; Tue, 14 Feb 2023 13:15:56 GMT (envelope-from git) Date: Tue, 14 Feb 2023 13:15:56 GMT Message-Id: <202302141315.31EDFu9Q044384@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: c2bb66023fe3 - main - kbdcontrol: enable pre-Unicode dead key table compatibility List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c2bb66023fe3e3617f56302b6960f59545a5535c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=c2bb66023fe3e3617f56302b6960f59545a5535c commit c2bb66023fe3e3617f56302b6960f59545a5535c Author: Stefan Eßer AuthorDate: 2023-02-14 12:49:06 +0000 Commit: Stefan Eßer CommitDate: 2023-02-14 12:49:06 +0000 kbdcontrol: enable pre-Unicode dead key table compatibility The definition of pre-Unicode keymap ioctls will be made optional and dependent on COMPAT_FREEBSD13 in a follow-up commit to 14-CURRENT. While we generally provide ABI compatibility for older binaries on a new kernel, but not functionally extended userland programs on an old kernel, it has been specifically requested to preserve ABI compatibility for the kbdcontrol program for both these cases. Passing the kernel configuration option COMPAT_FREEBSD13 to the build of kbdcontrol will make ioctls visible to the build that are normally hidden, but required to implement compatibility with kernels that only support 8 bit characters in dead key maps. This commit is not to be merged to any previous FreeBSD version and it shall be reverted as soon as this type of ABI compatibility is no longer deemed necessary (probably before 14-STABLE is branched). This commit is a part of review D38465 and split off to allow it to be reverted using the commit ID. --- usr.sbin/kbdcontrol/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr.sbin/kbdcontrol/Makefile b/usr.sbin/kbdcontrol/Makefile index 960671a40fe7..d2107fb86290 100644 --- a/usr.sbin/kbdcontrol/Makefile +++ b/usr.sbin/kbdcontrol/Makefile @@ -9,4 +9,7 @@ SRCS= kbdcontrol.c lex.l WARNS?= 4 CFLAGS+= -I${.CURDIR} +# temporarily added for pre-Unicode accent key API/ABI compatibility +CFLAGS+= -DCOMPAT_FREEBSD13 + .include