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
This commit is contained in:
11
templates/xf86-input-dynapro/patches/fix_build.diff
Normal file
11
templates/xf86-input-dynapro/patches/fix_build.diff
Normal file
@@ -0,0 +1,11 @@
|
||||
--- src/xf86Dyna.c.orig 2009-03-31 10:12:55.013083260 +0200
|
||||
+++ src/xf86Dyna.c 2009-03-31 10:13:32.470206761 +0200
|
||||
@@ -296,7 +296,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 Dynapro ValuatorClassDeviceStruct\n");
|
||||
Reference in New Issue
Block a user