diff --git a/templates/xf86-input-tek4957/build.diff b/templates/xf86-input-tek4957/build.diff new file mode 100644 index 00000000000..01c2ea693a4 --- /dev/null +++ b/templates/xf86-input-tek4957/build.diff @@ -0,0 +1,11 @@ +--- src/xf86Tek4957.c.orig 2009-03-31 11:04:20.254001366 +0200 ++++ src/xf86Tek4957.c 2009-03-31 11:04:41.478199789 +0200 +@@ -446,7 +446,7 @@ TekProc(DeviceIntPtr pDev, int what) + return !Success; + } + +- if (InitValuatorClassDeviceStruct(pDev,2,xf86GetMotionEvents, ++ if (InitValuatorClassDeviceStruct(pDev,2, + local->history_size,Absolute)== FALSE) { + xf86Msg(X_ERROR,"Tek4957:Unable to allocate Valuator class device\n"); + return !Success; diff --git a/templates/xf86-input-tek4957/template b/templates/xf86-input-tek4957/template new file mode 100644 index 00000000000..71173036ff9 --- /dev/null +++ b/templates/xf86-input-tek4957/template @@ -0,0 +1,13 @@ +# Template build file for 'xf86-input-tek4957'. +pkgname=xf86-input-tek4957 +version=1.2.0 +distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Xorg tek4957 input driver" +maintainer="Juan RP " +checksum=b097a5b1acbd732d9ca5d28c13003a1f1c8a3465f4fa77c1578d36330f3358a2 +long_desc=" + This is the tek4957 input driver for the Xorg X11 server." + +Add_dependency full glibc +Add_dependency full xorg-server