[adios] 02/03: Fix for libc6 (2.23 in experimental). Closes: #818825

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Mar 22 13:57:24 UTC 2016


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

mckinstry pushed a commit to tag debian/1.9.0-9
in repository adios.

commit ab6e875a25ed861b0b2445543a8faa5978ee1ca3
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Mar 22 12:49:04 2016 +0000

    Fix for libc6 (2.23 in experimental). Closes: #818825
---
 debian/changelog                     |  1 +
 debian/patches/libc-2.23-fixes.patch | 13 +++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6f8e27f..ea8dde1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ adios (1.9.0-9) UNRELEASED; urgency=medium
 
   * Add SZIP support.
   * Remove hppa, x32 specific rules for mpich. Default to openmpi
+  * Fix for libc6 (2.23 in experimental). Closes: #818825
 
  -- Alastair McKinstry <mckinstry at debian.org>  Tue, 22 Mar 2016 11:52:49 +0000
 
diff --git a/debian/patches/libc-2.23-fixes.patch b/debian/patches/libc-2.23-fixes.patch
new file mode 100644
index 0000000..81de2af
--- /dev/null
+++ b/debian/patches/libc-2.23-fixes.patch
@@ -0,0 +1,13 @@
+Index: adios-1.9.0/src/core/adios_internals.c
+===================================================================
+--- adios-1.9.0.orig/src/core/adios_internals.c
++++ adios-1.9.0/src/core/adios_internals.c
+@@ -4967,7 +4967,7 @@ int adios_generate_var_characteristics_v
+         size = 0; \
+         while ((size * b) < total_size) \
+         { \
+-            if (isnan (data [size]) || !isfinite (data [size])) {\
++	  if (isnan ((double) data [size]) || !isfinite ((double) data [size])) { \
+                 size ++; \
+                 continue; \
+             }\
diff --git a/debian/patches/series b/debian/patches/series
index ccb826f..108b1c2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,3 +14,4 @@ autotools-fixes.patch
 multiarch_safe.patch
 py3.patch
 version-fix.patch
+libc-2.23-fixes.patch

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



More information about the debian-science-commits mailing list