summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/xorg-lib/libx11-diet-1.3/include_fix.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-10-03 09:58:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-11 17:04:33 +0100
commit3859ae3fb0164c88223f072578a5295070bdce2a (patch)
tree9f265cb09b765fb58f9be77e133f75308a7ee786 /meta/recipes-graphics/xorg-lib/libx11-diet-1.3/include_fix.patch
parentccebeb736c785cc6ade075798a1d5c27f106d780 (diff)
downloadopenembedded-core-3859ae3fb0164c88223f072578a5295070bdce2a.tar.gz
openembedded-core-3859ae3fb0164c88223f072578a5295070bdce2a.tar.bz2
openembedded-core-3859ae3fb0164c88223f072578a5295070bdce2a.tar.xz
openembedded-core-3859ae3fb0164c88223f072578a5295070bdce2a.zip
libx11-diet: move old patches used only by libx11-diet-1.3 to separate directory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libx11-diet-1.3/include_fix.patch')
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11-diet-1.3/include_fix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11-diet-1.3/include_fix.patch b/meta/recipes-graphics/xorg-lib/libx11-diet-1.3/include_fix.patch
new file mode 100644
index 000000000..b3bcbabfe
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libx11-diet-1.3/include_fix.patch
@@ -0,0 +1,25 @@
+Upstream-Status: Inappropriate [configuration]
+
+---
+ configure.ac | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- libX11-1.1.5.orig/configure.ac
++++ libX11-1.1.5/configure.ac
+@@ -218,13 +218,13 @@ AC_SUBST(XDMCP_LIBS)
+ AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
+
+ #
+ # Find keysymdef.h
+ #
+-AC_MSG_CHECKING([keysymdef.h])
+-dir=`pkg-config --variable=includedir xproto`
+-KEYSYMDEF="$dir/X11/keysymdef.h"
++AC_ARG_WITH(keysymdef,
++ AC_HELP_STRING([--with-keysymdef=DIR/keysymdef.h], [The location of keysymdef.h]),
++ KEYSYMDEF=$withval, KEYSYMDEF="")
+ if test -f "$KEYSYMDEF"; then
+ AC_MSG_RESULT([$KEYSYMDEF])
+ else
+ AC_MSG_ERROR([Cannot find keysymdef.h])
+ fi