summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@gentoo.org>2017-07-02 17:43:38 -0600
committerChristoph Junghans <junghans@gentoo.org>2017-07-02 17:44:12 -0600
commite8827415e767b1252f3851edef8e000980b7f2a1 (patch)
tree4128f82bcd2eb971823ef3d4d5a6e5b5650d3fac /sci-libs/h5hut/files
parentsys-kernel/dracut: make myself a maintainer (diff)
downloadgentoo-e8827415e767b1252f3851edef8e000980b7f2a1.tar.gz
gentoo-e8827415e767b1252f3851edef8e000980b7f2a1.tar.bz2
gentoo-e8827415e767b1252f3851edef8e000980b7f2a1.zip
sci-libs/h5hut: initial commit
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'sci-libs/h5hut/files')
-rw-r--r--sci-libs/h5hut/files/h5hut-1.99.13-autotools.patch77
-rw-r--r--sci-libs/h5hut/files/h5hut-1.99.13-mpio.patch12
2 files changed, 89 insertions, 0 deletions
diff --git a/sci-libs/h5hut/files/h5hut-1.99.13-autotools.patch b/sci-libs/h5hut/files/h5hut-1.99.13-autotools.patch
new file mode 100644
index 000000000000..262aa61461a3
--- /dev/null
+++ b/sci-libs/h5hut/files/h5hut-1.99.13-autotools.patch
@@ -0,0 +1,77 @@
+diff -Naur H5hut-1.99.13.orig/src/Fortran/Makefile.am H5hut-1.99.13/src/Fortran/Makefile.am
+--- H5hut-1.99.13.orig/src/Fortran/Makefile.am 2017-07-02 16:46:44.899690038 -0600
++++ H5hut-1.99.13/src/Fortran/Makefile.am 2017-07-02 16:53:46.414587073 -0600
+@@ -49,9 +49,6 @@
+ awk '/INTEGER\*8 :: /{print "\t" $$0}' $^ >$@
+ awk '/PARAMETER /{print "\t" $$0}' $^ >> $@
+ awk '/INTEGER\*8 FUNCTION/{print "\t" $$1 " " $$3}' $^ >>$@
+-
+-all-local: $(top_srcdir)/src/include/H5hutF.h
+- $(INSTALL) -m644 .libs/libH5hutF.a $(top_srcdir)/src/lib
+ endif
+
+ clean: clean-am
+diff -Naur H5hut-1.99.13.orig/src/h5core/Makefile.am H5hut-1.99.13/src/h5core/Makefile.am
+--- H5hut-1.99.13.orig/src/h5core/Makefile.am 2017-07-02 16:46:44.899690038 -0600
++++ H5hut-1.99.13/src/h5core/Makefile.am 2017-07-02 16:58:03.017839542 -0600
+@@ -89,15 +89,10 @@
+
+ libH5hut_la_LDFLAGS = -version-info 2:0:0
+
+-all-local:
+- $(INSTALL) -m0755 -d $(top_builddir)/src/lib
+- $(INSTALL) -m644 .libs/libH5hut.a $(top_builddir)/src/lib
+-
+ install-exec-local:
+ @$(INSTALL) -d $(DESTDIR)$(includedir)/h5core
+ @$(INSTALL) -m644 $(top_srcdir)/src/include/h5core/*.h $(DESTDIR)$(includedir)/h5core/
+
+ clean-local:
+- $(RM) -f $(top_srcdir)/src/lib/libH5hut.*
+ $(RM) -f *~
+
+diff -Naur H5hut-1.99.13.orig/test/Makefile.am H5hut-1.99.13/test/Makefile.am
+--- H5hut-1.99.13.orig/test/Makefile.am 2017-07-02 16:46:44.919690283 -0600
++++ H5hut-1.99.13/test/Makefile.am 2017-07-02 16:58:01.297818301 -0600
+@@ -1,10 +1,9 @@
+ # test level Makefile.am
+
+ AM_CPPFLAGS += -I$(top_srcdir)/src/include
+-AM_LDFLAGS += -L${abs_top_builddir}/src/lib
+
+ LDADD =
+-LDADD += -lH5hut
++LDADD += ../src/h5core/libH5hut.la
+
+ noinst_PROGRAMS =
+
+diff -Naur H5hut-1.99.13.orig/tools/Makefile.am H5hut-1.99.13/tools/Makefile.am
+--- H5hut-1.99.13.orig/tools/Makefile.am 2017-07-02 16:46:44.919690283 -0600
++++ H5hut-1.99.13/tools/Makefile.am 2017-07-02 16:59:30.228916458 -0600
+@@ -8,10 +8,9 @@
+
+ AM_CPPFLAGS += -I${abs_top_builddir}/src/include -Wno-deprecated
+ FFLAGS += -cpp $(AM_CPPFLAGS)
+-AM_LDFLAGS += -L${abs_top_builddir}/src/lib
+
+ LDADD =
+-LDADD += -lH5hut
++LDADD += ../src/h5core/libH5hut.la
+
+ if ENABLE_C
+ EXTRA_SCRIPTS = # h5hutcc
+diff -Naur H5hut-1.99.13.orig/tools/vtk2h5grid/Makefile.am H5hut-1.99.13/tools/vtk2h5grid/Makefile.am
+--- H5hut-1.99.13.orig/tools/vtk2h5grid/Makefile.am 2017-07-02 16:46:44.919690283 -0600
++++ H5hut-1.99.13/tools/vtk2h5grid/Makefile.am 2017-07-02 16:58:58.978530564 -0600
+@@ -1,10 +1,9 @@
+ AM_CPPFLAGS = -I${abs_top_srcdir}/src/include -Wno-deprecated
+ FFLAGS += -cpp $(AM_CPPFLAGS)
+-LDFLAGS += -L${abs_top_builddir}/src/lib
+
+ LDADD =
+
+-LDADD += -lH5hut -lvtkIO -lvtkFiltering -lvtkCommon -lvtksys -lpthread -ldl
++LDADD += ../src/h5core/libH5hut.la -lvtkIO -lvtkFiltering -lvtkCommon -lvtksys -lpthread -ldl
+
+
+ bin_PROGRAMS =
diff --git a/sci-libs/h5hut/files/h5hut-1.99.13-mpio.patch b/sci-libs/h5hut/files/h5hut-1.99.13-mpio.patch
new file mode 100644
index 000000000000..a94c8e59000f
--- /dev/null
+++ b/sci-libs/h5hut/files/h5hut-1.99.13-mpio.patch
@@ -0,0 +1,12 @@
+diff -Naur H5hut-1.99.13.orig/src/h5core/h5_hdf5_private.h H5hut-1.99.13/src/h5core/h5_hdf5_private.h
+--- H5hut-1.99.13.orig/src/h5core/h5_hdf5_private.h 2017-07-02 16:46:44.899690038 -0600
++++ H5hut-1.99.13/src/h5core/h5_hdf5_private.h 2017-07-02 16:47:16.550080867 -0600
+@@ -934,7 +934,7 @@
+ HDF5_WRAPPER_ENTER (h5_err_t,
+ "fapl_id=%d, comm=..., use_gpfs=%d",
+ fapl_id, (int)use_gpfs);
+- if ( H5Pset_fapl_mpiposix (fapl_id, comm, use_gpfs) < 0)
++ if ( H5Pset_fapl_mpio (fapl_id, comm, use_gpfs) < 0)
+ HDF5_WRAPPER_LEAVE (
+ h5_error (
+ H5_ERR_HDF5,