[hdf5] 04/07: Workaround for FTBFS on hurd-i386.

Gilles Filippini pini at debian.org
Sat Oct 31 19:52:53 UTC 2015


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

pini pushed a commit to branch master
in repository hdf5.

commit 5d5cf7c8b128e6cde852043f9b51f1f8b057b88c
Author: Gilles Filippini <pini at debian.org>
Date:   Mon Oct 5 17:26:12 2015 +0200

    Workaround for FTBFS on hurd-i386.
---
 debian/patches/hurd-sigsetjmp.patch | 18 ++++++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/hurd-sigsetjmp.patch b/debian/patches/hurd-sigsetjmp.patch
new file mode 100644
index 0000000..2b20484
--- /dev/null
+++ b/debian/patches/hurd-sigsetjmp.patch
@@ -0,0 +1,18 @@
+Description: Temporary workaround for #800900.
+ Configure fails checking for sigsetjmp because it is actually a macro
+ which call __sigsetjmp. Then we consider that when siglongjmp is
+ available, then sigsetjmp is as well.
+ This allows to workaround #800900 which is triggered when relying on
+ setjmp/longjmp.
+Index: hdf5/configure.ac
+===================================================================
+--- hdf5.orig/configure.ac
++++ hdf5/configure.ac
+@@ -1644,6 +1644,7 @@ AC_CHECK_FUNCS([alarm clock_gettime diff
+ AC_CHECK_FUNCS([gethostname getpwuid getrusage gettimeofday])
+ AC_CHECK_FUNCS([lstat rand_r random setsysinfo])
+ AC_CHECK_FUNCS([signal longjmp setjmp siglongjmp sigsetjmp sigprocmask])
++AC_CHECK_FUNCS([siglongjmp],[AC_DEFINE([HAVE_SIGSETJMP])])
+ AC_CHECK_FUNCS([snprintf srandom strdup symlink system])
+ AC_CHECK_FUNCS([tmpfile asprintf vasprintf vsnprintf waitpid])
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 6f0886f..2f4fbd6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ path_max.diff
 ullong_force.diff
 relax-version-check.patch
 format-not-a-string-literal-and-no-format-arguments.patch
+hurd-sigsetjmp.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/hdf5.git



More information about the Pkg-grass-devel mailing list