X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Flibgtk3%2F0004-Fix-undefined-reference-to-get_xkb.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Flibgtk3%2F0004-Fix-undefined-reference-to-get_xkb.patch;h=c2f4b4fe0a1f5c7fd6adf1eca4c5a8097acadb07;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/libgtk3/0004-Fix-undefined-reference-to-get_xkb.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/libgtk3/0004-Fix-undefined-reference-to-get_xkb.patch new file mode 100644 index 0000000..c2f4b4f --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/libgtk3/0004-Fix-undefined-reference-to-get_xkb.patch @@ -0,0 +1,33 @@ +From b64a04250b1f35923434158beb6ddb5726b41eac Mon Sep 17 00:00:00 2001 +From: Eric Le Bihan +Date: Mon, 27 Oct 2014 10:34:38 +0100 +Subject: [PATCH 1/1] Fix undefined reference to get_xkb() + +When configuring Gtk+ with --disable-xkb, the build fails because of an +undefined reference to get_xkb(). + +This patch fixes this issue. + +Signed-off-by: Eric Le Bihan +--- + gdk/x11/gdkkeys-x11.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c +index c45a971..6a5481b 100644 +--- a/gdk/x11/gdkkeys-x11.c ++++ b/gdk/x11/gdkkeys-x11.c +@@ -1498,8 +1498,10 @@ gdk_x11_keymap_map_virtual_modifiers (GdkKeymap *keymap, + int i, j; + gboolean retval; + ++#ifdef HAVE_XKB + if (KEYMAP_USE_XKB (keymap)) + get_xkb (keymap_x11); ++#endif + + retval = TRUE; + +-- +1.9.1 +