summaryrefslogtreecommitdiff
path: root/devel/hdf5/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2006-02-10 19:56:13 +0000
committerdrochner <drochner@pkgsrc.org>2006-02-10 19:56:13 +0000
commit18f2bc3a2d132d5c32ce2ca36efaddb877f48679 (patch)
tree1f4658023d7abfd617e8b5244bec0accad8c1dd7 /devel/hdf5/patches
parentddfb21737fb2c171d60e6cec038d4c5e2bd8cfb8 (diff)
downloadpkgsrc-18f2bc3a2d132d5c32ce2ca36efaddb877f48679.tar.gz
-fix MASTER_SITES and distinfo cksum
-make NetBSD ("netbsdelf") a recognized configuration, copied from "freebsd"; this pulls in definitions for gcc, in particular it disables some optimization -work around a memory corruption problem in H5FDstream which appearently is caused by use of free()d memory The latter 2 changes make the library survive its selftests, and help the "pytables" pkg as well. bump PKGREVISION, raise BUILDLINK_RECOMMENDED
Diffstat (limited to 'devel/hdf5/patches')
-rw-r--r--devel/hdf5/patches/patch-ae12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/hdf5/patches/patch-ae b/devel/hdf5/patches/patch-ae
new file mode 100644
index 00000000000..a6acd81f6cb
--- /dev/null
+++ b/devel/hdf5/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1 2006/02/10 19:56:13 drochner Exp $
+
+--- src/H5FDstream.c.orig 2006-02-10 20:31:57.000000000 +0100
++++ src/H5FDstream.c
+@@ -684,6 +684,7 @@ H5FD_stream_open (const char *filename,
+ /* update the port ID in the file access property
+ so that it can be queried via H5P_get_fapl_stream() later on */
+ H5P_set_driver (plist, H5FD_STREAM, &stream->fapl);
++ fapl = H5P_get_driver_info (plist);
+ }
+ else
+ HGOTO_ERROR(H5E_IO, H5E_CANTOPENFILE, NULL, "can't open internal socket")