<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/c6bdeb2c3bd802e1ae22b248388cd867eddec2f3">https://github.com/macports/macports-ports/commit/c6bdeb2c3bd802e1ae22b248388cd867eddec2f3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c6bdeb2c3bd802e1ae22b248388cd867eddec2f3
</span>Author: Takeshi Enomoto <takeshi@macports.org>
AuthorDate: Sun Jul 23 16:51:30 2023 +0900
<span style='display:block; white-space:pre;color:#404040;'> hdfeos5: update to 2.0
</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/65818
</span>---
science/hdfeos5/Portfile | 27 +++++++------------
science/hdfeos5/files/implicit.patch | 36 -------------------------
science/hdfeos5/files/patch-configure.diff | 42 ++++++++++++++++++++++++++++++
3 files changed, 52 insertions(+), 53 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/hdfeos5/Portfile b/science/hdfeos5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bfeb762c1cc..939d1033747 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/hdfeos5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/hdfeos5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,8 +5,8 @@ PortGroup active_variants 1.1
</span> PortGroup mpi 1.0
name hdfeos5
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.16
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories science
license public-domain
maintainers {takeshi @tenomoto}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,15 +15,14 @@ long_description \
</span> library designed built on HDF5 to support the same Grid/Point/Swath \
functionality in HDF-EOS 2 and to the extent possible it will be \
built with the same calling sequences as the original HDF-EOS 2 library.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://hdfeos.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ftp://edhs1.gsfc.nasa.gov/edhs/${name}/latest_release/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://edhs1.gsfc.nasa.gov/edhs/${name}/previous_releases/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://hdfeos.org/software/library.php
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir hdf-eos5-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${worksrcdir}-src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://git.earthdata.nasa.gov/projects/DAS/repos/hdfeos5/raw/${distfiles}?at=refs%2Fheads%2FHDFEOS5_${version}&dummy=
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname HDF-EOS5.${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 68f57e4f7f9d05c820506b242f48d0219a49f27a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 7054de24b90b6d9533329ef8dc89912c5227c83fb447792103279364e13dd452 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 8280847
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 fa9d2561736499349b39f153b8aedf7091f69e17 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d7c34770f0fe09fe5d255d73fd61aadd38278f423b925d1a5800e86aff17c82f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1198593
</span>
compilers.choose cc cxx
mpi.setup -clang
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,15 +30,9 @@ compilers.enforce_c hdf5
</span>
depends_build port:libtool
depends_lib port:hdf5
<span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir ${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.suffix .tar.Z
</span> fetch.use_epsv no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-gctp-src-gctp.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- implicit.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-src-GDapi.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-src-SWapi.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-src-ZAapi.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-configure.diff
</span>
if {[mpi_variant_isset]} {
set h5cc h5pcc
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/hdfeos5/files/implicit.patch b/science/hdfeos5/files/implicit.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 3a3a2e2d96e..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/hdfeos5/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,36 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2010-08-30 10:47:03.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2022-09-10 14:30:57.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -22134,6 +22134,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <stddef.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <szlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int main(void)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -22197,6 +22198,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <stddef.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <szlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int main(void)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -22681,6 +22683,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cat >>conftest.$ac_ext <<_ACEOF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <H5Ipublic.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <H5Zpublic.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -22770,6 +22773,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cat >>conftest.$ac_ext <<_ACEOF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <H5Ipublic.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <H5Zpublic.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/hdfeos5/files/patch-configure.diff b/science/hdfeos5/files/patch-configure.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..431e55ca587
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/hdfeos5/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,42 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2021-04-22 08:06:56
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2023-07-23 15:24:52
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12601,6 +12601,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress2" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $as_echo "$ac_cv_lib_z_compress2" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "x$ac_cv_lib_z_compress2" = xyes; then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ HAVE_LIBZ="yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat >>confdefs.h <<_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define HAVE_LIBZ 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -19869,6 +19870,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stddef.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <szlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int main(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -19908,6 +19910,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stddef.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <szlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int main(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20821,6 +20824,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <H5Ipublic.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <H5Zpublic.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20891,6 +20895,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <H5Ipublic.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <H5Zpublic.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>