Package: alsaplayer
Version: 0.99.80-5.1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

For the ppc64el architecture in Ubuntu, since this package uses libtool, manual
updates to libtool files are necessary to add support.

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/patches/40_libtool_ppc64el.patch: Manually update aclocal.m4 and
    configure to add support for ppc64el.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-6-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 -u alsaplayer-0.99.80/debian/patches/series alsaplayer-0.99.80/debian/patches/series
--- alsaplayer-0.99.80/debian/patches/series
+++ alsaplayer-0.99.80/debian/patches/series
@@ -6,0 +7 @@
+40_libtool_ppc64el.patch
only in patch2:
unchanged:
--- alsaplayer-0.99.80.orig/debian/patches/40_libtool_ppc64el.patch
+++ alsaplayer-0.99.80/debian/patches/40_libtool_ppc64el.patch
@@ -0,0 +1,70 @@
+## Description: update for ppc64el support
+## Origin/Author: Logan Rosen <lo...@ubuntu.com>
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -601,9 +601,12 @@
+         x86_64-*linux*)
+           LD="${LD-ld} -m elf_i386"
+           ;;
+-        ppc64-*linux*|powerpc64-*linux*)
+-          LD="${LD-ld} -m elf32ppclinux"
+-          ;;
++        powerpc64le-*)
++	  LD="${LD-ld} -m elf32lppclinux"
++	  ;;
++	powerpc64-*)
++	  LD="${LD-ld} -m elf32ppclinux"
++	  ;;
+         s390x-*linux*)
+           LD="${LD-ld} -m elf_s390"
+           ;;
+@@ -620,9 +623,12 @@
+         x86_64-*linux*)
+           LD="${LD-ld} -m elf_x86_64"
+           ;;
+-        ppc*-*linux*|powerpc*-*linux*)
+-          LD="${LD-ld} -m elf64ppc"
+-          ;;
++        powerpcle-*)
++	  LD="${LD-ld} -m elf64lppc"
++	  ;;
++	powerpc-*)
++	  LD="${LD-ld} -m elf64ppc"
++	  ;;
+         s390*-*linux*)
+           LD="${LD-ld} -m elf64_s390"
+           ;;
+--- a/configure
++++ b/configure
+@@ -13460,9 +13460,12 @@
+         x86_64-*linux*)
+           LD="${LD-ld} -m elf_i386"
+           ;;
+-        ppc64-*linux*|powerpc64-*linux*)
+-          LD="${LD-ld} -m elf32ppclinux"
+-          ;;
++        powerpc64le-*)
++	    LD="${LD-ld} -m elf32lppclinux"
++	    ;;
++	powerpc64-*)
++	  LD="${LD-ld} -m elf32ppclinux"
++	  ;;
+         s390x-*linux*)
+           LD="${LD-ld} -m elf_s390"
+           ;;
+@@ -13479,9 +13482,12 @@
+         x86_64-*linux*)
+           LD="${LD-ld} -m elf_x86_64"
+           ;;
+-        ppc*-*linux*|powerpc*-*linux*)
+-          LD="${LD-ld} -m elf64ppc"
+-          ;;
++        powerpcle-*)
++	  LD="${LD-ld} -m elf64lppc"
++	  ;;
++	powerpc-*)
++	  LD="${LD-ld} -m elf64ppc"
++	  ;;
+         s390*-*linux*)
+           LD="${LD-ld} -m elf64_s390"
+           ;;

Reply via email to