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 19137158094 for ; Tue, 11 Oct 2022 05:10:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4480AE084A; Tue, 11 Oct 2022 05:10:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 2BFB2E084A for ; Tue, 11 Oct 2022 05:10:20 +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 C0A0F34116B for ; Tue, 11 Oct 2022 05:10:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0D475F1 for ; Tue, 11 Oct 2022 05:10:16 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1665464952.916f6b97fc1ea3d7c8539a3c740460f602591237.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xkeycaps/, x11-misc/xkeycaps/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/xkeycaps/files/xkeycaps-2.47_p7-clang16.patch x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild X-VCS-Directories: x11-misc/xkeycaps/ x11-misc/xkeycaps/files/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 916f6b97fc1ea3d7c8539a3c740460f602591237 X-VCS-Branch: master Date: Tue, 11 Oct 2022 05:10:16 +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: e8f56178-bfcb-4315-8bec-c4009f799c5d X-Archives-Hash: 484fcef435174fd9b933869f36e139cc commit: 916f6b97fc1ea3d7c8539a3c740460f602591237 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Oct 11 05:03:20 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Oct 11 05:09:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=916f6b97 x11-misc/xkeycaps: further fix w/ upcoming clang16 When last tested this package, did not know clang16 was newly enabling -Werror=incompatible-pointer-types yet and hadn't looked at this. Trivial const mismatch, so no revbump. Bug: https://bugs.gentoo.org/871129 Signed-off-by: Ionen Wolkens gentoo.org> x11-misc/xkeycaps/files/xkeycaps-2.47_p7-clang16.patch | 18 ++++++++++++++++++ x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild | 1 + 2 files changed, 19 insertions(+) diff --git a/x11-misc/xkeycaps/files/xkeycaps-2.47_p7-clang16.patch b/x11-misc/xkeycaps/files/xkeycaps-2.47_p7-clang16.patch new file mode 100644 index 000000000000..99dc6f4ea827 --- /dev/null +++ b/x11-misc/xkeycaps/files/xkeycaps-2.47_p7-clang16.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/871129 +--- a/commands.c ++++ b/commands.c +@@ -1754,3 +1754,3 @@ + } +- XawListChange (box->keysym_list, keysym_name_buffer, 0, 0, True); ++ XawListChange (box->keysym_list, (const char **) keysym_name_buffer, 0, 0, True); + } +@@ -2528,3 +2528,3 @@ + box->set = &keyboard_sets [i]; +- XawListChange (box->keymap_list, (char **) box->set->maps, 0, 0, True); ++ XawListChange (box->keymap_list, (const char **) box->set->maps, 0, 0, True); + for (i = 0; i < box->set->map_count; i++) +@@ -2599,3 +2599,3 @@ + +- XawListChange (box->keyboard_list, list, 0, 0, True); ++ XawListChange (box->keyboard_list, (const char **) list, 0, 0, True); + XawListHighlight (box->keyboard_list, kbd); diff --git a/x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild b/x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild index be540734790a..136ec95c516f 100644 --- a/x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild +++ b/x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild @@ -35,6 +35,7 @@ BDEPEND=" DOCS=( README defining.txt hierarchy.txt sgi-microsoft.txt ) PATCHES=( "${FILESDIR}"/${P/_p*}-Imakefile.patch + "${FILESDIR}"/${P}-clang16.patch ) S=${WORKDIR}/${P/_p*}