This is an automated email from the git hooks/post-receive script. johanvdw-guest pushed a commit to branch master in repository hdf4.
commit 6de20ec51a04dc4b1641f8504aac8b6255c80271 Author: Fernando Seiti Furusato <ferse...@br.ibm.com> Date: Mon Oct 13 17:15:11 2014 +0200 Fix endianness definition for ppc64el --- debian/changelog | 6 ++++++ debian/patches/ppc64el.patch | 22 ++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 29 insertions(+) diff --git a/debian/changelog b/debian/changelog index 84e892e..8340687 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libhdf4 (4.2.10-2ppc64el2) UNRELEASED; urgency=medium + + * Fix endianness definition for ppc64el. + + -- Fernando Seiti Furusato <ferse...@br.ibm.com> Fri, 10 Oct 2014 23:13:28 +0000 + libhdf4 (4.2.10-2) unstable; urgency=medium * Add build-time checks diff --git a/debian/patches/ppc64el.patch b/debian/patches/ppc64el.patch new file mode 100644 index 0000000..0020989 --- /dev/null +++ b/debian/patches/ppc64el.patch @@ -0,0 +1,22 @@ +Index: libhdf4-4.2.10/HDF4/mfhdf/libsrc/xdrposix.c +=================================================================== +--- libhdf4-4.2.10.orig/HDF4/mfhdf/libsrc/xdrposix.c 2014-10-05 20:35:40.000000000 +0000 ++++ libhdf4-4.2.10/HDF4/mfhdf/libsrc/xdrposix.c 2014-10-08 16:30:11.170013021 +0000 +@@ -431,7 +431,7 @@ + #endif + { + unsigned char *up = (unsigned char *)lp ; +-#if (defined AIX5L64 || defined __powerpc64__ || (defined __hpux && __LP64__)) ++#if (defined AIX5L64 || (defined __powerpc64__ && !defined __LITTLE_ENDIAN__) || defined __s390x__ || (defined __hpux && __LP64__)) + *lp = 0 ; + up += (sizeof(long) - 4) ; + #endif +@@ -458,7 +458,7 @@ + netlong mycopy = htonl(*lp); + up = (unsigned char *)&mycopy; + #endif +-#if (defined AIX5L64 || defined __powerpc64__ || (defined __hpux && __LP64__)) ++#if (defined AIX5L64 || (defined __powerpc64__ && !defined __LITTLE_ENDIAN__) || defined __s390x__ || (defined __hpux && __LP64__)) + up += (sizeof(long) - 4) ; + #endif + diff --git a/debian/patches/series b/debian/patches/series index 99a7653..9fe6256 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -10,4 +10,5 @@ hdf-4.2.10-aarch64.patch install-examples.diff missing-includes.diff fix_string_literals.diff +ppc64el.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/hdf4.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel