xf86-input-dmc: add a patch to make this build.

--HG--
extra : convert_revision : b847d4f079ee730e0f66897049b56934d38f923f
This commit is contained in:
Juan RP 2009-03-31 10:10:56 +02:00
parent a3d6383d5d
commit faaa25d0f8

View file

@ -0,0 +1,11 @@
--- src/xf86DMC.c.orig 2009-03-31 10:09:55.207071509 +0200
+++ src/xf86DMC.c 2009-03-31 10:10:07.844204952 +0200
@@ -301,7 +301,7 @@ DeviceControl (DeviceIntPtr dev, int mod
* Device reports motions on 2 axes in absolute coordinates.
* Axes min and max values are reported in raw coordinates.
*/
- if (InitValuatorClassDeviceStruct (dev, 2, xf86GetMotionEvents,
+ if (InitValuatorClassDeviceStruct (dev, 2,
pInfo->history_size, Absolute) == FALSE)
{
ErrorF ("Unable to allocate DMC ValuatorClassDeviceStruct\n");