mcst-linux-kernel/patches-2024.06.26/ffmpeg-4.4/0003-correct-sdl2-version-c...

12 lines
537 B
Diff

--- a/configure 2024-03-18 15:46:38.051520636 +0000
+++ b/configure 2024-03-18 15:47:16.080198097 +0000
@@ -6568,7 +6568,7 @@
if enabled sdl2; then
SDL2_CONFIG="${cross_prefix}sdl2-config"
- test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 2.1.0" SDL_events.h SDL_PollEvent
+ test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 3.0.0" SDL_events.h SDL_PollEvent
if disabled sdl2 && "${SDL2_CONFIG}" --version > /dev/null 2>&1; then
sdl2_cflags=$("${SDL2_CONFIG}" --cflags)
sdl2_extralibs=$("${SDL2_CONFIG}" --libs)