commit:     fb1bee9a954a32df967061db7059d5b796d48712
Author:     Raul E Rangel <rrangel <AT> chromium <DOT> org>
AuthorDate: Tue Mar 21 20:23:38 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=fb1bee9a

x11-libs/libX11: Pass keysymdefdir

The configure script is currently looking for the host's keysymdef.h.
We need to pass in the --with-keysymdefdir option so we can look in the
target's sysroot.

Before this change:

    checking keysym definitions... configure: error: Cannot find keysymdef.h

After 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>
Closes: https://github.com/gentoo/gentoo/pull/30294
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-libs/libX11/{libX11-1.8.4.ebuild => libX11-1.8.4-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x11-libs/libX11/libX11-1.8.4.ebuild 
b/x11-libs/libX11/libX11-1.8.4-r1.ebuild
similarity index 94%
rename from x11-libs/libX11/libX11-1.8.4.ebuild
rename to x11-libs/libX11/libX11-1.8.4-r1.ebuild
index d7bb9811890f..00ec67e705e7 100644
--- a/x11-libs/libX11/libX11-1.8.4.ebuild
+++ b/x11-libs/libX11/libX11-1.8.4-r1.ebuild
@@ -33,6 +33,7 @@ src_configure() {
                $(use_enable doc specs)
                --enable-ipv6
                --without-fop
+               --with-keysymdefdir="${ESYSROOT}/usr/include/X11"
                CPP="$(tc-getPROG CPP cpp)"
        )
        xorg-3_src_configure

Reply via email to