Author: orion
Update of /cvs/extras/rpms/hdf5/FC-4 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8092
Modified Files: hdf5.spec Added Files: hdf5-1.6.4-ppc.patch Log Message: Add patch for fortran compilation on ppc
hdf5-1.6.4-ppc.patch:
--- NEW FILE hdf5-1.6.4-ppc.patch --- --- hdf5-1.6.4/fortran/src/H5f90i.h.orig 2005-01-10 16:56:29.000000000 -0700 +++ hdf5-1.6.4/fortran/src/H5f90i.h 2005-11-18 11:06:58.000000000 -0700 @@ -102,6 +102,15 @@ typedef int size_t_f; #define FNAME_POST_UNDERSCORE
+/* PPC specific definitions */ +#elif defined __PPC__ + +typedef long long haddr_t_f; +typedef long long hsize_t_f; +typedef long long hssize_t_f; +typedef int size_t_f; +#define FNAME_POST_UNDERSCORE + /* IA64 specific definitions */ #elif defined __ia64
Index: hdf5.spec =================================================================== RCS file: /cvs/extras/rpms/hdf5/FC-4/hdf5.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- hdf5.spec 30 Nov 2005 20:48:36 -0000 1.3 +++ hdf5.spec 30 Nov 2005 20:56:29 -0000 1.4 @@ -11,6 +11,7 @@ Patch2: hdf5-1.6.4-norpath.patch Patch3: hdf5-1.6.4-testh5repack.patch Patch4: hdf5-1.6.4-h5diff_attr.patch +Patch5: hdf5-1.6.4-ppc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc-gfortran >= 4.0.2, krb5-devel, openssl-devel, zlib-devel
@@ -38,6 +39,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1
%build autoconf @@ -92,7 +94,8 @@
%changelog * Wed Nov 30 2005 Orion Poplawski orion@cora.nwra.com 1.6.4-5 -- enable fortran, require fixed gfortran version +- Enable fortran, require fixed gfortran version +- Add patch for fortran compilation on ppc - Move compiler wrappers to -devel
* Tue Jul 05 2005 Orion Poplawski orion@cora.nwra.com 1.6.4-4
scm-commits@lists.fedoraproject.org