[oe-commits] [openembedded-core] 28/64: libx11: fix build error

git at git.openembedded.org git at git.openembedded.org
Mon Jul 17 13:02:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit c2bc26a163be231f489ea13e6f7226715765732e
Author: Maxin B. John <maxin.john at intel.com>
AuthorDate: Tue Jul 11 15:58:12 2017 +0300

    libx11: fix build error
    
    libx11 build fails with this error:
    
    fatal error: bits/long-double-64.h: No such file or directory
    | compilation terminated.
    
    This is due to the fact that "makekeys" should be compiled for the host
    since it is executed at build time to generate ks_tables.h. Since we have
    the X11 include files in the standard path of oe-core, we can remove the
    X11_CFLAGS from Makefile.
    
    Signed-off-by: Maxin B. John <maxin.john at intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-graphics/xorg-lib/libx11_1.6.5.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.6.5.bb b/meta/recipes-graphics/xorg-lib/libx11_1.6.5.bb
index 71cbf67..50e8837 100644
--- a/meta/recipes-graphics/xorg-lib/libx11_1.6.5.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11_1.6.5.bb
@@ -5,6 +5,9 @@ BBCLASSEXTEND = "native nativesdk"
 
 SRC_URI += "file://disable_tests.patch \
            "
+do_configure_append () {
+    sed -i -e "/X11_CFLAGS/d" ${B}/src/util/Makefile
+}
 
 SRC_URI[md5sum] = "0f618db70c4054ca67cee0cc156a4255"
 SRC_URI[sha256sum] = "4d3890db2ba225ba8c55ca63c6409c1ebb078a2806de59fb16342768ae63435d"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list