commit:     ff99b5fb1be5401fa0d01f91a5e40c51b74b28a1
Author:     Raul E Rangel <rrangel <AT> chromium <DOT> org>
AuthorDate: Tue Mar 21 19:20:36 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 20:30:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff99b5fb

x11-misc/compose-tables: Pass keysymdefdir

We don't want to look at the host's keysymdef.h, but the target board's
version.

--with-keysymdefdir=DIR The location of keysymdef.h (defaults to xproto
                        include dir)

Without this change we get the following:

    checking keysym definitions...  /usr/include/X11/keysymdef.h
    /usr/include/X11/XF86keysym.h /usr/include/X11/Sunkeysym.h
    /usr/include/X11/DECkeysym.h /usr/include/X11/HPkeysym.h

With this change:

    checking keysym definitions...
    /build/arm64-generic/usr/include/X11/keysymdef.h
    /build/arm64-generic/usr/include/X11/XF86keysym.h
    /build/arm64-generic/usr/include/X11/Sunkeysym.h
    /build/arm64-generic/usr/include/X11/DECkeysym.h
    /build/arm64-generic/usr/include/X11/HPkeysym.h

Signed-off-by: Raul E Rangel <rrangel <AT> chromium.org>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .../{compose-tables-1.8.4.ebuild => compose-tables-1.8.4-r1.ebuild}      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x11-misc/compose-tables/compose-tables-1.8.4.ebuild 
b/x11-misc/compose-tables/compose-tables-1.8.4-r1.ebuild
similarity index 94%
rename from x11-misc/compose-tables/compose-tables-1.8.4.ebuild
rename to x11-misc/compose-tables/compose-tables-1.8.4-r1.ebuild
index f4cb0d243aff..e2b4da6df860 100644
--- a/x11-misc/compose-tables/compose-tables-1.8.4.ebuild
+++ b/x11-misc/compose-tables/compose-tables-1.8.4-r1.ebuild
@@ -27,6 +27,7 @@ XORG_CONFIGURE_OPTIONS=(
        --without-fop
        --disable-specs
        --disable-xkb
+       --with-keysymdefdir="${ESYSROOT}/usr/include/X11"
 )
 
 src_compile() {

Reply via email to