Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=37d46fde965d35a47f019d7e0847f7a59f64fb78

commit 37d46fde965d35a47f019d7e0847f7a59f64fb78
Author: Devil505 <devil505li...@gmail.com>
Date:   Thu Jun 4 08:45:03 2009 +0200

xf86-input-ur98-1.1.0-4-x86_64
* rebuilt with xorg-server 1.6.1
* added patch to build correctly

diff --git a/source/x11/xf86-input-ur98/FrugalBuild 
b/source/x11/xf86-input-ur98/FrugalBuild
index f0ffe54..a085c24 100644
--- a/source/x11/xf86-input-ur98/FrugalBuild
+++ b/source/x11/xf86-input-ur98/FrugalBuild
@@ -3,7 +3,9 @@

pkgname=xf86-input-ur98
pkgver=1.1.0
-pkgrel=3
+pkgrel=4
Finclude xorg
-sha1sums=('8070b10af5d91e941310499b75376603a0655f07')
+source=($source git-4250b814.patch)
+sha1sums=('8070b10af5d91e941310499b75376603a0655f07' \
+          '2afad64928a8a1ed40cd9c2d251648752e070a75')
# optimization OK
diff --git a/source/x11/xf86-input-ur98/git-4250b814.patch 
b/source/x11/xf86-input-ur98/git-4250b814.patch
new file mode 100644
index 0000000..0b07bfc
--- /dev/null
+++ b/source/x11/xf86-input-ur98/git-4250b814.patch
@@ -0,0 +1,61 @@
+diff -ruN -x .gitignore -x .cvsignore 
xf86-input-ur98-d7dc1bb24a90d7c8275ec51062b7f6f95b6a7760/README 
xf86-input-ur98-4250b8149d1d021d4e1315e879abfb0774981abc/README
+--- xf86-input-ur98-d7dc1bb24a90d7c8275ec51062b7f6f95b6a7760/README    
1970-01-01 00:00:00.000000000 +0000
++++ xf86-input-ur98-4250b8149d1d021d4e1315e879abfb0774981abc/README    
2009-01-31 04:30:00.000000000 +0000
+@@ -0,0 +1,20 @@
++UR-98 - UR98 (TR88L803) head tracker driver for the Xorg X server
++
++Please submit bugs & patches to the Xorg bugzilla:
++
++        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
++
++All questions regarding this software should be directed at the
++Xorg mailing list:
++
++        http://lists.freedesktop.org/mailman/listinfo/xorg
++
++The master development code repository can be found at:
++
++        git://anongit.freedesktop.org/git/xorg/driver/xf86-input-ur98
++
++        http://cgit.freedesktop.org/xorg/driver/xf86-input-ur98
++
++For more information on the git code manager, see:
++
++        http://wiki.x.org/wiki/GitPage
+diff -ruN -x .gitignore -x .cvsignore 
xf86-input-ur98-d7dc1bb24a90d7c8275ec51062b7f6f95b6a7760/man/ur98.man 
xf86-input-ur98-4250b8149d1d021d4e1315e879abfb0774981abc/man/ur98.man
+--- xf86-input-ur98-d7dc1bb24a90d7c8275ec51062b7f6f95b6a7760/man/ur98.man      
2006-04-07 18:13:50.000000000 +0000
++++ xf86-input-ur98-4250b8149d1d021d4e1315e879abfb0774981abc/man/ur98.man      
2009-01-31 04:30:00.000000000 +0000
+@@ -125,7 +125,7 @@
+ This driver is currently Linux specific.
+ .PP
+ .SH "SEE ALSO"
+-__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), 
xorgconfig(__appmansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__).
++__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), 
Xserver(__appmansuffix__), X(__miscmansuffix__).
+ .SH AUTHORS
+ Authors include...
+  Alan Cox
+diff -ruN -x .gitignore -x .cvsignore 
xf86-input-ur98-d7dc1bb24a90d7c8275ec51062b7f6f95b6a7760/src/xf86Ur-98.c 
xf86-input-ur98-4250b8149d1d021d4e1315e879abfb0774981abc/src/xf86Ur-98.c
+--- xf86-input-ur98-d7dc1bb24a90d7c8275ec51062b7f6f95b6a7760/src/xf86Ur-98.c   
2006-04-07 18:13:50.000000000 +0000
++++ xf86-input-ur98-4250b8149d1d021d4e1315e879abfb0774981abc/src/xf86Ur-98.c   
2009-01-31 04:30:00.000000000 +0000
+@@ -49,7 +49,9 @@
+       "xf86CollectInputOptions",
+       "xf86ErrorFVerb",
+       "xf86FindOptionValue",
++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
+       "xf86GetMotionEvents",
++#endif
+       "xf86GetVerbosity",
+       "xf86MotionHistoryAllocate",
+       "xf86NameCmp",
+@@ -316,7 +318,10 @@
+                * screen to fit one meter.
+                */
+
+-              if (InitValuatorClassDeviceStruct(dev, priv->axes, 
xf86GetMotionEvents,
++              if (InitValuatorClassDeviceStruct(dev, priv->axes,
++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
++                              xf86GetMotionEvents,
++#endif
+                               local->history_size, Absolute) == FALSE) {
+                       ErrorF("Unable to allocate 
ValuatorClassDeviceStruct\n");
+                       return !Success;
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to