x11-misc/xkeycaps: update clang16 patch to provide compatible pointer type sorted vars

Closes: https://bugs.gentoo.org/928511
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2024-07-06 11:38:30 +02:00
parent 61698e7488
commit 7c650a13af
2 changed files with 4 additions and 4 deletions

View File

@@ -4,15 +4,15 @@ https://bugs.gentoo.org/871129
@@ -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);
+ XawListChange (box->keysym_list, (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);
+ XawListChange (box->keymap_list, (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);
+ XawListChange (box->keyboard_list, (char **) list, 0, 0, True);
XawListHighlight (box->keyboard_list, kbd);

View File

@@ -11,6 +11,7 @@ SRC_URI="
mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
"
S=${WORKDIR}/${P/_p*}
LICENSE="HPND"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
@@ -37,7 +38,6 @@ PATCHES=(
"${FILESDIR}"/${P/_p*}-Imakefile.patch
"${FILESDIR}"/${P}-clang16.patch
)
S=${WORKDIR}/${P/_p*}
src_prepare() {
eapply $(