btrfs-progs: don't use <execinfo.h> with uClibc
[buildroot-gz.git] / package / x11r7 / xdriver_xf86-video-sis / 0003-xi.patch
blob7905248163b589cbb3094731e447ab03317670c4
1 Fetch from:
2 https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/xf86-video-sis&id=7aaa7a9786ce5654df877311909244e0a6c42fd1
4 Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
6 --- xf86-video-sis-0.10.7/src/sis_driver.c 2013-03-10 13:57:50.000000000 +0100
7 +++ xf86-video-sis-0.10.7/src/sis_driver.c.new 2013-03-10 13:54:48.645203559 +0100
8 @@ -9378,7 +9378,15 @@
10 if(doit) {
11 sigstate = xf86BlockSIGIO();
12 -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 15
13 +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 18
14 + {
15 + double dx = x, dy = y;
16 + miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy,
17 + NULL, NULL);
18 + x = (int)dx;
19 + y = (int)dy;
20 + }
21 +#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 15
23 double dx = x, dy = y;
24 miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy);