kumquat-buildroot/package/multimedia/ffmpeg/ffmpeg-0.5.2-fix-sdl-config-search.patch
Luca Ceresoli 5253efadb0 ffmpeg: add commandline programs
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14 23:39:15 +02:00

18 lines
539 B
Diff

Allow FFmpeg's ./configure script to use a custom sdl-config command.
Inspired from:
http://www.mail-archive.com/uclinux-dist-commits@blackfin.uclinux.org/msg01099.html
diff -u ffmpeg-0.5.2-orig/configure ffmpeg-0.5.2/configure
--- a/configure
+++ b/configure
@@ -2066,7 +2066,7 @@
disable sdl_too_old
disable sdl
-SDL_CONFIG="${cross_prefix}sdl-config"
+SDL_CONFIG="${SDL_CONFIG-${cross_prefix}sdl-config}"
if "${SDL_CONFIG}" --version > /dev/null 2>&1; then
sdl_cflags=`"${SDL_CONFIG}" --cflags`
temp_cflags $sdl_cflags