diff --git a/templates/xf86-input-dmc/build.diff b/templates/xf86-input-dmc/build.diff new file mode 100644 index 00000000000..a97baf21d1c --- /dev/null +++ b/templates/xf86-input-dmc/build.diff @@ -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");