mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
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:
@@ -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);
|
||||
|
||||
@@ -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 $(
|
||||
|
||||
Reference in New Issue
Block a user