summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/xorg-lib/libx11-1.3.4/makekeys_crosscompile.patch
Commit message (Collapse)AuthorAgeFilesLines
* libx11: fix libX11 keysyms to pass xts5 of lsbJingdong Lu2011-06-021-0/+45
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>