Package: libccscript3
Version: 1.1.7-2
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:

  * Manually patch libtool files to add ppc64el support.

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-23-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 libccscript3-1.1.7/debian/patches/libtool_ppc64el.patch libccscript3-1.1.7/debian/patches/libtool_ppc64el.patch
--- libccscript3-1.1.7/debian/patches/libtool_ppc64el.patch	1969-12-31 19:00:00.000000000 -0500
+++ libccscript3-1.1.7/debian/patches/libtool_ppc64el.patch	2014-03-22 00:55:24.000000000 -0400
@@ -0,0 +1,68 @@
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -544,9 +544,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"
+           ;;
+@@ -560,9 +563,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
+@@ -4981,9 +4981,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"
+           ;;
+@@ -4997,9 +5000,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 libccscript3-1.1.7/debian/patches/series libccscript3-1.1.7/debian/patches/series
--- libccscript3-1.1.7/debian/patches/series	2012-06-23 01:40:42.000000000 -0400
+++ libccscript3-1.1.7/debian/patches/series	2014-03-22 00:53:59.000000000 -0400
@@ -2,3 +2,4 @@
 dbug365518.patch
 error_format_security.patch
 gcc-4.3.patch
+libtool_ppc64el.patch

Reply via email to