<pre style='margin:0'>
Takeshi Enomoto (tenomoto) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8a1abdde9a46af2b26b4f301a72394764e06a4e3">https://github.com/macports/macports-ports/commit/8a1abdde9a46af2b26b4f301a72394764e06a4e3</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 8a1abdd hdf5: apply h5cc patch from hdf5-18, ncarg: depend on hdf5, see #54101
</span>8a1abdd is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8a1abdde9a46af2b26b4f301a72394764e06a4e3
</span>Author: Takeshi Enomoto <takeshi@macports.org>
AuthorDate: Sun Jul 16 10:57:08 2017 +0900
<span style='display:block; white-space:pre;color:#404040;'> hdf5: apply h5cc patch from hdf5-18, ncarg: depend on hdf5, see #54101
</span>---
science/hdf5/Portfile | 3 +++
.../hdf5/files/patch-tools-src-misc-h5cc.in.diff | 25 ++++++++++++++++++++++
science/ncarg/Portfile | 11 +++++-----
3 files changed, 34 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/hdf5/Portfile b/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ae18b75..f225e97 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,6 +7,7 @@ PortGroup mpi 1.0
</span>
name hdf5
version 1.10.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> set shortversion [join [lrange [split ${version} .] 0 1] .]
categories science
maintainers mmoll openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,6 +37,8 @@ use_parallel_build yes
</span> # nawk: bailing out at source line 273
conflicts_build nawk
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-tools-src-misc-h5cc.in.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # llvm-gcc-4.2 produced code fails type conversion tests
# Upstream suggestion is use -O0. Clang-produced code passes all tests.
compiler.blacklist llvm-gcc-4.2
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/hdf5/files/patch-tools-src-misc-h5cc.in.diff b/science/hdf5/files/patch-tools-src-misc-h5cc.in.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ba8951c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/hdf5/files/patch-tools-src-misc-h5cc.in.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tools/src/misc/h5cc.in.orig 2017-04-26 06:45:02.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tools/src/misc/h5cc.in 2017-07-16 09:57:18.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -96,9 +96,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC="${HDF5_CC:-$CCBASE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CLINKER="${HDF5_CLINKER:-$CLINKERBASE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CFLAGS="${HDF5_CFLAGS:-$CFLAGSBASE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CPPFLAGS="${HDF5_CPPFLAGS:-$CPPFLAGSBASE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LDFLAGS="${HDF5_LDFLAGS:-$LDFLAGSBASE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS="${HDF5_LIBS:-$LIBSBASE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If a static library is available, the default will be to use it. If the only
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -266,10 +263,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *\"*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qarg="'"$arg"'"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ compile_args="$compile_args $qarg"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allargs="$allargs $qarg"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *\'*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qarg='\"'"$arg"'\"'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ compile_args="$compile_args $qarg"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allargs="$allargs $qarg"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/ncarg/Portfile b/science/ncarg/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index efe3461..05f7f71 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/ncarg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/ncarg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,7 @@ compilers.setup -clang -dragonegg -gfortran -llvm
</span>
name ncarg
version 6.4.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span> categories science
platforms darwin
maintainers takeshi openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,7 +60,7 @@ depends_lib path:lib/pkgconfig/cairo.pc:cairo \
</span> port:libxml2 \
port:gsl \
port:xorg-libXaw
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:hdf5-18 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:hdf5 \
</span> port:triangle \
port:flex
depends_run bin:ESMF_RegridWeightGen:esmf \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -88,11 +88,12 @@ if {[variant_isset accelerate]} {
</span> patchfiles-append patch-config-Project.diff
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cflags-append -DH5_USE_18_API
</span> pre-configure {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[file exists ${prefix}/lib/hdf5-18/bin/h5pcc]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cc ${prefix}/lib/hdf5-18/bin/h5pcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists ${prefix}/bin/h5pcc]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cc ${prefix}/bin/h5pcc
</span> } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cc ${prefix}/lib/hdf5-18/bin/h5cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cc ${prefix}/bin/h5cc
</span> }
# build modified g2clib
if {$build_arch eq "x86_64" || $build_arch eq "ppc64"} {
</pre><pre style='margin:0'>
</pre>