diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-app/xdpyinfo/disable-xkb.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-app/xdpyinfo/disable-xkb.patch | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-graphics/xorg-app/xdpyinfo/disable-xkb.patch b/meta/recipes-graphics/xorg-app/xdpyinfo/disable-xkb.patch index b10143df48..1e8199cc66 100644 --- a/meta/recipes-graphics/xorg-app/xdpyinfo/disable-xkb.patch +++ b/meta/recipes-graphics/xorg-app/xdpyinfo/disable-xkb.patch | |||
@@ -1,20 +1,22 @@ | |||
1 | Upstream-Status: Pending | 1 | Upstream-Status: Pending |
2 | 2 | ||
3 | --- xdpyinfo-1.0.1/configure.ac.orig 2006-03-08 16:33:05.000000000 +0100 | 3 | Index: xdpyinfo-1.3.0/configure.ac |
4 | +++ xdpyinfo-1.0.1/configure.ac 2006-03-08 16:41:59.000000000 +0100 | 4 | =================================================================== |
5 | @@ -45,11 +45,15 @@ | 5 | --- xdpyinfo-1.3.0.orig/configure.ac 2011-10-21 21:34:21.000000000 -0700 |
6 | +++ xdpyinfo-1.3.0/configure.ac 2011-11-28 20:06:56.554056935 -0800 | ||
7 | @@ -47,11 +47,15 @@ | ||
6 | AC_CHECK_HEADERS([X11/extensions/multibuf.h X11/extensions/XShm.h],,,[#include <X11/Xlib.h>]) | 8 | AC_CHECK_HEADERS([X11/extensions/multibuf.h X11/extensions/XShm.h],,,[#include <X11/Xlib.h>]) |
7 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) | 9 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) |
8 | 10 | ||
9 | +AC_ARG_ENABLE(xkb, AC_HELP_STRING([--disable-xkb], [Disable XKB support]), | 11 | +AC_ARG_ENABLE(xkb, AC_HELP_STRING([--disable-xkb], [Disable XKB support]), |
10 | + XKB="$enableval", XKB="yes") | 12 | + XKB="$enableval", XKB="yes") |
11 | +if test "x$XKB" = "xyes" ; then | 13 | +if test "x$XKB" = "xyes" ; then |
12 | PKG_CHECK_MODULES(DPY_XKB, x11, | 14 | PKG_CHECK_MODULES(DPY_XKB, x11, |
13 | [SAVE_CPPFLAGS="$CPPFLAGS" | 15 | [SAVE_CPPFLAGS="$CPPFLAGS" |
14 | CPPFLAGS="$CPPFLAGS $DPY_XKB_CFLAGS $DPY_X11_CFLAGS" | 16 | CPPFLAGS="$CPPFLAGS $DPY_XKB_CFLAGS $DPY_X11_CFLAGS" |
15 | AC_CHECK_HEADERS([X11/extensions/XKB.h X11/XKBlib.h],,,[#include <X11/Xlib.h>]) | 17 | AC_CHECK_HEADERS([X11/extensions/XKB.h X11/XKBlib.h],,,[#include <X11/Xlib.h>]) |
16 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) | 18 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) |
17 | +fi | 19 | +fi |
18 | 20 | ||
19 | PKG_CHECK_MODULES(DPY_XF86VIDMODE, xxf86vm, | 21 | PKG_CHECK_MODULES(DPY_XF86VIDMODE, xxf86vm, |
20 | [SAVE_CPPFLAGS="$CPPFLAGS" | 22 | [SAVE_CPPFLAGS="$CPPFLAGS" |