<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1585223693e1ab060811f8032030d41d808092a6">https://github.com/macports/macports-ports/commit/1585223693e1ab060811f8032030d41d808092a6</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 1585223693e git-devel: add patch for open() in osxkeychain for darwin11
</span>1585223693e is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 1585223693e1ab060811f8032030d41d808092a6
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Mon Jul 29 19:35:01 2024 -0400

<span style='display:block; white-space:pre;color:#404040;'>    git-devel: add patch for open() in osxkeychain for darwin11
</span>---
 devel/git/Portfile                          |  5 +++++
 devel/git/files/patch-osxkeychain-10.7.diff | 12 ++++++++++++
 2 files changed, 17 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/git/Portfile b/devel/git/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e03d75330a5..8e1e8bee7c9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/git/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/git/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -420,6 +420,11 @@ variant python description {Build with Python support} {
</span>     build.args-append   PYTHON_PATH="${prefix}/bin/python3.12"
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 11 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Add additional headers for open() on 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    patchfiles-append    patch-osxkeychain-10.7.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platform darwin 8 {
     # https://trac.macports.org/ticket/66480
     depends_build-append port:gmake-apple
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/git/files/patch-osxkeychain-10.7.diff b/devel/git/files/patch-osxkeychain-10.7.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e331a5b56a4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/git/files/patch-osxkeychain-10.7.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- contrib/credential/osxkeychain/git-credential-osxkeychain.c    2024-07-29 19:29:45
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ contrib/credential/osxkeychain/git-credential-osxkeychain.c    2024-07-29 19:29:51
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,6 +1,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.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 <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <sys/stat.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 <Security/Security.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define ENCODING kCFStringEncodingUTF8
</span></pre><pre style='margin:0'>

</pre>