patch-configure 828 B

12345678910111213141516171819202122
  1. --- ffmpeg-0.6.1.orig/configure 2010-06-15 21:44:30.000000000 +0200
  2. +++ ffmpeg-0.6.1/configure 2011-02-05 19:31:24.000000000 +0100
  3. @@ -1689,8 +1690,8 @@ if ! check_cmd type mktemp; then
  4. fi
  5. tmpfile(){
  6. - tmp=$(mktemp -u "${TMPDIR}/ffconf.XXXXXXXX")$2 &&
  7. - (set -C; exec > $tmp) 2>/dev/null ||
  8. + tmp=$(mktemp "${TMPDIR}/ffconf.XXXXXXXX")$2 &&
  9. + (set -C; rm $tmp; exec > $tmp) ||
  10. die "Unable to create temporary file in $TMPDIR."
  11. append TMPFILES $tmp
  12. eval $1=$tmp
  13. @@ -2640,7 +2641,7 @@ if enabled libdc1394; then
  14. die "ERROR: No version of libdc1394 found "
  15. fi
  16. -SDL_CONFIG="${cross_prefix}sdl-config"
  17. +SDL_CONFIG="${sysroot}/usr/bin/sdl-config"
  18. if "${SDL_CONFIG}" --version > /dev/null 2>&1; then
  19. sdl_cflags=$("${SDL_CONFIG}" --cflags)
  20. sdl_libs=$("${SDL_CONFIG}" --libs)