summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/libx11-diet-1.3/include_fix.patch
diff options
context:
space:
mode:
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 0000000000..b3bcbabfeb
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libx11-diet-1.3/include_fix.patch
@@ -0,0 +1,25 @@
1Upstream-Status: Inappropriate [configuration]
2
3---
4 configure.ac | 6 +++---
5 1 file changed, 3 insertions(+), 3 deletions(-)
6
7--- libX11-1.1.5.orig/configure.ac
8+++ libX11-1.1.5/configure.ac
9@@ -218,13 +218,13 @@ AC_SUBST(XDMCP_LIBS)
10 AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
11
12 #
13 # Find keysymdef.h
14 #
15-AC_MSG_CHECKING([keysymdef.h])
16-dir=`pkg-config --variable=includedir xproto`
17-KEYSYMDEF="$dir/X11/keysymdef.h"
18+AC_ARG_WITH(keysymdef,
19+ AC_HELP_STRING([--with-keysymdef=DIR/keysymdef.h], [The location of keysymdef.h]),
20+ KEYSYMDEF=$withval, KEYSYMDEF="")
21 if test -f "$KEYSYMDEF"; then
22 AC_MSG_RESULT([$KEYSYMDEF])
23 else
24 AC_MSG_ERROR([Cannot find keysymdef.h])
25 fi