diff options
author | Marcin Juszkiewicz <marcin@buglabs.net> | 2009-05-27 18:23:11 +0200 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@buglabs.net> | 2009-05-27 18:23:11 +0200 |
commit | 46bbb83622d74f3f7840e56893e8eada8e3000f4 (patch) | |
tree | 22dd777aafa1f52b2286fff07ccdc82963744212 /recipes/xorg-driver/xf86-input-tslib | |
parent | f18b565b69ee9400aeca4e0332a81fb4ca709517 (diff) |
xf86-input-tslib: make it build against XServer 1.6
Diffstat (limited to 'recipes/xorg-driver/xf86-input-tslib')
-rw-r--r-- | recipes/xorg-driver/xf86-input-tslib/xserver16.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/xorg-driver/xf86-input-tslib/xserver16.patch b/recipes/xorg-driver/xf86-input-tslib/xserver16.patch new file mode 100644 index 0000000000..c3108b645a --- /dev/null +++ b/recipes/xorg-driver/xf86-input-tslib/xserver16.patch @@ -0,0 +1,26 @@ +XServer 1.6.x introduced XInput3. Official drivers were fixed by X.org +developers. This change is based on xf86-input-citron: + +http://cgit.freedesktop.org/xorg/driver/xf86-input-citron/commit/?id=591674bee43061f1169ebeede653fb6d98147724 + +Signed-off-by: Marcin Juszkiewicz <marcin@buglabs.net> +--- + src/tslib.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- xf86-input-tslib-0.0.5.orig/src/tslib.c ++++ xf86-input-tslib-0.0.5/src/tslib.c +@@ -199,11 +199,13 @@ xf86TslibControlProc(DeviceIntPtr device + return !Success; + } + + if (InitValuatorClassDeviceStruct(device, + 2, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 + xf86GetMotionEvents, ++#endif + 0, Absolute) == FALSE) { + ErrorF("unable to allocate Valuator class device\n"); + return !Success; + } + |