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:
parent
cc5ccaed3d
commit
85a7ceb76f
71 changed files with 1 additions and 297 deletions
12
templates/xf86-input-calcomp/patches/fix_build.diff
Normal file
12
templates/xf86-input-calcomp/patches/fix_build.diff
Normal file
|
@ -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;
|
Loading…
Add table
Add a link
Reference in a new issue