mplayer-1.0rc3-fix-cc-parsing.patch 672 B

12345678910111213141516171819202122
  1. [PATCH] mplayer: fix --cc= parsing if the value contains equal signs (=)
  2. E.G. if -cc="$CROSS-gcc --sysroot=<SYSROOT>" is passed.
  3. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  4. ---
  5. configure | 2 +-
  6. 1 file changed, 1 insertion(+), 1 deletion(-)
  7. Index: mplayer-32710/configure
  8. ===================================================================
  9. --- mplayer-32710.orig/configure
  10. +++ mplayer-32710/configure
  11. @@ -870,7 +870,7 @@
  12. _target=$(echo $ac_option | cut -d '=' -f 2)
  13. ;;
  14. --cc=*)
  15. - _cc=$(echo $ac_option | cut -d '=' -f 2)
  16. + _cc=$(echo $ac_option | cut -d '=' -f 2-)
  17. ;;
  18. --host-cc=*)
  19. _host_cc=$(echo $ac_option | cut -d '=' -f 2)