The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libgtk3 / 0004-Fix-undefined-reference-to-get_xkb.patch
1 From b64a04250b1f35923434158beb6ddb5726b41eac Mon Sep 17 00:00:00 2001
2 From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
3 Date: Mon, 27 Oct 2014 10:34:38 +0100
4 Subject: [PATCH 1/1] Fix undefined reference to get_xkb()
5
6 When configuring Gtk+ with --disable-xkb, the build fails because of an
7 undefined reference to get_xkb().
8
9 This patch fixes this issue.
10
11 Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
12 ---
13  gdk/x11/gdkkeys-x11.c | 2 ++
14  1 file changed, 2 insertions(+)
15
16 diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c
17 index c45a971..6a5481b 100644
18 --- a/gdk/x11/gdkkeys-x11.c
19 +++ b/gdk/x11/gdkkeys-x11.c
20 @@ -1498,8 +1498,10 @@ gdk_x11_keymap_map_virtual_modifiers (GdkKeymap       *keymap,
21    int i, j;
22    gboolean retval;
23  
24 +#ifdef HAVE_XKB
25    if (KEYMAP_USE_XKB (keymap))
26      get_xkb (keymap_x11);
27 +#endif
28  
29    retval = TRUE;
30  
31 -- 
32 1.9.1
33