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
21
templates/xf86-input-citron/patches/fix_build.diff
Normal file
21
templates/xf86-input-citron/patches/fix_build.diff
Normal file
|
@ -0,0 +1,21 @@
|
|||
--- src/citron.c.orig 2009-03-31 10:03:43.488190347 +0200
|
||||
+++ src/citron.c 2009-03-31 10:04:10.319451665 +0200
|
||||
@@ -305,7 +305,7 @@ static XF86ModuleVersionInfo VersionRec
|
||||
MODULEVENDORSTRING, /* vendor specific string */
|
||||
MODINFOSTRING1,
|
||||
MODINFOSTRING2,
|
||||
- XF86_VERSION_CURRENT, /* Current XFree version */
|
||||
+ XORG_VERSION_CURRENT, /* Current XFree version */
|
||||
CITOUCH_VERSION_MAJOR, /* Module-specific major version */
|
||||
CITOUCH_VERSION_MINOR, /* Module-specific minor version */
|
||||
CITOUCH_VERSION_PATCH, /* Module-specific patch level */
|
||||
@@ -1368,8 +1368,7 @@ DeviceInit (DeviceIntPtr dev)
|
||||
* screen to fit one meter.
|
||||
* Device may reports touch pressure on the 3rd axis.
|
||||
*/
|
||||
- if (InitValuatorClassDeviceStruct (dev, 2, xf86GetMotionEvents,
|
||||
- local->history_size, Absolute) == FALSE)
|
||||
+ if (InitValuatorClassDeviceStruct (dev, 2, local->history_size, Absolute) == FALSE)
|
||||
{
|
||||
ErrorF ("%sUnable to allocate Citron touchscreen ValuatorClassDeviceStruct\n", CI_ERROR);
|
||||
return !Success;
|
Loading…
Add table
Add a link
Reference in a new issue