summaryrefslogtreecommitdiffstats
path: root/package/multimedia/mplayer
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-22 11:24:30 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-22 11:24:30 +0200
commit89fc8a4f5a900ce493c4aabb29bbd6186f27ebf8 (patch)
treec8a1fb847c5569c2fdae16fad0a3ba90b66eb6d3 /package/multimedia/mplayer
parent32d319e6f7242553c821c7a1eadfabd2719f5992 (diff)
downloadbuildroot-novena-89fc8a4f5a900ce493c4aabb29bbd6186f27ebf8.tar.gz
buildroot-novena-89fc8a4f5a900ce493c4aabb29bbd6186f27ebf8.zip
mplayer: fix build after efb1d8d3f40 (Cleanup TARGET_CONFIGURE_OPTS)
mplayer's configure script got confused by the equal sign (=) we now have in TARGET_CC because of --sysroot=<path>. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/mplayer')
-rw-r--r--package/multimedia/mplayer/mplayer-1.0rc2-fix-cc-parsing.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/multimedia/mplayer/mplayer-1.0rc2-fix-cc-parsing.patch b/package/multimedia/mplayer/mplayer-1.0rc2-fix-cc-parsing.patch
new file mode 100644
index 000000000..770e145f1
--- /dev/null
+++ b/package/multimedia/mplayer/mplayer-1.0rc2-fix-cc-parsing.patch
@@ -0,0 +1,22 @@
+[PATCH] mplayer: fix --cc= parsing if the value contains equal signs (=)
+
+E.G. if -cc="$CROSS-gcc --sysroot=<SYSROOT>" is passed.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: MPlayer-1.0rc2/configure
+===================================================================
+--- MPlayer-1.0rc2.orig/configure
++++ MPlayer-1.0rc2/configure
+@@ -761,7 +761,7 @@ for ac_option do
+ _target=`echo $ac_option | cut -d '=' -f 2`
+ ;;
+ --cc=*)
+- _cc=`echo $ac_option | cut -d '=' -f 2`
++ _cc=`echo $ac_option | cut -d '=' -f 2-`
+ ;;
+ --host-cc=*)
+ _host_cc=`echo $ac_option | cut -d '=' -f 2`