rpms/hdf5/devel hdf5-1.6.6-free.patch,NONE,1.1 hdf5.spec,1.20,1.21

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Tue Feb 5 22:29:45 UTC 2008


Author: orion

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

Modified Files:
	hdf5.spec 
Added Files:
	hdf5-1.6.6-free.patch 
Log Message:
* Tue Feb  5 2008 Orion Poplawski <orion at cora.nwra.com> 1.6.6-6
- Add patch to fix calling free() in H5PropList.cpp


hdf5-1.6.6-free.patch:

--- NEW FILE hdf5-1.6.6-free.patch ---
--- hdf5-1.6.6/c++/src/H5PropList.cpp.free	2007-08-16 10:12:26.000000000 -0600
+++ hdf5-1.6.6/c++/src/H5PropList.cpp	2008-02-05 15:14:51.000000000 -0700
@@ -24,6 +24,7 @@
 #include "H5Exception.h"
 #include "H5IdComponent.h"
 #include "H5PropList.h"
+#include "H5private.h"
 
 #ifndef H5_NO_NAMESPACE
 namespace H5 {
@@ -425,7 +426,7 @@
    if (temp_str != NULL)
    {
       H5std_string class_name = H5std_string(temp_str);
-      free(temp_str);
+      HDfree(temp_str);
       return(class_name);
    }
    else


Index: hdf5.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hdf5/devel/hdf5.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- hdf5.spec	5 Feb 2008 18:58:50 -0000	1.20
+++ hdf5.spec	5 Feb 2008 22:29:04 -0000	1.21
@@ -1,6 +1,6 @@
 Name: hdf5
 Version: 1.6.6
-Release: 5%{?dist}
+Release: 6%{?dist}
 Summary: A general purpose library and file format for storing scientific data
 License: BSD
 Group: System Environment/Libraries
@@ -17,6 +17,7 @@
 Patch10: hdf5-1.6.5-open.patch
 Patch11: hdf5-1.6.6-alpha.patch
 Patch12: hdf5-1.6.6-s390.patch
+Patch13: hdf5-1.6.6-free.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-gfortran, time
 
@@ -50,6 +51,7 @@
 %patch10 -p1 -b .open
 %patch11 -p1 -b .alpha
 %patch12 -p1 -b .s390
+%patch13 -p1 -b .free
 
 
 %build
@@ -113,6 +115,9 @@
 
 
 %changelog
+* Tue Feb  5 2008 Orion Poplawski <orion at cora.nwra.com> 1.6.6-6
+- Add patch to fix calling free() in H5PropList.cpp
+
 * Tue Feb  5 2008 Orion Poplawski <orion at cora.nwra.com> 1.6.6-5
 - Add patch to support s390 (bug #431510)
 




More information about the fedora-extras-commits mailing list