<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6fd2a6563ef12e5bdba93ce09e174a30eca85544">https://github.com/macports/macports-ports/commit/6fd2a6563ef12e5bdba93ce09e174a30eca85544</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 6fd2a6563ef libgit2: temporarily disable NTLM client support for 10.9 and earlier
</span>6fd2a6563ef is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 6fd2a6563ef12e5bdba93ce09e174a30eca85544
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Aug 24 17:13:04 2020 -0700

<span style='display:block; white-space:pre;color:#404040;'>    libgit2: temporarily disable NTLM client support for 10.9 and earlier
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Macro htonll() is not defined on these platforms.
</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/61057
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Thanks to @ryandesign for pushing this upstream.
</span><span style='display:block; white-space:pre;color:#404040;'>    See https://github.com/libgit2/libgit2/issues/5613
</span><span style='display:block; white-space:pre;color:#404040;'>    and https://github.com/libgit2/libgit2/pull/5614.
</span>---
 devel/libgit2/Portfile | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgit2/Portfile b/devel/libgit2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7c7d6c532e0..a7cd53d67e5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgit2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgit2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,6 +41,23 @@ configure.args-append \
</span>                     -DTHREADSAFE:BOOL=OFF \
                     -DUSE_ICONV:BOOL=ON
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# macro htonll() not defined on 10.9 and earlier
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ntlm.c:1129:16: warning: implicit declaration of function 'htonll' is invalid in C99 [-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#        local_nonce = htonll(ntlm->nonce);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Undefined symbols for architecture x86_64:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#   "_htonll", referenced from:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#       _ntlm_client_response in ntlm.c.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# disable NTLM client support on these patforms until this is fixed upstream
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/61057
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/libgit2/libgit2/issues/5613
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/libgit2/libgit2/pull/5614
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    -DUSE_NTLMCLIENT:BOOL=OFF
</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;'>+
</span> variant threadsafe description {Build with threadsafe option} {
     configure.args-replace \
                     -DTHREADSAFE:BOOL=OFF -DTHREADSAFE:BOOL=ON
</pre><pre style='margin:0'>

</pre>