Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=cc23c62628b054c62100b36b34782d0202297728

commit cc23c62628b054c62100b36b34782d0202297728
Author: Devil505 <devil505li...@gmail.com>
Date:   Thu Jun 4 07:46:15 2009 +0200

xf86-input-spaceorb-1.1.1-2-x86_64
* rebuilt with xorg-server 1.6.1
* added patch to build correctly

diff --git a/source/x11/xf86-input-spaceorb/FrugalBuild 
b/source/x11/xf86-input-spaceorb/FrugalBuild
index ce7e352..65b498c 100644
--- a/source/x11/xf86-input-spaceorb/FrugalBuild
+++ b/source/x11/xf86-input-spaceorb/FrugalBuild
@@ -3,7 +3,10 @@

pkgname=xf86-input-spaceorb
pkgver=1.1.1
+pkgrel=2
Finclude xorg
-sha1sums=('202b835d37a367bc334d5388824bfc368ed94be8')
+source=($source git-a2c3a661.patch)
+sha1sums=('202b835d37a367bc334d5388824bfc368ed94be8' \
+          'b7dc72fb0c923ca1ceeb65002d187f11610805e2')

# optimization OK
diff --git a/source/x11/xf86-input-spaceorb/git-a2c3a661.patch 
b/source/x11/xf86-input-spaceorb/git-a2c3a661.patch
new file mode 100644
index 0000000..0782a45
--- /dev/null
+++ b/source/x11/xf86-input-spaceorb/git-a2c3a661.patch
@@ -0,0 +1,56 @@
+diff -ruN -x .cvsignore -x .gitignore 
xf86-input-spaceorb-93fd49758565321036891543bbbdea74e759a393/README 
xf86-input-spaceorb-a2c3a6617773557d9bd5bccbc2b0796781ebec74/README
+--- xf86-input-spaceorb-93fd49758565321036891543bbbdea74e759a393/README        
1970-01-01 00:00:00.000000000 +0000
++++ xf86-input-spaceorb-a2c3a6617773557d9bd5bccbc2b0796781ebec74/README        
2009-01-31 04:29:02.000000000 +0000
+@@ -0,0 +1,19 @@
++
++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-spaceorb
++
++        http://cgit.freedesktop.org/xorg/driver/xf86-input-spaceorb
++
++For more information on the git code manager, see:
++
++        http://wiki.x.org/wiki/GitPage
+diff -ruN -x .cvsignore -x .gitignore 
xf86-input-spaceorb-93fd49758565321036891543bbbdea74e759a393/man/Makefile.am 
xf86-input-spaceorb-a2c3a6617773557d9bd5bccbc2b0796781ebec74/man/Makefile.am
+--- 
xf86-input-spaceorb-93fd49758565321036891543bbbdea74e759a393/man/Makefile.am    
   2007-09-10 17:12:04.000000000 +0000
++++ 
xf86-input-spaceorb-a2c3a6617773557d9bd5bccbc2b0796781ebec74/man/Makefile.am    
   2009-01-31 04:29:02.000000000 +0000
+@@ -1,4 +1,3 @@
+-# $Id$
+ #
+ # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+ #
+diff -ruN -x .cvsignore -x .gitignore 
xf86-input-spaceorb-93fd49758565321036891543bbbdea74e759a393/src/spaceorb.c 
xf86-input-spaceorb-a2c3a6617773557d9bd5bccbc2b0796781ebec74/src/spaceorb.c
+--- 
xf86-input-spaceorb-93fd49758565321036891543bbbdea74e759a393/src/spaceorb.c     
   2007-09-10 17:12:04.000000000 +0000
++++ 
xf86-input-spaceorb-a2c3a6617773557d9bd5bccbc2b0796781ebec74/src/spaceorb.c     
   2009-01-31 04:29:02.000000000 +0000
+@@ -107,7 +107,9 @@
+         "xf86CollectInputOptions",
+         "xf86ErrorFVerb",
+         "xf86FindOptionValue",
++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
+         "xf86GetMotionEvents",
++#endif
+         "xf86GetVerbosity",
+         "xf86MotionHistoryAllocate",
+         "xf86NameCmp",
+@@ -337,7 +339,10 @@
+     return !Success;
+   }
+
+-  if (InitValuatorClassDeviceStruct (dev, 6, xf86GetMotionEvents,
++  if (InitValuatorClassDeviceStruct (dev, 6,
++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
++                                   xf86GetMotionEvents,
++#endif
+                                    pInfo->history_size, Absolute) == FALSE)
+     {
+       ErrorF ("Unable to allocate SPACEORB ValuatorClassDeviceStruct\n");
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to