From faaa25d0f82d1c04a4c34b534afe9c2aec74dfc6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 31 Mar 2009 10:10:56 +0200 Subject: [PATCH] xf86-input-dmc: add a patch to make this build. --HG-- extra : convert_revision : b847d4f079ee730e0f66897049b56934d38f923f --- templates/xf86-input-dmc/build.diff | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 templates/xf86-input-dmc/build.diff 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");