void-packages/templates/xf86-input-tek4957/patches/fix_build.diff

12 lines
465 B
Diff

--- src/xf86Tek4957.c.orig 2009-03-31 11:04:20.254001366 +0200
+++ src/xf86Tek4957.c 2009-03-31 11:04:41.478199789 +0200
@@ -446,7 +446,7 @@ TekProc(DeviceIntPtr pDev, int what)
return !Success;
}
- if (InitValuatorClassDeviceStruct(pDev,2,xf86GetMotionEvents,
+ if (InitValuatorClassDeviceStruct(pDev,2,
local->history_size,Absolute)== FALSE) {
xf86Msg(X_ERROR,"Tek4957:Unable to allocate Valuator class device\n");
return !Success;