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

commit 578da4124296e3a1cd261ef2a5ea2a61d0854b86
Author: Krisztian VASAS <[email protected]>
Date:   Thu Jan 1 18:02:21 2009 +0100

xf86-input-dmc-1.1.2-1-i686
- version bump
- added a compile fix

diff --git a/source/x11/xf86-input-dmc/01-fix_xinput_abi_version.patch1 
b/source/x11/xf86-input-dmc/01-fix_xinput_abi_version.patch1
new file mode 100644
index 0000000..6e446af
--- /dev/null
+++ b/source/x11/xf86-input-dmc/01-fix_xinput_abi_version.patch1
@@ -0,0 +1,26 @@
+diff --git a/src/xf86DMC.c b/src/xf86DMC.c
+index e6797d8..daa0f20 100644
+--- a/src/xf86DMC.c
++++ b/src/xf86DMC.c
+@@ -106,7 +106,9 @@ static const char *reqSymbols[] = {
+       "xf86CollectInputOptions",
+       "xf86ErrorFVerb",
+       "xf86FindOptionValue",
++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
+       "xf86GetMotionEvents",
++#endif
+       "xf86GetVerbosity",
+       "xf86MotionHistoryAllocate",
+       "xf86NameCmp",
+@@ -301,7 +303,10 @@ DeviceControl (DeviceIntPtr dev, int mode)
+                * Device reports motions on 2 axes in absolute coordinates.
+                * Axes min and max values are reported in raw coordinates.
+                */
+-              if (InitValuatorClassDeviceStruct (dev, 2, xf86GetMotionEvents,
++              if (InitValuatorClassDeviceStruct (dev, 2,
++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
++                            xf86GetMotionEvents,
++#endif
+                                                  pInfo->history_size, 
Absolute) == FALSE)
+                       {
+                               ErrorF ("Unable to allocate DMC 
ValuatorClassDeviceStruct\n");
diff --git a/source/x11/xf86-input-dmc/FrugalBuild 
b/source/x11/xf86-input-dmc/FrugalBuild
index b6935f5..2ab54c7 100644
--- a/source/x11/xf86-input-dmc/FrugalBuild
+++ b/source/x11/xf86-input-dmc/FrugalBuild
@@ -2,8 +2,11 @@
# Maintainer: Christian Hamar alias krix <[email protected]>

pkgname=xf86-input-dmc
-pkgver=1.1.1
-pkgrel=2
+pkgver=1.1.2
+pkgrel=1
Finclude xorg
-sha1sums=('e483905ad017bb088f2d873be9185a25e04c9f6e')
+source=(${sour...@]} \
+       '01-fix_xinput_abi_version.patch1')
+sha1sums=('650a4a70817ec4ed81fe29273def7dda10a848c6' \
+          'd5f34f1f5875932eadeeda27786daafb65b7b4c8')
# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to