wok-6.x diff libsdl/stuff/sdl-1.2.14-joystick-crash.diff @ rev 15965
xorg-libXau: add to ARM arch
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Feb 24 15:44:41 2014 +0100 (2014-02-24) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libsdl/stuff/sdl-1.2.14-joystick-crash.diff Mon Feb 24 15:44:41 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +Description: Fix crash with joystick detection. 1.5 +Index: libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c 1.6 +=================================================================== 1.7 +--- libsdl1.2-1.2.14.orig/src/joystick/linux/SDL_sysjoystick.c 2010-01-12 12:37:36.000000000 -0500 1.8 ++++ libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c 2010-01-12 12:38:27.000000000 -0500 1.9 +@@ -700,7 +700,7 @@ 1.10 + continue; 1.11 + } 1.12 + if ( test_bit(i, absbit) ) { 1.13 +- int values[5]; 1.14 ++ int values[6]; 1.15 + 1.16 + if ( ioctl(fd, EVIOCGABS(i), values) < 0 ) 1.17 + continue;