- Add patch to fix calling free() in H5PropList.cpp

epel9
Orion Poplawski 17 years ago
parent 52ff7b205f
commit 609272dcb8

@ -0,0 +1,19 @@
--- 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

@ -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 @@ Patch8: hdf5-1.6.5-sort.patch
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 @@ HDF5 development headers and libraries.
%patch10 -p1 -b .open
%patch11 -p1 -b .alpha
%patch12 -p1 -b .s390
%patch13 -p1 -b .free
%build
@ -113,6 +115,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Feb 5 2008 Orion Poplawski <orion@cora.nwra.com> 1.6.6-6
- Add patch to fix calling free() in H5PropList.cpp
* Tue Feb 5 2008 Orion Poplawski <orion@cora.nwra.com> 1.6.6-5
- Add patch to support s390 (bug #431510)

Loading…
Cancel
Save