From a44940d94b6a869246118ff0fa559921226fcad2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 31 Mar 2009 10:02:35 +0200 Subject: [PATCH] xf86-input-calcomp: add a patch to make this build. --HG-- extra : convert_revision : 7681ff380f5d870069ab781374b0d517e5b7946c --- templates/xf86-input-calcomp/build.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 templates/xf86-input-calcomp/build.diff diff --git a/templates/xf86-input-calcomp/build.diff b/templates/xf86-input-calcomp/build.diff new file mode 100644 index 00000000000..2b94b970e97 --- /dev/null +++ b/templates/xf86-input-calcomp/build.diff @@ -0,0 +1,12 @@ +--- src/xf86Calcomp.c.orig 2009-03-31 10:01:17.694998002 +0200 ++++ src/xf86Calcomp.c 2009-03-31 10:01:30.975206736 +0200 +@@ -308,8 +308,7 @@ DeviceInit (DeviceIntPtr dev) + * this example device reports motions on 2 axes in absolute coordinates. + * Device may reports touch pressure on the 3rd axis. + */ +- if (InitValuatorClassDeviceStruct (dev, 3, xf86GetMotionEvents, +- local->history_size, Absolute) == FALSE) ++ if (InitValuatorClassDeviceStruct (dev, 3, local->history_size, Absolute) == FALSE) + { + ErrorF ("Unable to allocate CALCOMP ValuatorClassDeviceStruct\n"); + return !Success;