[Pkg-utopia-commits] r1803 - /packages/unstable/hal/debian/patches/65-keyboard-addon-repeated.patch

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Mon Oct 22 07:24:21 UTC 2007


Author: biebl
Date: Mon Oct 22 07:24:21 2007
New Revision: 1803

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=1803
Log:
Rework patch for hal 0.5.10

Modified:
    packages/unstable/hal/debian/patches/65-keyboard-addon-repeated.patch

Modified: packages/unstable/hal/debian/patches/65-keyboard-addon-repeated.patch
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/patches/65-keyboard-addon-repeated.patch?rev=1803&op=diff
==============================================================================
--- packages/unstable/hal/debian/patches/65-keyboard-addon-repeated.patch (original)
+++ packages/unstable/hal/debian/patches/65-keyboard-addon-repeated.patch Mon Oct 22 07:24:21 2007
@@ -1,12 +1,12 @@
-diff -Nur hal-0.5.9/hald/linux/addons/addon-keyboard.c hal-0.5.9.new/hald/linux/addons/addon-keyboard.c
---- hal-0.5.9/hald/linux/addons/addon-keyboard.c	2007-03-07 22:52:19.000000000 +0100
-+++ hal-0.5.9.new/hald/linux/addons/addon-keyboard.c	2007-04-17 20:12:26.000000000 +0200
+diff -Nur hal-0.5.9/hald/linux/addons/addon-input.c hal-0.5.9.new/hald/linux/addons/addon-input.c
+--- hal-0.5.9/hald/linux/addons/addon-input.c	2007-03-07 22:52:19.000000000 +0100
++++ hal-0.5.9.new/hald/linux/addons/addon-input.c	2007-04-17 20:12:26.000000000 +0200
 @@ -244,7 +244,7 @@
  					}
  				}
  			}
--		} else if (event.type == EV_KEY && key_name[event.code] != NULL && event.value == 1) {
-+		} else if (event.type == EV_KEY && key_name[event.code] != NULL && event.value) {
+-		} else if (input_data->event.type == EV_KEY && key_name[input_data->event.code] != NULL && input_data->event.value == 1) {
++		} else if (input_data->event.type == EV_KEY && key_name[input_data->event.code] != NULL && input_data->event.value) {
  			dbus_error_init (&error);
- 			libhal_device_emit_condition (ctx, udi, 
+ 			libhal_device_emit_condition (ctx, input_data->udi, 
  						      "ButtonPressed",




More information about the Pkg-utopia-commits mailing list