Bug#756648: Fwd: Bug#756648: mplayer2: add support for ppc64el

2014-10-01 Thread Andreas Barth
Hi Reinhard,


* Reinhard Tartler (siret...@gmail.com) [141001 21:14]:
> The proposed patch (attached to this email) makes sense to me for
> inclusion into your mplayer2.git. Can you incorporate it?

this issue is now one of the few remaining uninstallability issues in
testing. For this reason it would be nice if you could upload this fix
to Debian, even in case it's not yet included in upstream. If useful
I'd be happy to help by uploading an NMU. If there is no reason why
not, I'd do so next week.


Andi

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#756648: Fwd: Bug#756648: mplayer2: add support for ppc64el

2014-08-01 Thread Reinhard Tartler
Control: forwarded -1 u...@mplayer2.org
Control: tag -1 upstream

Hi Uoti,

The proposed patch (attached to this email) makes sense to me for
inclusion into your mplayer2.git. Can you incorporate it?

Thanks,
Reinhard

-- Forwarded message --
From: Breno Leitao 
Date: Thu, Jul 31, 2014 at 2:50 PM
Subject: Bug#756648: mplayer2: add support for ppc64el
To: Debian Bug Tracking System 


Package: mplayer2
Version: 2.0-728-g2c378c7-2
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

Currently mplayer2 doesn't built on ppc64el because this architecture/processor
is not known by the configure script, causing the following failure:

Error: unsupported architecture UNKNOWN
The architecture of your CPU (UNKNOWN) is not supported by
this configure script

It seems nobody has ported MPlayer to your OS or CPU type yet.

Check "config.log" if you do not understand why it failed.
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

This patch simply add ppc64le as a ppc64 architecture. It enable the package to
be built from source on ppc64el then.

Thank you
Breno

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


-- 
regards,
Reinhard
Index: mplayer2-2.0-728-g2c378c7/configure
===
--- mplayer2-2.0-728-g2c378c7.orig/configure
+++ mplayer2-2.0-728-g2c378c7/configure
@@ -222,7 +222,7 @@ x86() {
 
 ppc() {
   case "$host_arch" in
-ppc|ppc64|powerpc|powerpc64) return 0;;
+ppc|ppc64le|ppc64|powerpc|powerpc64) return 0;;
 *) return 1;;
   esac
 }
@@ -1098,6 +1098,7 @@ if test -z "$_target" ; then
   ia64) host_arch=ia64 ;;
   macppc|ppc) host_arch=ppc ;;
   ppc64) host_arch=ppc64 ;;
+  ppc64le) host_arch=ppc64 ;;
   alpha) host_arch=alpha ;;
   sparc) host_arch=sparc ;;
   sparc64) host_arch=sparc64 ;;
@@ -1764,12 +1765,12 @@ case "$host_arch" in
 iproc='sh4'
 ;;
 
-  ppc|ppc64|powerpc|powerpc64)
+  ppc|ppc64|ppc64le|powerpc|powerpc64)
 arch='ppc'
 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
 iproc='ppc'
 
-if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then
+if test "$host_arch" = "ppc64" -o "$host_arch" = "ppc64le" -o "$host_arch" = "powerpc64" ; then
   subarch='ppc64'
   def_fast_64bit='#define HAVE_FAST_64BIT 1'
 fi
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers