Created attachment 24406 [details] [review] Patch for makekeys libX11 fails to cross-compile because makekeys needs to be called during the build process. For cross-compilation this must fail as makekeys was compiled with the target compiler. The following patch checks if we cross-compile and creates a noinstallable xmakekeys which is used during build. Another issue is that calling autoreconf fails because the XTRANS_CONNECTION_FLAGS macro is unknown. Patch attached also. Created and tested against libX11-1.1.5.
Created attachment 24407 [details] [review] Patch for the XTRANS_CONNECTION_FLAGS macro
first issue is already fixed. second patch is wrong, you need the macros from xtrans when running aclocal. *** This bug has been marked as a duplicate of bug 6669 ***
The second patch should not be applied - XTRANS_CONNECTION_FLAGS is required - you must have libxtrans correctly installed before building libX11 and the xtrans.m4 installed should be in a path that your aclocal either finds by default or you specify with the -I flag to the autoconf commands.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.