summaryrefslogtreecommitdiff
path: root/package/multimedia/mplayer/mplayer-1.1-fix-cc-parsing.patch
blob: a3ba03ff23e5753354218fcecf2c6edd4b288085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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-32710/configure
===================================================================
--- mplayer-32710.orig/configure
+++ mplayer-32710/configure
@@ -870,7 +870,7 @@
     _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)