Add patch to add ppc64le to config.guess (bug #1080122)

epel9
Orion Poplawski 11 years ago
parent 5f0b88875d
commit 940727319b

@ -0,0 +1,13 @@
diff -up hdf5-1.8.12/bin/config.guess.ppc64le hdf5-1.8.12/bin/config.guess
--- hdf5-1.8.12/bin/config.guess.ppc64le 2014-03-24 13:44:18.943650766 -0600
+++ hdf5-1.8.12/bin/config.guess 2014-03-24 13:45:13.279420241 -0600
@@ -974,6 +974,9 @@ EOF
ppc64:Linux:*:*)
echo powerpc64-unknown-linux-gnu
exit ;;
+ ppc64le:Linux:*:*)
+ echo powerpc64le-unknown-linux-gnu
+ exit ;;
ppc:Linux:*:*)
echo powerpc-unknown-linux-gnu
exit ;;

@ -7,7 +7,7 @@
# You need to recompile all users of HDF5 for each version change
Name: hdf5
Version: 1.8.12
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A general purpose library and file format for storing scientific data
License: BSD
Group: System Environment/Libraries
@ -24,6 +24,8 @@ Patch2: hdf5-aarch64.patch
# Fix long double conversions on ppc64le
# https://bugzilla.redhat.com/show_bug.cgi?id=1078173
Patch3: hdf5-ldouble-ppc64le.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1080122
Patch4: hdf5-ppc64le.patch
BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-gfortran, time
# For patches/rpath
@ -159,6 +161,7 @@ HDF5 parallel openmpi static libraries
%endif
%patch2 -p1 -b .aarch64
%patch3 -p1 -b .ldouble-ppc64le
%patch4 -p1 -b .ppc64le
#This should be fixed in 1.8.7
find \( -name '*.[ch]*' -o -name '*.f90' -o -name '*.txt' \) -exec chmod -x {} +
autoreconf -f -i
@ -413,6 +416,9 @@ done
%changelog
* Mon Mar 24 2014 Orion Poplawski <orion@cora.nwra.com> - 1.8.12-6
- Add patch to add ppc64le to config.guess (bug #1080122)
* Wed Mar 19 2014 Orion Poplawski <orion@cora.nwra.com> - 1.8.12-5
- Add patch to fix long double conversions on ppc64le (bug #1078173)
- Run autoreconf for patches and to remove rpaths

Loading…
Cancel
Save