Package: alsaplayer
Version: 0.99.81-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu utopic ubuntu-patch
Dear Maintainer,
Thank you for applying my patch from Bug 737670, but it appears to have been
copied incorrectly. I fixed it to properly fix the FTBFS on ppc64el.
In Ubuntu, the attached patch was applied to achieve the following:
* debian/patches/40_libtool_ppc64el.patch: Fix to match what was in Ubuntu
and to fix the FTBFS regression on ppc64el.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: jessie/sid
APT prefers utopic-updates
APT policy: (500, 'utopic-updates'), (500, 'utopic-security'), (500,
'utopic'), (100, 'utopic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-24-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru alsaplayer-0.99.81/debian/patches/40_libtool_ppc64el.patch alsaplayer-0.99.81/debian/patches/40_libtool_ppc64el.patch
--- alsaplayer-0.99.81/debian/patches/40_libtool_ppc64el.patch 2014-03-17 00:28:28.000000000 -0400
+++ alsaplayer-0.99.81/debian/patches/40_libtool_ppc64el.patch 2014-04-26 01:53:05.000000000 -0400
@@ -1,11 +1,9 @@
## Description: update for ppc64el support
## Origin/Author: Logan Rosen <[email protected]>
## Updated by: Paul Brossier <[email protected]>
-diff --git a/aclocal.m4 b/aclocal.m4
-index b0b72b8..9aa6008 100644
--- a/aclocal.m4
+++ b/aclocal.m4
-@@ -1253,7 +1253,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+@@ -1253,7 +1253,10 @@
x86_64-*linux*)
LD="${LD-ld} -m elf_i386"
;;
@@ -17,7 +15,7 @@
LD="${LD-ld} -m elf32ppclinux"
;;
s390x-*linux*)
-@@ -1272,7 +1275,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+@@ -1272,7 +1275,10 @@
x86_64-*linux*)
LD="${LD-ld} -m elf_x86_64"
;;
@@ -29,11 +27,9 @@
LD="${LD-ld} -m elf64ppc"
;;
s390*-*linux*|s390*-*tpf*)
-diff --git a/configure b/configure
-index 5ff8221..3b2a90f 100755
--- a/configure
+++ b/configure
-@@ -11708,7 +11708,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+@@ -11708,7 +11708,10 @@
x86_64-*linux*)
LD="${LD-ld} -m elf_i386"
;;
@@ -45,16 +41,15 @@
LD="${LD-ld} -m elf32ppclinux"
;;
s390x-*linux*)
-@@ -11727,6 +11730,12 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+@@ -11727,7 +11730,10 @@
x86_64-*linux*)
LD="${LD-ld} -m elf_x86_64"
;;
+- ppc*-*linux*|powerpc*-*linux*)
+ powerpcle-*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+ powerpc-*)
-+ LD="${LD-ld} -m elf64ppc"
-+ ;;
- ppc*-*linux*|powerpc*-*linux*)
LD="${LD-ld} -m elf64ppc"
;;
+ s390*-*linux*|s390*-*tpf*)