Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=99048a0fb85148e23d860c616fcfddffa0274657
commit 99048a0fb85148e23d860c616fcfddffa0274657 Author: Krisztian VASAS <[email protected]> Date: Thu Jan 1 23:59:28 2009 +0100 xf86-input-ur98-1.1.0-4-i686 - rebuilt with newer xorg-server - added a compile fix diff --git a/source/x11/xf86-input-ur98/01-fix_xinput_abi_version.patch1 b/source/x11/xf86-input-ur98/01-fix_xinput_abi_version.patch1 new file mode 100644 index 0000000..20a42bf --- /dev/null +++ b/source/x11/xf86-input-ur98/01-fix_xinput_abi_version.patch1 @@ -0,0 +1,26 @@ +diff --git a/src/xf86Ur-98.c b/src/xf86Ur-98.c +index dabf3ca..2b148b0 100644 +--- a/src/xf86Ur-98.c ++++ b/src/xf86Ur-98.c +@@ -49,7 +49,9 @@ static const char *reqSymbols[] = { + "xf86CollectInputOptions", + "xf86ErrorFVerb", + "xf86FindOptionValue", ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 + "xf86GetMotionEvents", ++#endif + "xf86GetVerbosity", + "xf86MotionHistoryAllocate", + "xf86NameCmp", +@@ -316,7 +318,10 @@ xf86UR98Control(DeviceIntPtr dev, + * screen to fit one meter. + */ + +- 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 ValuatorClassDeviceStruct\n"); + return !Success; diff --git a/source/x11/xf86-input-ur98/FrugalBuild b/source/x11/xf86-input-ur98/FrugalBuild index f0ffe54..e6e14df 100644 --- a/source/x11/xf86-input-ur98/FrugalBuild +++ b/source/x11/xf86-input-ur98/FrugalBuild @@ -3,7 +3,10 @@ pkgname=xf86-input-ur98 pkgver=1.1.0 -pkgrel=3 +pkgrel=4 Finclude xorg -sha1sums=('8070b10af5d91e941310499b75376603a0655f07') +source=(${sour...@]} \ + '01-fix_xinput_abi_version.patch1') +sha1sums=('8070b10af5d91e941310499b75376603a0655f07' \ + 'db38f361bd109fa7242ed5be95adecf37c0272ea') # optimization OK _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
