Patchwork [xorg,1/2] add patch to fix cross compile include paths

login
register
mail settings
Submitter kim.hansen@prevas.dk
Date Jan. 14, 2014, 1:31 p.m.
Message ID <1389706272-8458-1-git-send-email-kim.hansen@prevas.dk>
Download mbox | patch
Permalink /patch/310734/
State New
Delegated to: Jacob Kjaergaard
Headers show

Comments

kim.hansen@prevas.dk - Jan. 14, 2014, 1:31 p.m.
From: Kim Højgaard-Hansen <kiho@prevas.dk>

---
 .../xorg-lib/libx11/fix-cross-compile-include-path.patch   | 14 ++++++++++++++
 recipes/xorg-lib/libx11_1.5.0.oe                           |  1 +
 2 files changed, 15 insertions(+)
 create mode 100644 recipes/xorg-lib/libx11/fix-cross-compile-include-path.patch

Patch

diff --git a/recipes/xorg-lib/libx11/fix-cross-compile-include-path.patch b/recipes/xorg-lib/libx11/fix-cross-compile-include-path.patch
new file mode 100644
index 0000000..3cc9484
--- /dev/null
+++ b/recipes/xorg-lib/libx11/fix-cross-compile-include-path.patch
@@ -0,0 +1,14 @@ 
+--- libX11-1.5.0/src/util/Makefile.am	2012-06-02 08:37:19.000000000 +0200
++++ libX11-1.5.0-patched/src/util/Makefile.am	2014-01-14 11:17:50.350648355 +0100
+@@ -8,11 +8,6 @@
+ makekeys_CPPFLAGS = \
+ 	-I$(top_srcdir)/include
+ 
+-CC = @CC_FOR_BUILD@
+-CPPFLAGS = @CPPFLAGS_FOR_BUILD@
+-CFLAGS = @CFLAGS_FOR_BUILD@
+-LDFLAGS = @LDFLAGS_FOR_BUILD@
+-
+ EXTRA_DIST = mkks.sh
+ 
+ if LINT
diff --git a/recipes/xorg-lib/libx11_1.5.0.oe b/recipes/xorg-lib/libx11_1.5.0.oe
index 794c32e..3f46493 100644
--- a/recipes/xorg-lib/libx11_1.5.0.oe
+++ b/recipes/xorg-lib/libx11_1.5.0.oe
@@ -16,6 +16,7 @@  RDEPENDS_${PN} +=  "libxcb libxau libxdmcp libdl libc"
 
 SRC_URI += " file://keysymdef_include.patch \
              file://pkgconfig.patch     \
+	     file://fix-cross-compile-include-path.patch \
            "