<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7b03a9b7bf92befb67311403582cec505735fd59">https://github.com/macports/macports-ports/commit/7b03a9b7bf92befb67311403582cec505735fd59</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 7b03a9b7bf9 h4h5tools: fix build on newer systems
</span>7b03a9b7bf9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7b03a9b7bf92befb67311403582cec505735fd59
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Fri Jun 2 23:28:00 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> h4h5tools: fix build on newer systems
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/62917
</span>---
science/h4h5tools/Portfile | 3 ++
science/h4h5tools/files/patch-h4h5tools.diff | 50 ++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/h4h5tools/Portfile b/science/h4h5tools/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index dea4fb02ce7..88ca69e85ad 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/h4h5tools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/h4h5tools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,6 +21,9 @@ checksums rmd160 e70b41006334085cbd00fdcad9448bfb7b5cde3e \
</span> sha256 ba167d9e5ec1f9014a95e3f5d0621f814caa6e83508e235ce60cfd315e3a9d3f \
size 2666039
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/62917
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-h4h5tools.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append \
port:hdf4 \
port:hdf5 \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/h4h5tools/files/patch-h4h5tools.diff b/science/h4h5tools/files/patch-h4h5tools.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c61af6e3e6e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/h4h5tools/files/patch-h4h5tools.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,50 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git lib/src/h4toh5main.h lib/src/h4toh5main.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ab37713..12fb265 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/src/h4toh5main.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/src/h4toh5main.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -43,6 +43,8 @@ Author: Kent Yang(myang6@hdfgroup.org)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* For windows support.*/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef WIN32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typedef unsigned int mode_t;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git lib/src/h4toh5util.h lib/src/h4toh5util.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 999824c..d704a6e 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/src/h4toh5util.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/src/h4toh5util.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -47,6 +47,7 @@ Author: Kent Yang(myang6@hdfgroup.org)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "mfhdf.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "H4TOH5Ipublic.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "H4TOH5Iprivate.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "H5DSpublic.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "h4toh5.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git utils/h4toh5/h4toh5main.h utils/h4toh5/h4toh5main.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index d7963bb..46e4b2a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- utils/h4toh5/h4toh5main.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ utils/h4toh5/h4toh5main.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -46,6 +46,8 @@ Author: Kent Yang(myang6@hdfgroup.org)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "hdf5.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <fcntl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <errno.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</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;'>+ /* For windows support.*/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef WIN32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git utils/h5toh4/h5toh4.c utils/h5toh4/h5toh4.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index cf94dea..a493b73 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- utils/h5toh4/h5toh4.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ utils/h5toh4/h5toh4.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -29,6 +29,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <errno.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <fcntl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdarg.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span></pre><pre style='margin:0'>
</pre>