SDL/src
Paul Cercueil 95d40e8a28 kmsdrm: Fix busy-loop within libc's dlopen()
For some obscure reason, the order in which the libdrm/libgbm libraries
are loaded matters.

Without this fix, the first call to check_modesetting() will work and
load then unload all symbols properly, but the second call to this
function will lock up as soon as dlopen() is called on libdrm.

Swapping the order in which the libdrm and libgbm libraries are loaded
is enough to fix (or work around?) this issue.

Fixes #4891:
https://bugzilla.libsdl.org/show_bug.cgi?id=4891

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2019-12-19 21:47:43 -08:00
..
atomic atomic: Support compiling on ARMv3 2019-10-11 22:08:53 +01:00
audio pulseaudio: don't let FlushCapture get stuck in an infinite loop on shutdown. 2019-12-03 03:53:06 -05:00
core Android: use SDL_arraysize() 2019-12-12 20:33:11 +01:00
cpuinfo Fixed unused function warning on Android 2019-11-18 10:48:14 -08:00
dynapi Added SDL_GameControllerTypeForIndex() and SDL_GameControllerGetType() to return the type of controller attached. 2019-11-22 13:12:12 -08:00
events Fixed bug 4814 - Missing scancodes on Linux 2019-11-16 22:45:49 -08:00
file Readability: remove redundant cast to the same type 2019-10-30 15:13:55 +01:00
filesystem Readability: remove redundant cast to the same type 2019-10-30 15:13:55 +01:00
haptic Updated copyright for 2019 2019-01-04 22:01:14 -08:00
hidapi Backed out debug code 2019-12-19 15:21:44 -08:00
joystick Make sure the Xbox 360 driver doesn't try to talk to the wireless controllers 2019-12-19 21:45:44 -08:00
libm Readability: change some pointer parameter to be pointer to const 2019-10-30 16:06:51 +01:00
loadso Readability: remove redundant cast 2019-10-30 16:20:58 +01:00
main haiku: mouse_relative fix 2019-11-11 22:23:33 -05:00
power SDL_syspower.c: remove redundant expression 2019-10-30 16:12:39 +01:00
render direct3d11: Fixed incorrect texture coordinates (thanks, Martin!). 2019-12-03 03:07:34 -05:00
sensor Fixed bug 4837 - Use after free in SDL_SensorUpdate (Thanks!) 2019-10-23 08:46:59 +02:00
stdlib Improved XInput VID/PID detection and added SDL_wcsstr() and SDL_wcsncmp() 2019-11-20 16:42:50 -08:00
test Added SDL_PIXELFORMAT_BGR444 2019-11-02 22:58:52 +00:00
thread Remove redundant 'SDL_GetErrBuf' declaration 2019-10-30 17:35:40 +01:00
timer Updated copyright for 2019 2019-01-04 22:01:14 -08:00
video kmsdrm: Fix busy-loop within libc's dlopen() 2019-12-19 21:47:43 -08:00
SDL.c SDL.c (SDL_ExitProcess): unconstify its param to match its declaration. 2019-11-20 02:47:40 +03:00
SDL_assert.c Readability: remove const-qualifation from function declaration 2019-10-30 15:43:49 +01:00
SDL_assert_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_dataqueue.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_dataqueue.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_error.c Remove redundant 'SDL_GetErrBuf' declaration 2019-10-30 17:35:40 +01:00
SDL_error_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_hints.c Fix missing prototype warning 2019-11-16 22:59:56 +01:00
SDL_hints_c.h Added a utility function to simplify the hint handling logic 2019-11-13 21:53:01 -08:00
SDL_internal.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_log.c Copypaste SDL_NSLog to UIKit backend, document it as such 2019-07-17 23:20:57 -04:00