void-packages/templates/xf86-input-palmax/patches/fix_build.diff
Juan RP 85a7ceb76f Move all patches to templates/$pkgname/patches.
There's no need to set patch_files/patch_args anymore, all patches
in this directory will be applied with -Np0 and they have .diff
or .patch (and .gz/.bz2) extension.

--HG--
extra : convert_revision : 8d516c033fe34db94ebbcc84c246e84fc96ed901
2009-10-15 16:07:47 +02:00

11 lines
455 B
Diff

--- src/xf86Palmax.c.orig 2009-03-31 10:28:15.414050816 +0200
+++ src/xf86Palmax.c 2009-03-31 10:28:29.862204318 +0200
@@ -467,7 +467,7 @@ xf86PmxControl(DeviceIntPtr dev,
* screen to fit one meter.
*/
- if (InitValuatorClassDeviceStruct(dev, 2, xf86GetMotionEvents,
+ if (InitValuatorClassDeviceStruct(dev, 2,
local->history_size, Absolute) == FALSE) {
ErrorF("Unable to allocate ValuatorClassDeviceStruct\n");
return !Success;