summaryrefslogtreecommitdiffstats
path: root/package/mplayer/mplayer-0002-fix-cc-parsing.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2014-01-13 22:08:46 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-01-13 22:08:46 +0100
commit1a8d62cde9194611de9cb5c564789f9cbf0edf19 (patch)
tree17145f57c181176fc8b050e3983d6a50f85f17c4 /package/mplayer/mplayer-0002-fix-cc-parsing.patch
parent02e51ba86483a0260b39f1871a95012deef0a25f (diff)
downloadbuildroot-1a8d62cde9194611de9cb5c564789f9cbf0edf19.tar.gz
buildroot-1a8d62cde9194611de9cb5c564789f9cbf0edf19.zip
mplayer: add patch to fix building with modern versions of live555
Patch taken from: https://raw.github.com/sherpya/mplayer-be/master/patches/mp/0025-mpdemux-live555-async-interface.patch At the same time rename patches to follow the new convention. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/mplayer/mplayer-0002-fix-cc-parsing.patch')
-rw-r--r--package/mplayer/mplayer-0002-fix-cc-parsing.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/mplayer/mplayer-0002-fix-cc-parsing.patch b/package/mplayer/mplayer-0002-fix-cc-parsing.patch
new file mode 100644
index 0000000000..a3ba03ff23
--- /dev/null
+++ b/package/mplayer/mplayer-0002-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-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)
OpenPOWER on IntegriCloud