diff mbox

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

Message ID 1389704549-26840-1-git-send-email-kim.hansen@prevas.dk
State Accepted
Delegated to: Jacob Kjaergaard
Headers show

Commit Message

kim.hansen@prevas.dk Jan. 14, 2014, 1:02 p.m. UTC
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
diff mbox

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 \
            "