diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-09-06 15:07:55 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-09-06 15:07:55 -0300 |
commit | d66e2ddf1eaff25f83d00afdc336c10252f56162 (patch) | |
tree | dc6751a2534069809cec7a8538787afc8c83b6c9 /libre/sdl-libre/sdl-1.2.14-joystick-crash.diff | |
parent | cbdc1be962cc674c1745435ded78ff1cd22e103f (diff) | |
download | abslibre-d66e2ddf1eaff25f83d00afdc336c10252f56162.tar.gz abslibre-d66e2ddf1eaff25f83d00afdc336c10252f56162.tar.bz2 abslibre-d66e2ddf1eaff25f83d00afdc336c10252f56162.zip |
libre/sdl-libre-1.2.14-7
Diffstat (limited to 'libre/sdl-libre/sdl-1.2.14-joystick-crash.diff')
-rw-r--r-- | libre/sdl-libre/sdl-1.2.14-joystick-crash.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/sdl-libre/sdl-1.2.14-joystick-crash.diff b/libre/sdl-libre/sdl-1.2.14-joystick-crash.diff new file mode 100644 index 000000000..949e18b96 --- /dev/null +++ b/libre/sdl-libre/sdl-1.2.14-joystick-crash.diff @@ -0,0 +1,14 @@ +Description: Fix crash with joystick detection. +Index: libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c +=================================================================== +--- libsdl1.2-1.2.14.orig/src/joystick/linux/SDL_sysjoystick.c 2010-01-12 12:37:36.000000000 -0500 ++++ libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c 2010-01-12 12:38:27.000000000 -0500 +@@ -700,7 +700,7 @@ + continue; + } + if ( test_bit(i, absbit) ) { +- int values[5]; ++ int values[6]; + + if ( ioctl(fd, EVIOCGABS(i), values) < 0 ) + continue; |