Skip to contentSkip to conversation

mplayer: Add support for ARC

PATCH New Anton Kolesov 2 participants 2 messages May 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mplayer: Add support for ARC

This patch adds support for ARC architecture in Mplayer's configure script. Same patch has been submitted to upstream MPlayer. This patch should be removed after Buildroot will bump to next version of MPlayer (after 1.1.1).

---
 package/mplayer/Config.in                          |  4 ++--
 package/mplayer/mplayer-0004-add-arc-support.patch | 13 +++++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)
 create mode 100644 package/mplayer/mplayer-0004-add-arc-support.patch
package/mplayer/Config.in +2 -2
index f0dc9a5..8b5d05e 100644
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_MPLAYER
 	bool "mplayer"
 	# Those architectures are not supported by MPlayer
-	depends on !(BR2_arc || BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
+	depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
 			|| BR2_microblaze || BR2_aarch64 || BR2_nios2)
 	# Broken support for <ARMv5
 	depends on !(BR2_arm920t || BR2_arm920t || BR2_arm922t || BR2_fa526 \
@@ -29,6 +29,6 @@ config BR2_PACKAGE_MPLAYER_MENCODER
 endif
 
 comment "mplayer needs a toolchain w/ largefile"
-	depends on !(BR2_arc || BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
+	depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
 			|| BR2_microblaze || BR2_aarch64 || BR2_nios2)
 	depends on !BR2_LARGEFILE
package/mplayer/mplayer-0004-add-arc-support.patch new file +13 -0
new file mode 100644
index 0000000..c14ef23
@@ -0,0 +1,13 @@
+--- mplayer-1.1/configure	2013-12-03 00:32:10.815571460 -0800
++++ mplayer-1.1-arc/configure	2013-11-29 00:34:29.238297709 -0800
+@@ -2492,6 +2492,10 @@
+   generic)
+     arch='generic'
+     ;;
++  arc)
++    arch='arc'
++    iproc='arc'
++    ;;
+ 
+   *)
+     echo "The architecture of your CPU ($host_arch) is not supported by this configure script"
Signature · 1 line
1.8.4.1
#1 lore raw

PATCH 1/1 mplayer: Add support for ARC

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Anton" == Anton Kolesov <[email protected]> writes:

This patch adds support for ARC architecture in Mplayer's configure script. Same patch has been submitted to upstream MPlayer. This patch should be removed after Buildroot will bump to next version of MPlayer (after 1.1.1).

Extended the commit message with a link to the autobuilder failures and committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard