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

commit a8e002d2dec946d7e3b6c99652d45f24cb73bfe7
Author: Krisztian VASAS <[email protected]>
Date:   Thu Jan 1 17:10:28 2009 +0100

xf86-input-aiptek-1.1.1-1-i686
- version bump
- added 2 compile fixes

diff --git 
a/source/x11/xf86-input-aiptek/01-change_xf86Version.h_to_xorgVersion.h.patch1 
b/source/x11/xf86-input-aiptek/01-change_xf86Version.h_to_xorgVersion.h.patch1
new file mode 100644
index 0000000..b6c9ae2
--- /dev/null
+++ 
b/source/x11/xf86-input-aiptek/01-change_xf86Version.h_to_xorgVersion.h.patch1
@@ -0,0 +1,13 @@
+diff --git a/src/xf86Aiptek.h b/src/xf86Aiptek.h
+index 0e6daa8..2842775 100644
+--- a/src/xf86Aiptek.h
++++ b/src/xf86Aiptek.h
+@@ -56,7 +56,7 @@
+ #   endif
+ #endif
+
+-#include <xf86Version.h>
++#include <xorgVersion.h>
+
+ #ifndef XFree86LOADER
+ #   include <unistd.h>
diff --git a/source/x11/xf86-input-aiptek/02-fix_xinput_abi_version.patch1 
b/source/x11/xf86-input-aiptek/02-fix_xinput_abi_version.patch1
new file mode 100644
index 0000000..e336241
--- /dev/null
+++ b/source/x11/xf86-input-aiptek/02-fix_xinput_abi_version.patch1
@@ -0,0 +1,14 @@
+diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
+index d57d451..a26ca60 100644
+--- a/src/xf86Aiptek.c
++++ b/src/xf86Aiptek.c
+@@ -1611,7 +1611,9 @@ xf86AiptekProc(DeviceIntPtr pAiptek, int requestCode)
+
+             if (InitValuatorClassDeviceStruct(pAiptek,
+                    numAxes,
++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
+                    xf86GetMotionEvents,
++#endif
+                    local->history_size,
+                    ((device->flags & ABSOLUTE_FLAG)
+                         ? Absolute : Relative) | OutOfProximity ) == FALSE)
diff --git a/source/x11/xf86-input-aiptek/FrugalBuild 
b/source/x11/xf86-input-aiptek/FrugalBuild
index 9358299..2362811 100644
--- a/source/x11/xf86-input-aiptek/FrugalBuild
+++ b/source/x11/xf86-input-aiptek/FrugalBuild
@@ -2,8 +2,12 @@
# Maintainer: Christian Hamar alias krix <[email protected]>

pkgname=xf86-input-aiptek
-pkgver=1.0.1
-pkgrel=3
+pkgver=1.1.1
+pkgrel=1
Finclude xorg
-sha1sums=('cbe73ae471a11101b348f37ef9c9f5e38abacade')
+source=(${sour...@]} '01-change_xf86Version.h_to_xorgVersion.h.patch1' \
+       '02-fix_xinput_abi_version.patch1')
+sha1sums=('893f70d2b3628e55f83bc760ab85ec6f3286f82b' \
+          '611a6a9c1b58d37aa238d8e80577bc37450bd3c0' \
+          '07785415b3dd8dcdaba1fe009e04052b63818e4d')
# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to