From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mx1.pokylinux.org (Postfix) with ESMTP id 18EFB4C80191 for ; Wed, 1 Jun 2011 04:58:27 -0500 (CDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id p519wQti011719 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 1 Jun 2011 02:58:26 -0700 (PDT) Received: from localhost (128.224.162.222) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.1.255.0; Wed, 1 Jun 2011 02:58:25 -0700 Message-ID: Old-Date: Wed, 1 Jun 2011 17:52:40 +0800 Date: Wed, 1 Jun 2011 17:58:32 +0800 To: CC: From: Jingdong Lu MIME-Version: 1.0 X-Originating-IP: [128.224.162.222] Subject: [PATCH 0/1] libx11: fix libX11 keysyms to pass xts5 of lsb X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2011 09:58:27 -0000 Content-Type: text/plain From: Jingdong Lu 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. The following changes since commit 7706d5d844db2725f4118207d90e302679eacdfe: Bruce Ashfield (1): linux-yocto/meta-yocto: fix gcc 4.6.0 compilation failures are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jingdonglu/distro http://git.pokylinux.org/cgit.cgi//log/?h=jingdonglu/distro Jingdong Lu (1): libx11: fix libX11 keysyms to pass xts5 of lsb .../libx11-1.3.4/makekeys_crosscompile.patch | 45 ++++++++++++++++++++ .../recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb | 5 +- meta/recipes-graphics/xorg-lib/libx11.inc | 8 +++- meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb | 5 +- 4 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.3.4/makekeys_crosscompile.patch