diff --git a/hdf5-1.6.6-signal.patch b/hdf5-1.6.6-signal.patch new file mode 100644 index 0000000..9adb635 --- /dev/null +++ b/hdf5-1.6.6-signal.patch @@ -0,0 +1,45 @@ +--- hdf5-1.6.5/src/H5detect.c.orig 2005-09-12 19:18:23.000000000 +0200 ++++ hdf5-1.6.5/src/H5detect.c 2005-11-15 18:25:36.030721792 +0100 +@@ -106,7 +106,7 @@ + static void detect_C99_integers64(void); + static void detect_alignments(void); + static size_t align_g[] = {1, 2, 4, 8, 16}; +-static jmp_buf jbuf_g; ++static sigjmp_buf jbuf_g; + + + /*------------------------------------------------------------------------- +@@ -360,7 +360,7 @@ + void (*_handler2)(int) = signal(SIGSEGV, sigsegv_handler); \ + \ + _buf = (char*)malloc(sizeof(TYPE)+align_g[NELMTS(align_g)-1]); \ +- if (setjmp(jbuf_g)) _ano++; \ ++ if (sigsetjmp(jbuf_g, 1)) _ano++; \ + if (_ano 1.6.6-4 +- Add patches to support sparc (bug #427651) + * Tue Dec 4 2007 Orion Poplawski 1.6.6-3 - Rebuild against new openssl