1 diff -urN xf86-input-evdev-1.1.2.orig/src/evdev_axes.c xf86-input-evdev-1.1.2/src/evdev_axes.c
2 --- xf86-input-evdev-1.1.2.orig/src/evdev_axes.c 2008-08-28 10:59:09.000000000 +0200
3 +++ xf86-input-evdev-1.1.2/src/evdev_axes.c 2008-08-28 10:55:52.000000000 +0200
7 if (!InitValuatorClassDeviceStruct(device, axes,
8 +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 1
10 + GetMotionHistorSize(),
12 miPointerGetMotionEvents,
13 + miPointerGetMotionBufferSize(),
16 - miPointerGetMotionBufferSize(), 0))
19 for (i = 0; i < axes; i++) {
22 if (!InitPtrFeedbackClassDeviceStruct(device, EvdevPtrCtrlProc))
24 +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0
26 xf86MotionHistoryAllocate (pInfo);