diff --git a/templates/xf86-input-magellan/build.diff b/templates/xf86-input-magellan/build.diff new file mode 100644 index 00000000000..012fcf38e14 --- /dev/null +++ b/templates/xf86-input-magellan/build.diff @@ -0,0 +1,11 @@ +--- src/magellan.c.orig 2009-03-31 10:19:38.660028123 +0200 ++++ src/magellan.c 2009-03-31 10:19:58.179207305 +0200 +@@ -364,7 +364,7 @@ DeviceInit (DeviceIntPtr dev) + return !Success; + } + +- if (InitValuatorClassDeviceStruct (dev, 6, xf86GetMotionEvents, ++ if (InitValuatorClassDeviceStruct (dev, 6, + pInfo->history_size, Absolute) == FALSE) + { + ErrorF ("Unable to allocate MAGELLAN ValuatorClassDeviceStruct\n"); diff --git a/templates/xf86-input-magellan/template b/templates/xf86-input-magellan/template new file mode 100644 index 00000000000..21a07f7c2bb --- /dev/null +++ b/templates/xf86-input-magellan/template @@ -0,0 +1,13 @@ +# Template build file for 'xf86-input-magellan'. +pkgname=xf86-input-magellan +version=1.2.0 +distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Xorg magellan input driver" +maintainer="Juan RP " +checksum=c5285147a4df0b5b0fd5dcb7c0e5953bc982d3d6f2a2ed2e7767ead909a510e4 +long_desc=" + This is the magellan input driver for the Xorg X11 server." + +Add_dependency full glibc +Add_dependency full xorg-server