diff --git a/hdf5-1.6.5-memset.patch b/hdf5-1.6.5-memset.patch new file mode 100644 index 0000000..5a6d9a6 --- /dev/null +++ b/hdf5-1.6.5-memset.patch @@ -0,0 +1,11 @@ +--- hdf5-1.6.5/src/H5R.c.memset 2005-08-20 13:28:52.000000000 -0600 ++++ hdf5-1.6.5/src/H5R.c 2007-08-08 09:40:01.000000000 -0600 +@@ -190,7 +190,7 @@ + } /* end if */ + + /* Zero the heap ID out, may leak heap space if user is re-using reference and doesn't have garbage collection on */ +- HDmemset(ref,H5R_DSET_REG_REF_BUF_SIZE,0); ++ HDmemset(ref,0,H5R_DSET_REG_REF_BUF_SIZE); + + /* Get the amount of space required to serialize the selection */ + if ((buf_size = H5S_SELECT_SERIAL_SIZE(space)) < 0) diff --git a/hdf5.spec b/hdf5.spec index 1df2ffd..71d3b3c 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -5,7 +5,7 @@ Summary: A general purpose library and file format for storing scientific data License: BSD-ish Group: System Environment/Libraries URL: http://www.hdfgroup.org/HDF5/ -Source0: ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/current/src/%{name}-%{version}.tar.gz +Source0: ftp://ftp.hdfgroup.org/HDF5/current/src/%{name}-%{version}.tar.gz Patch0: hdf5-1.6.4-gcc4.patch Patch1: hdf5-1.6.4-destdir.patch Patch2: hdf5-1.6.4-norpath.patch @@ -15,6 +15,7 @@ Patch5: hdf5-1.6.4-ppc.patch Patch6: hdf5-1.6.5-flags.patch Patch7: hdf5-1.6.5-x86_64.patch Patch8: hdf5-1.6.5-sort.patch +Patch9: hdf5-1.6.5-memset.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-gfortran, time @@ -46,6 +47,7 @@ HDF5 development headers and libraries. %patch6 -p1 -b .flags %patch7 -p1 -b .x86_64 %patch8 -p1 -b .sort +%patch9 -p1 -b .memset %build %configure --with-ssl --enable-cxx --enable-fortran \ @@ -101,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.mod %changelog +* Wed Aug 8 2007 Orion Poplawski 1.6.5-8 +- Fix memset typo + * Mon Feb 12 2007 Orion Poplawski 1.6.5-7 - New project URL - Add patch to use POSIX sort key option