Package: mpqc
Version: 2.3.1-16
Followup-For: Bug #744635
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu utopic ubuntu-patch

Dear Maintainer,

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

  * Manually patch libtool files to add support for 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 mpqc-2.3.1/debian/patches/17_libtool_ppc64el.patch mpqc-2.3.1/debian/patches/17_libtool_ppc64el.patch
--- mpqc-2.3.1/debian/patches/17_libtool_ppc64el.patch	1969-12-31 19:00:00.000000000 -0500
+++ mpqc-2.3.1/debian/patches/17_libtool_ppc64el.patch	2014-05-02 12:05:46.000000000 -0400
@@ -0,0 +1,68 @@
+--- a/configure
++++ b/configure
+@@ -14784,9 +14784,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"
+           ;;
+@@ -14800,9 +14803,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/lib/autoconf/libtool.m4
++++ b/lib/autoconf/libtool.m4
+@@ -576,9 +576,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"
+           ;;
+@@ -592,9 +595,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"
+           ;;
diff -Nru mpqc-2.3.1/debian/patches/series mpqc-2.3.1/debian/patches/series
--- mpqc-2.3.1/debian/patches/series	2013-11-26 17:40:51.000000000 -0500
+++ mpqc-2.3.1/debian/patches/series	2014-05-02 12:03:57.000000000 -0400
@@ -7,3 +7,4 @@
 14_sc-config_sclibs.patch
 15_sc_config_omit_external_libs.patch
 16_format-security.patch
+17_libtool_ppc64el.patch

Reply via email to