diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-03 10:18:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-03 10:18:49 +0100 |
commit | fe2f8d9da0555e4ed15cc203d8dd99dd60b3117e (patch) | |
tree | bcce7bf56996c4cae71014ea64f65472144d8385 /media-video/ffmpeg/files | |
parent | fa78c918d026c911c1bcd700b1d1000aaff22359 (diff) |
gentoo auto-resync : 03:09:2022 - 10:18:49
Diffstat (limited to 'media-video/ffmpeg/files')
-rw-r--r-- | media-video/ffmpeg/files/ffmpeg-4.2.7-libsdl2-new-version-scheme.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/media-video/ffmpeg/files/ffmpeg-4.2.7-libsdl2-new-version-scheme.patch b/media-video/ffmpeg/files/ffmpeg-4.2.7-libsdl2-new-version-scheme.patch new file mode 100644 index 000000000000..ce552893d19b --- /dev/null +++ b/media-video/ffmpeg/files/ffmpeg-4.2.7-libsdl2-new-version-scheme.patch @@ -0,0 +1,26 @@ +https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/839f98ff6719cf2db0cbd88cd787a1b19b9cbf47 + +From 839f98ff6719cf2db0cbd88cd787a1b19b9cbf47 Mon Sep 17 00:00:00 2001 +From: Christopher Degawa <ccom@randomderp.com> +Date: Wed, 11 May 2022 15:11:04 -0500 +Subject: [PATCH] configure: extend SDL check to accept all 2.x versions + +sdl2 recently changed their versioning, moving the patch level to minor level +https://github.com/libsdl-org/SDL/commit/cd7c2f1de7d9e418bb554047d714dd7cacc020ff +and have said that they will instead ship sdl3.pc for 3.0.0 + +Fixes ticket 9768 + +Signed-off-by: Christopher Degawa <ccom@randomderp.com> +Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro> +--- a/configure ++++ b/configure +@@ -6383,7 +6383,7 @@ fi + + 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) |