Package: libsdl1.2 / 1.2.15+dfsg1-4

Metadata

Package Version Patches format
libsdl1.2 1.2.15+dfsg1-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
replace relicenced SDL_qsort.patch | (download)

src/stdlib/SDL_qsort.c | 447 447 + 0 - 0 !
1 file changed, 447 insertions(+)

---
x11_keytounicode.diff | (download)

src/video/x11/SDL_x11events.c | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

 export x11_keytounicode() to legacy applications, but warn about such usage to stderr
 Introduced in 1.2.11-3 (Sun, 13 Aug 2006 19:03:51 +0200).
 .
 Upstream accepted it:
   Sam Lantinga 2012-01-22 10:48:43 PST
 .
   At this point it's fine to leave it as an exported function, but not in the
   headers.
   http://hg.libsdl.org/SDL/rev/900a0fae90ca
dont_propagate_lpthread.diff | (download)

sdl-config.in | 2 1 + 1 - 0 !
sdl.pc.in | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 do not propagate -lpthread to sdl-config --libs
 Introduced in 1.2.11-1 (Thu, 20 Jul 2006 14:17:18 +0200).
 .
 Upstream will not apply it at the moment:
   Sam Lantinga 2012-01-22 10:54:21 PST
 .
   At some point it was required that multi-threaded programs using pthreads on
   Linux link directly to the pthread library.  I don't remember all the details,
   but it had something to do with initializing C runtime variables correctly.
 .
   I'm sure it's not an issue anymore, but I'd rather not apply this patch in 1.2.
   I'll go ahead and make this change in 1.3 though.
fix_build_joystick_freebsd.diff | (download)

src/joystick/bsd/SDL_sysjoystick.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 freebsd compile fix.
 src/joystick/bsd/SDL_sysjoystick.c makes the invalid assumption that
 __FreeBSD_kernel__ implies presence of "ucr_data" struct member.  This
 breaks recent versions of FreeBSD 10-CURRENT, FreeBSD 9-STABLE and
 Debian GNU/kFreeBSD "wheezy/sid".
fix_window_resizing.diff | (download)

src/video/x11/SDL_x11events.c | 16 0 + 16 - 0 !
src/video/x11/SDL_x11events_c.h | 5 0 + 5 - 0 !
src/video/x11/SDL_x11video.c | 2 0 + 2 - 0 !
3 files changed, 23 deletions(-)

 revert change that breaks window corner resizing
 http://bugzilla.libsdl.org/show_bug.cgi?id=1430
fix_joystick_misc_axes.diff | (download)

src/joystick/linux/SDL_sysjoystick.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 left/right joystick axis doesn't work with some controllers
 Introduced in 1.2.15-3 (June 2012)
 .
 Reviewed in 2013-10-19 for SDL2 and SDL1.2 and submitted new upstream bug
 report for re-evaluation, the previous one (suggested by the bug submitted) was
 probably not related.
sdl check for SDL_VIDEO_X11_BACKINGSTORE.patch | (download)

src/video/x11/SDL_x11video.c | 4 1 + 3 - 0 !
1 file changed, 1 insertion(+), 3 deletions(-)

 do not harness backing store by default
 xorg-server 1.15 enables backing store if composite extension is enabled
 (default settings). Harnessing backing store through compositor leads to
 tearing effect.
 This patch reverts default harnessing backing store to conditional use if
 SDL_VIDEO_X11_BACKINGSTORE environment variable exists.