[packages/hdf5_hl_region] - hdf5 1.10 doesn't expose fortran 2003 in h5fc output
baggins
baggins at pld-linux.org
Mon Dec 9 00:06:16 CET 2019
commit 146ce0263b0b199f13a0bef235891cec8111314b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Dec 9 00:05:41 2019 +0100
- hdf5 1.10 doesn't expose fortran 2003 in h5fc output
hdf5-1.10.patch | 15 +++++++++++++++
hdf5_hl_region.spec | 2 ++
2 files changed, 17 insertions(+)
---
diff --git a/hdf5_hl_region.spec b/hdf5_hl_region.spec
index 42deae5..ae84667 100644
--- a/hdf5_hl_region.spec
+++ b/hdf5_hl_region.spec
@@ -14,6 +14,7 @@ Source0: http://www.hdfgroup.uiuc.edu/ftp/pub/outgoing/NPOESS/source/hdf5_HL_REG
# Source0-md5: 72b64bca020e8657f4e54ca7d9dfa57d
Patch0: %{name}-shared.patch
Patch1: %{name}-destdir.patch
+Patch2: hdf5-1.10.patch
URL: http://www.hdfgroup.org/projects/npoess/HL_index.html
BuildRequires: autoconf >= 2.59
BuildRequires: automake
@@ -119,6 +120,7 @@ Statyczna biblioteka HDF5 HL_REGION dla Fortranu.
%setup -q -n hdf5_HL_REGION-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__make} -j1 \
diff --git a/hdf5-1.10.patch b/hdf5-1.10.patch
new file mode 100644
index 0000000..cd40cd4
--- /dev/null
+++ b/hdf5-1.10.patch
@@ -0,0 +1,15 @@
+--- hdf5_HL_REGION-1.1.3/Makefile~ 2019-12-08 23:56:49.000000000 +0100
++++ hdf5_HL_REGION-1.1.3/Makefile 2019-12-09 00:03:00.733369598 +0100
+@@ -48,12 +48,6 @@
+ $(error "CONFIGURE ERROR: HDF5 library must be built with the --enable-fortran option")
+ endif
+ FC = $(HDF5_INSTALL_DIR)/bin/h5fc
+-
+-# check to make sure hdf5 was built with --enable-fortran2003
+- CHCK_H5FC2003:= $(strip $(shell $(FC) -showconfig | grep -i 2003))
+- ifneq ("$(CHCK_H5FC2003)","Fortran 2003 Compiler: yes")
+- $(error "CONFIGURE ERROR: HDF5 library must be built with the --enable-fortran2003 option")
+- endif
+ FORTRAN=true
+ endif
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hdf5_hl_region.git/commitdiff/146ce0263b0b199f13a0bef235891cec8111314b
More information about the pld-cvs-commit
mailing list