<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a6bf345a0d6aa12bef5c5896f4310ff6a6471b86">https://github.com/macports/macports-ports/commit/a6bf345a0d6aa12bef5c5896f4310ff6a6471b86</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 a6bf345a0d6 python311-devel: try to fix missing static_assert
</span>a6bf345a0d6 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit a6bf345a0d6aa12bef5c5896f4310ff6a6471b86
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue May 10 22:44:50 2022 +1000

<span style='display:block; white-space:pre;color:#404040;'>    python311-devel: try to fix missing static_assert
</span>---
 lang/python311-devel/Portfile                  |  3 ++-
 lang/python311-devel/files/static_assert.patch | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python311-devel/Portfile b/lang/python311-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2d515bbefdf..eb76cdf7fe4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python311-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python311-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,7 +33,8 @@ patchfiles          patch-setup.py.diff \
</span>                     patch-configure.diff \
                     patch-Lib-ctypes-macholib-dyld.py.diff \
                     patch-configure-xcode4bug.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sysconfig.py.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sysconfig.py.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    static_assert.patch
</span> 
 if {${os.platform} eq "darwin" && ${os.major} < 10} {
     # work around no copyfile and/or pthread_threadid_np on older systems
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python311-devel/files/static_assert.patch b/lang/python311-devel/files/static_assert.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c77d7bb4553
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python311-devel/files/static_assert.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Include/pymacro.h.orig 2022-05-07 08:56:26.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Include/pymacro.h      2022-05-10 22:43:15.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,7 +6,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // the static_assert() macro. Define the static_assert() macro in Python until
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // <sys/cdefs.h> suports C11:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255290
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(__FreeBSD__) && !defined(static_assert)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(static_assert)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #  define static_assert _Static_assert
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span></pre><pre style='margin:0'>

</pre>