rpms/hdf5/devel hdf5-1.6.5-memset.patch, NONE, 1.1 hdf5.spec, 1.12, 1.13

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Wed Aug 8 19:54:53 UTC 2007


Author: orion

Update of /cvs/pkgs/rpms/hdf5/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2605

Modified Files:
	hdf5.spec 
Added Files:
	hdf5-1.6.5-memset.patch 
Log Message:
Fix memset typo


hdf5-1.6.5-memset.patch:

--- NEW FILE hdf5-1.6.5-memset.patch ---
--- 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)


Index: hdf5.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hdf5/devel/hdf5.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- hdf5.spec	2 Mar 2007 23:27:55 -0000	1.12
+++ hdf5.spec	8 Aug 2007 19:54:21 -0000	1.13
@@ -5,7 +5,7 @@
 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 @@
 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 @@
 %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 @@
 %{_libdir}/*.mod
 
 %changelog
+* Wed Aug  8 2007 Orion Poplawski <orion at cora.nwra.com> 1.6.5-8
+- Fix memset typo
+
 * Mon Feb 12 2007 Orion Poplawski <orion at cora.nwra.com> 1.6.5-7
 - New project URL
 - Add patch to use POSIX sort key option




More information about the fedora-extras-commits mailing list