<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d3c5c7d5da59d40636304f083a623e35e441fce6">https://github.com/macports/macports-ports/commit/d3c5c7d5da59d40636304f083a623e35e441fce6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d3c5c7d5da59d40636304f083a623e35e441fce6
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Wed Jul 31 19:57:31 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    libdap: fix 32-bit build
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/70469
</span>---
 science/libdap/Portfile                    |  6 ++++++
 science/libdap/files/patch-fix-32-bit.diff | 23 +++++++++++++++++++++++
 2 files changed, 29 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/libdap/Portfile b/science/libdap/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 613d00cee3c..ce7be661646 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/libdap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/libdap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,6 +25,12 @@ depends_lib     port:curl \
</span>                 port:libiconv \
                 port:libxml2
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/70469
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${configure.build_arch} in [list i386 ppc]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                patch-fix-32-bit.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type  regex
 livecheck.url   ${homepage}download/${name}
 livecheck.regex ${name}-(\[0-9\]+.\[0-9\]+.\[0-9\]+)${extract.suffix}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/libdap/files/patch-fix-32-bit.diff b/science/libdap/files/patch-fix-32-bit.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..974b69ab00b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/libdap/files/patch-fix-32-bit.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/TestInt64.cc     2015-09-09 06:42:20.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/TestInt64.cc     2024-07-31 19:48:25.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -105,7 +105,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             d_buf = 64;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-        d_buf = 0x00ffffffffffffff;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++        d_buf = 0x00ffffffffffffffll;
</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;'>+     set_read_p(true);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/TestUInt64.cc    2015-09-09 06:42:20.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/TestUInt64.cc    2024-07-31 19:48:10.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -99,7 +99,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         d_buf = 64 * d_buf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-        d_buf = 0xffffffffffffffff;               // really big
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++        d_buf = 0xffffffffffffffffull;            // really big
</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;'>+     set_read_p(true);
</span></pre><pre style='margin:0'>

</pre>