<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/59edcacfa22a7d98986453eafae8fd0078f4fbeb">https://github.com/macports/macports-ports/commit/59edcacfa22a7d98986453eafae8fd0078f4fbeb</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 59edcacfa22a7d98986453eafae8fd0078f4fbeb
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Sat Jul 22 02:52:57 2023 +0800

<span style='display:block; white-space:pre;color:#404040;'>    the_Foundation: define environ correctly
</span>---
 devel/the_Foundation/Portfile                 |  4 +++-
 devel/the_Foundation/files/patch-environ.diff | 17 +++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/the_Foundation/Portfile b/devel/the_Foundation/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ebb3a99dddf..ea95d4b8a65 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/the_Foundation/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/the_Foundation/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,7 @@ legacysupport.newest_darwin_requires_legacy 15
</span> 
 gitea.domain        git.skyjake.fi
 gitea.setup         skyjake the_Foundation 1.6.1 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> categories          devel
 license             BSD
 maintainers         {@sikmir disroot.org:sikmir} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,4 +32,6 @@ depends_lib-append  port:curl \
</span> 
 worksrcdir          the_foundation
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-environ.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.c_standard 2011
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/the_Foundation/files/patch-environ.diff b/devel/the_Foundation/files/patch-environ.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..978137669c9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/the_Foundation/files/patch-environ.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/platform/posix/process.c.orig      2023-03-09 14:03:49.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/platform/posix/process.c   2023-07-22 02:41:02.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -59,7 +59,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ iDefineObjectConstruction(Process)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ iDefineClass(Process)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-extern char **environ; /* The environment variables. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* The environment variables. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <crt_externs.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define environ (*_NSGetEnviron())
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ extern char **environ;
</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;'>+ void init_Process(iProcess *d) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     d->pid     = 0;
</span></pre><pre style='margin:0'>

</pre>