new file mode 100644
@@ -0,0 +1,30 @@
+--- libX11-1.4.99.902/src/util/Makefile.am.orig 2014-06-02 14:59:20.350075680 +0200
++++ libX11-1.4.99.902/src/util/Makefile.am 2014-06-02 14:59:49.622076858 +0200
+@@ -1,27 +1 @@
+-
+-noinst_PROGRAMS=makekeys
+-
+-makekeys_CFLAGS = \
+- $(X11_CFLAGS) \
+- $(CWARNFLAGS)
+-
+-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
+-# Check source code with tools like lint & sparse
+-
+-ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
+-
+-lint:
+- $(LINT) $(ALL_LINT_FLAGS) makekeys.c
+-
+-endif LINT
new file mode 100644
@@ -0,0 +1,12 @@
+diff -Nurd libX11-1.4.99.902/nls/Makefile.am libX11-1.5.0/nls/Makefile.am
+--- libX11-1.4.99.902/nls/Makefile.am 2012-06-02 09:37:18.000000000 +0300
++++ libX11-1.4.99.902/nls/Makefile.am 2013-01-02 16:10:24.960156131 +0200
+@@ -36,11 +36,6 @@
+ < locale.dir.l1 > locale.dir.l2
+ cat locale.dir.l2 locale.dir.l1 > locale.dir
+
+-if HAVE_PERL
+-TESTS_ENVIRONMENT = $(PERL)
+-TESTS = $(srcdir)/compose-check.pl
+-endif HAVE_PERL
+-
new file mode 100644
@@ -0,0 +1,23 @@
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
+
+diff -uNr libX11-1.3.6.orig//configure.ac libX11-1.3.6/configure.ac
+--- libX11-1.3.6.orig//configure.ac 2010-09-20 08:04:16.000000000 +0200
++++ libX11-1.3.6/configure.ac 2010-09-28 16:29:26.000000000 +0200
+@@ -355,7 +355,14 @@
+ # Find keysymdef.h
+ #
+ AC_MSG_CHECKING([keysym definitions])
+-KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
++AC_ARG_WITH(keysymdefdir,
++ AC_HELP_STRING([--with-keysymdefdir=DIR], [The location of keysymdef.h]),
++ KEYSYMDEFDIR=$withval, KEYSYMDEFDIR="")
++
++if test x$KEYSYMDEFDIR = x; then
++ KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
++fi
++
+ FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
+ for i in $FILES; do
+ if test -f "$KEYSYMDEFDIR/$i"; then
new file mode 100644
@@ -0,0 +1,20 @@
+require libx11.inc
+inherit gettext
+
+RECIPE_TYPES = "sdk machine native"
+
+EXTRA_OECONF += "--with-keysymdefdir=${HOST_SYSROOT}${includedir}/X11"
+
+#removed xtrans - removed xslt support elsewhere too
+DEPENDS += "xtrans util-macros libxdmcp libxau \
+ bigreqsproto xproto xextproto xcmiscproto \
+ xf86bigfontproto kbproto inputproto libxcb"
+DEPENDS_${PN} += "xproto libxcb libxau libxdmcp libdl"
+# "libxau libxdmcp"
+RDEPENDS_${PN} += "libxcb libxau libxdmcp libdl libc"
+
+SRC_URI += " file://disable_tests.patch \
+ file://keysymdef_include.patch \
+ file://disable_makekeys.patch \
+ "
+
new file mode 100644
@@ -0,0 +1 @@
+afe75b7c2c54e354f726fd36251bcfec1e1f833a libX11-1.4.99.902.tar.bz2
From: mdh <dore@madsdore.dk> --- .../libx11-1.4.99.902/disable_makekeys.patch | 30 ++++++++++++++++++++++ .../xorg-lib/libx11-1.4.99.902/disable_tests.patch | 12 +++++++++ .../libx11-1.4.99.902/keysymdef_include.patch | 23 +++++++++++++++++ recipes/xorg-lib/libx11_1.4.99.902.oe | 20 +++++++++++++++ recipes/xorg-lib/libx11_1.4.99.902.oe.sig | 1 + 5 files changed, 86 insertions(+) create mode 100644 recipes/xorg-lib/libx11-1.4.99.902/disable_makekeys.patch create mode 100644 recipes/xorg-lib/libx11-1.4.99.902/disable_tests.patch create mode 100644 recipes/xorg-lib/libx11-1.4.99.902/keysymdef_include.patch create mode 100644 recipes/xorg-lib/libx11_1.4.99.902.oe create mode 100644 recipes/xorg-lib/libx11_1.4.99.902.oe.sig