summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xserver-kdrive-1.4.99.901/no_xkb.patch
diff options
context:
space:
mode:
authorPieter G <pieterg@gmx.com>2008-04-17 10:30:57 +0000
committerKoen Kooi <koen@openembedded.org>2008-04-17 10:30:57 +0000
commitaf0a81dac0690338e3e6f194b10bc5970e3eabf9 (patch)
tree4bbf41e8525ef88e23ef32509485fe23324aafbc /packages/xorg-xserver/xserver-kdrive-1.4.99.901/no_xkb.patch
parent35599625edd96d80d11c079c44fa9c7ba0e608e4 (diff)
xserver-kdrive 1.4.99.901: allow builds without xkb
Diffstat (limited to 'packages/xorg-xserver/xserver-kdrive-1.4.99.901/no_xkb.patch')
-rw-r--r--packages/xorg-xserver/xserver-kdrive-1.4.99.901/no_xkb.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/xorg-xserver/xserver-kdrive-1.4.99.901/no_xkb.patch b/packages/xorg-xserver/xserver-kdrive-1.4.99.901/no_xkb.patch
new file mode 100644
index 0000000000..779aa2d6ef
--- /dev/null
+++ b/packages/xorg-xserver/xserver-kdrive-1.4.99.901/no_xkb.patch
@@ -0,0 +1,12 @@
+--- dix/devices.c~ 2008-04-16 13:01:08.000000000 +0200
++++ dix/devices.c 2008-04-16 13:01:08.000000000 +0200
+@@ -527,8 +527,8 @@
+ #ifdef XKB
+ if (dev->key->xkbInfo)
+ XkbFreeInfo(dev->key->xkbInfo);
+-#endif
+ dev->key->xkbInfo = NULL;
++#endif
+ xfree(dev->key->curKeySyms.map);
+ xfree(dev->key->modifierKeyMap);
+ xfree(dev->key);