[med-fichier] 03/11: debian/patches/ppc64el-support.patch: Add ppc64el support.

Anton Gladky gladk at moszumanska.debian.org
Thu Apr 24 21:48:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository med-fichier.

commit 2f90c13d694a5256b34a2548f97d10de823a5e6e
Author: Adam Conrad <adconrad at ubuntu.com>
Date:   Thu Apr 24 19:05:53 2014 +0200

    debian/patches/ppc64el-support.patch: Add ppc64el support.
---
 debian/patches/ppc64el-support.patch | 55 ++++++++++++++++++++++++++++++++++++
 debian/patches/series                |  1 +
 debian/patches/test.patch            | 13 ---------
 3 files changed, 56 insertions(+), 13 deletions(-)

diff --git a/debian/patches/ppc64el-support.patch b/debian/patches/ppc64el-support.patch
new file mode 100644
index 0000000..e58fa91
--- /dev/null
+++ b/debian/patches/ppc64el-support.patch
@@ -0,0 +1,55 @@
+Description: Add libtool support for ppc64el
+Author: Adam Conrad <adconrad at ubuntu.com>
+
+--- a/config/libtool.m4
++++ b/config/libtool.m4
+@@ -1326,7 +1326,10 @@
+ 	  x86_64-*linux*)
+ 	    LD="${LD-ld} -m elf_i386"
+ 	    ;;
+-	  ppc64-*linux*|powerpc64-*linux*)
++	  powerpc64le-*)
++	    LD="${LD-ld} -m elf32lppclinux"
++	    ;;
++	  powerpc64-*)
+ 	    LD="${LD-ld} -m elf32ppclinux"
+ 	    ;;
+ 	  s390x-*linux*)
+@@ -1345,7 +1348,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"
+ 	    ;;
+ 	  s390*-*linux*|s390*-*tpf*)
+--- a/configure
++++ b/configure
+@@ -11921,7 +11921,10 @@
+ 	  x86_64-*linux*)
+ 	    LD="${LD-ld} -m elf_i386"
+ 	    ;;
+-	  ppc64-*linux*|powerpc64-*linux*)
++	  powerpc64le-*)
++	    LD="${LD-ld} -m elf32lppclinux"
++	    ;;
++	  powerpc64-*)
+ 	    LD="${LD-ld} -m elf32ppclinux"
+ 	    ;;
+ 	  s390x-*linux*)
+@@ -11940,7 +11943,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"
+ 	    ;;
+ 	  s390*-*linux*|s390*-*tpf*)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..50b7f95
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+ppc64el-support.patch
diff --git a/debian/patches/test.patch b/debian/patches/test.patch
deleted file mode 100644
index ce9a6fd..0000000
--- a/debian/patches/test.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: med-fichier/tests/parallel/Makefile.am
-===================================================================
---- med-fichier.orig/tests/parallel/Makefile.am	2013-09-29 16:20:32.000000000 +0200
-+++ med-fichier/tests/parallel/Makefile.am	2013-09-30 09:17:44.000000000 +0200
-@@ -29,7 +29,7 @@
- getBlocksOfEntitiesPartition.c
- 
- 
--LDADD = $(top_builddir)/src/libmedC.la
-+LDADD = $(top_builddir)/src/libmedC.la @HDF5_LDFLAGS@ @HDF5_LIBS@
- 
- nodist_EXTRA_filterBlockOfentities_SOURCES = dummy.cxx
- 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/med-fichier.git



More information about the debian-science-commits mailing list