ffmpeg-0.5.2-fix-sdl-config-search.patch 539 B

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