summaryrefslogtreecommitdiff
path: root/package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-12 22:54:03 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-14 01:28:08 +0100
commit6bcedeed375c3504d4d6f82fca020790866e2c6e (patch)
tree68eac4781e1542ec928b3a75ae46b72fef2ded54 /package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch
parent1e17f73d279e71d6669649d2a16835b3d45fed48 (diff)
mplayer: convert to gentargets, bump to a recent SVN version
Based on the conversion to gentargets done by Martin Banky, several issues were fixed, and the mplayer package was improved: * Updated to a recent SVN version * Removed mandatory dependency on libmad * The AVR32 specific patch has been removed. It was a pain to remain blocked at the old 1.0-rc2 just for this patch. All this optimization work should have been submitted upstream, Buildroot is not the place to carry such heavy modifications. * Options were added to select whether mplayer and/or mencoder should be built/installed. * Support for additional options if packages have been selected: tremor, libmad, libtheora, libpng, jpeg, xlib_libX11, xlib_libXv. More could be added in the future. * Support for ARM-related optimization options. Similar improvements could be done for x86 and PowerPC architectures. [Peter: fix build with !IPV6] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch')
-rw-r--r--package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch b/package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch
new file mode 100644
index 000000000..a3ba03ff2
--- /dev/null
+++ b/package/multimedia/mplayer/mplayer-1.0rc3-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)