]> code.ossystems Code Review - openembedded-core.git/commit
libx11: fix libX11 keysyms to pass xts5 of lsb
authorJingdong Lu <jingdong.lu@windriver.com>
Tue, 24 May 2011 05:57:57 +0000 (13:57 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jun 2011 13:47:26 +0000 (14:47 +0100)
commit0eea9ab2e9d6e9457f24aa63b3126666611c1c7b
tree158b44df5ae0e89bbd992424b9c3de73fca1e3e5
parent39a3842c34cf344749d7269a91c47e3a1a86d2b8
libx11: fix libX11 keysyms to pass xts5 of lsb

Fixes bug: [YOCTO #1095]
Because of cross-compiling libx11 keysyms will cause Xts5 test of LSB fail.
libx11 use a tool named "makekey" which compiled as a native tool to generate
ks_tables.h. Because the size of "unsigned long" is different between 32-bit
and 64-bit, we should judge whether our target is 32-bit or 64-bit and tell
"makekey".
I add a patch to "makekeys_crosscompile.patch" to "src/utils/makekeys.c" in
order to deal with the different targets. If our target is 32-bit, we force
the variable its type is "unsigned long" to "uint32_t". So we can generate a
correct keysyms.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
meta/recipes-graphics/xorg-lib/libx11-1.3.4/makekeys_crosscompile.patch [new file with mode: 0644]
meta/recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb
meta/recipes-graphics/xorg-lib/libx11.inc
meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb