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

commit 393e67e73f51b824bbe3f0d8ce3f36f07533d0bb
Author: Krisztian VASAS <[email protected]>
Date:   Thu Jan 1 18:19:22 2009 +0100

xf86-input-elo2300-1.1.2-1-i686
- version bump
- added compile fix

diff --git a/source/x11/xf86-input-elo2300/01-fix_xinput_abi_version.patch1 
b/source/x11/xf86-input-elo2300/01-fix_xinput_abi_version.patch1
new file mode 100644
index 0000000..65311a1
--- /dev/null
+++ b/source/x11/xf86-input-elo2300/01-fix_xinput_abi_version.patch1
@@ -0,0 +1,16 @@
+diff --git a/src/elo.c b/src/elo.c
+index 5ed67f0..8382313 100644
+--- a/src/elo.c
++++ b/src/elo.c
+@@ -309,7 +309,10 @@ DeviceInit( DeviceIntPtr dev )
+        * Device reports motions on 2 axes in absolute coordinates.
+        * Device may reports touch pressure on the 3rd axis.
+        */
+-      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 Elographics touchscreen 
ValuatorClassDeviceStruct\n");
diff --git a/source/x11/xf86-input-elo2300/FrugalBuild 
b/source/x11/xf86-input-elo2300/FrugalBuild
index 4071d3b..e1380ff 100644
--- a/source/x11/xf86-input-elo2300/FrugalBuild
+++ b/source/x11/xf86-input-elo2300/FrugalBuild
@@ -2,8 +2,11 @@
# Maintainer: Christian Hamar alias krix <[email protected]>

pkgname=xf86-input-elo2300
-pkgver=1.1.1
+pkgver=1.1.2
Finclude xorg
-sha1sums=('bfabcfd6a61f8e83ca9ea3b3b070012fc25f81bb')
+source=(${sour...@]} \
+       '01-fix_xinput_abi_version.patch1')
+sha1sums=('835487c688578ed8ef63d0660afcfafd38cd0276' \
+          '077f34677a8255b3beb36c28d69a82ea4a205ba4')

# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to