From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E647158451 for ; Sun, 14 Jan 2024 04:53:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7142AE29FA; Sun, 14 Jan 2024 04:53:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DC21E29F7 for ; Sun, 14 Jan 2024 04:53:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5DEF5343205 for ; Sun, 14 Jan 2024 04:53:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9FD74131B for ; Sun, 14 Jan 2024 04:53:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1705207890.417e4bb0088b9835519879f7a0e9af8eaedeb5cb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libxklavier/, x11-libs/libxklavier/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libxklavier/files/clang-17.patch x11-libs/libxklavier/libxklavier-5.4-r1.ebuild X-VCS-Directories: x11-libs/libxklavier/ x11-libs/libxklavier/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 417e4bb0088b9835519879f7a0e9af8eaedeb5cb X-VCS-Branch: master Date: Sun, 14 Jan 2024 04:53:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f61bafb6-a8aa-439f-8218-ecb599aedde8 X-Archives-Hash: 14702fa67792f6eee9fb3302369f2b0f commit: 417e4bb0088b9835519879f7a0e9af8eaedeb5cb Author: Nicholas Vinson gmail com> AuthorDate: Wed Jan 10 23:59:55 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 14 04:51:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=417e4bb0 x11-libs/libxklavier: Remove undefined symbol Symbol xkl_engine_VOID__FLAGS_INT_BOOLEAN is not defined. Upstream is dead per https://www.freedesktop.org/wiki/Software/LibXklavier/. This change allows libxklavier to build with clang-17 by deleting the undefined symbol from the version symbol map. Despite upstream status, the following packages still depend on libxklavier: app-accessibility/caribou dev-libs/eekboard dev-libs/input-pad gnome-base/libgnomekbd gnome-extra/cinnamon-control-center gnome-extra/cinnamon-settings-daemon mate-base/libmatekbd mate-base/mate-control-center mate-base/mate-settings-daemon mate-extra/mate-screensaver x11-misc/lightdm xfce-base/xfce4-settings xfce-extra/xfce4-screensaver xfce-extra/xfce4-xkb-plugin Closes: https://bugs.gentoo.org/915208 Signed-off-by: Nicholas Vinson gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34739 Signed-off-by: Sam James gentoo.org> x11-libs/libxklavier/files/clang-17.patch | 14 ++++++++++++++ x11-libs/libxklavier/libxklavier-5.4-r1.ebuild | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/x11-libs/libxklavier/files/clang-17.patch b/x11-libs/libxklavier/files/clang-17.patch new file mode 100644 index 000000000000..1f2d3e8ce811 --- /dev/null +++ b/x11-libs/libxklavier/files/clang-17.patch @@ -0,0 +1,14 @@ +--- ./libxklavier/libxklavier.public.old 2024-01-10 18:54:48.527283381 -0500 ++++ ./libxklavier/libxklavier.public 2024-01-10 18:54:56.486180329 -0500 +@@ -81,11 +81,10 @@ xkl_engine_set_secondary_groups_mask + xkl_engine_set_window_transparent + xkl_engine_start_listen + xkl_engine_state_change_get_type + xkl_engine_stop_listen + xkl_engine_ungrab_key +-xkl_engine_VOID__FLAGS_INT_BOOLEAN + xkl_engine_VOID__ENUM_INT_BOOLEAN + xkl_get_country_name + xkl_get_language_name + xkl_get_last_error + xkl_restore_names_prop diff --git a/x11-libs/libxklavier/libxklavier-5.4-r1.ebuild b/x11-libs/libxklavier/libxklavier-5.4-r1.ebuild index f4fa2b5d057d..8edb16f51e34 100644 --- a/x11-libs/libxklavier/libxklavier-5.4-r1.ebuild +++ b/x11-libs/libxklavier/libxklavier-5.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -35,6 +35,8 @@ BDEPEND=" vala? ( $(vala_depend) ) " +PATCHES=( "${FILESDIR}"/clang-17.patch ) + src_prepare() { default elibtoolize