diff options
-rw-r--r-- | recipes/xorg-xserver/xserver-kdrive-1.5.3/keyboard_device.patch | 16 | ||||
-rw-r--r-- | recipes/xorg-xserver/xserver-kdrive_1.5.3.bb | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/recipes/xorg-xserver/xserver-kdrive-1.5.3/keyboard_device.patch b/recipes/xorg-xserver/xserver-kdrive-1.5.3/keyboard_device.patch new file mode 100644 index 0000000000..dcb9eb01a5 --- /dev/null +++ b/recipes/xorg-xserver/xserver-kdrive-1.5.3/keyboard_device.patch @@ -0,0 +1,16 @@ +--- a/hw/kdrive/src/kinput.c 2010-06-03 19:03:41.000000000 +0400 ++++ b/hw/kdrive/src/kinput.c 2010-06-03 19:08:26.000000000 +0400 +@@ -1174,10 +1174,11 @@ + ki->xkbVariant = option->value; + else if (strcasecmp(option->key, "XkbOptions") == 0) + ki->xkbOptions = option->value; +- else if (!strcasecmp (option->key, "device")) +- ki->path = KdSaveString(option->value); + else + #endif ++ if (!strcasecmp (option->key, "device")) ++ ki->path = KdSaveString(option->value); ++ else + ErrorF("Kbd option key (%s) of value (%s) not assigned!\n", + option->key, option->value); + } diff --git a/recipes/xorg-xserver/xserver-kdrive_1.5.3.bb b/recipes/xorg-xserver/xserver-kdrive_1.5.3.bb index 680582e632..07e88f507c 100644 --- a/recipes/xorg-xserver/xserver-kdrive_1.5.3.bb +++ b/recipes/xorg-xserver/xserver-kdrive_1.5.3.bb @@ -20,6 +20,7 @@ SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \ file://sysroot_fix.patch \ file://drmfix.patch \ file://no_xkb.patch \ + file://keyboard_device.patch \ " S = "${WORKDIR}/xorg-server-${PV}" |