summaryrefslogtreecommitdiffstats
path: root/abs/core/sdl/sdl-1.2.14-joystick-crash.diff
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-12 00:03:19 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-12 00:03:19 (GMT)
commite2886eeefe0079301a1bb61115ac91ccae70ae34 (patch)
treed5da8aeacac6c4a3a50250f64f6d7920b343d9c7 /abs/core/sdl/sdl-1.2.14-joystick-crash.diff
parent06153c499ff81f57f605f7c7603cf50ac9599c2b (diff)
downloadlinhes_pkgbuild-e2886eeefe0079301a1bb61115ac91ccae70ae34.zip
linhes_pkgbuild-e2886eeefe0079301a1bb61115ac91ccae70ae34.tar.gz
linhes_pkgbuild-e2886eeefe0079301a1bb61115ac91ccae70ae34.tar.bz2
sdl: update latest
Diffstat (limited to 'abs/core/sdl/sdl-1.2.14-joystick-crash.diff')
-rw-r--r--abs/core/sdl/sdl-1.2.14-joystick-crash.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/sdl/sdl-1.2.14-joystick-crash.diff b/abs/core/sdl/sdl-1.2.14-joystick-crash.diff
new file mode 100644
index 0000000..949e18b
--- /dev/null
+++ b/abs/core/sdl/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;