Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=32bf8a5b0e863e618fa6f25184be1eccae4160ea
commit 32bf8a5b0e863e618fa6f25184be1eccae4160ea Author: Krisztian VASAS <[email protected]> Date: Thu Jan 1 17:15:47 2009 +0100 xf86-input-calcomp-1.1.2-1-i686 - version bump - added a compile fix diff --git a/source/x11/xf86-input-calcomp/01-fix_xinput_abi_version.patch1 b/source/x11/xf86-input-calcomp/01-fix_xinput_abi_version.patch1 new file mode 100644 index 0000000..e4965b4 --- /dev/null +++ b/source/x11/xf86-input-calcomp/01-fix_xinput_abi_version.patch1 @@ -0,0 +1,26 @@ +diff --git a/src/xf86Calcomp.c b/src/xf86Calcomp.c +index f834eea..46de9be 100644 +--- a/src/xf86Calcomp.c ++++ b/src/xf86Calcomp.c +@@ -132,7 +132,9 @@ static const char *reqSymbols[] = { + "xf86CollectInputOptions", + "xf86ErrorFVerb", + "xf86FindOptionValue", ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 + "xf86GetMotionEvents", ++#endif + "xf86GetVerbosity", + "xf86MotionHistoryAllocate", + "xf86NameCmp", +@@ -308,7 +310,10 @@ DeviceInit (DeviceIntPtr dev) + * this example device reports motions on 2 axes in absolute coordinates. + * Device may reports touch pressure on the 3rd axis. + */ +- if (InitValuatorClassDeviceStruct (dev, 3, xf86GetMotionEvents, ++ if (InitValuatorClassDeviceStruct (dev, 3, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 ++ xf86GetMotionEvents, ++#endif + local->history_size, Absolute) == FALSE) + { + ErrorF ("Unable to allocate CALCOMP ValuatorClassDeviceStruct\n"); diff --git a/source/x11/xf86-input-calcomp/FrugalBuild b/source/x11/xf86-input-calcomp/FrugalBuild index 92783c5..7ae434a 100644 --- a/source/x11/xf86-input-calcomp/FrugalBuild +++ b/source/x11/xf86-input-calcomp/FrugalBuild @@ -2,8 +2,10 @@ # Maintainer: Christian Hamar alias krix <[email protected]> pkgname=xf86-input-calcomp -pkgver=1.1.1 +pkgver=1.1.2 Finclude xorg -sha1sums=('b3a1bbe7ed02964ce3b9928444e4d70751404095') +source=(${sour...@]} '01-fix_xinput_abi_version.patch1') +sha1sums=('6a6d33af370ae4416a20977d170b30a4ff8f9375' \ + '7caa5de64127a20560371ff98375c8350f8d2981') # optimization OK _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
