<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/cf8f8359a64418bac5ca9874b3440bd5739596d2">https://github.com/macports/macports-ports/commit/cf8f8359a64418bac5ca9874b3440bd5739596d2</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 cf8f8359a64 go-devel: Fix patch failure
</span>cf8f8359a64 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit cf8f8359a64418bac5ca9874b3440bd5739596d2
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Feb 27 23:52:03 2023 -0600

<span style='display:block; white-space:pre;color:#404040;'>    go-devel: Fix patch failure
</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/66139
</span>---
 lang/go/Portfile                                              | 4 ++++
 lang/go/files/patch-cgo-drop-no-nullability-completeness.diff | 8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/go/Portfile b/lang/go/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e8fb5271fb9..90095a22409 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/go/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/go/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -168,9 +168,13 @@ if {${os.platform} eq "darwin" && ${os.major} <= ${legacysupport.newest_darwin_r
</span>     # since go doesn't use the standard CFLAGS/CXXFLAGS.
     # We need to patch the build system and set up env variables manually.
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[vercmp ${version} < 1.19]} {
</span>     # Older compilers don't support the -Wno-nullability-completeness flag and if
     # that's the case, they won't need it anyway, so just patch it out.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Upstream no longer uses the flag as of 1.19beta1.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://github.com/golang/go/commit/bf19163a545c3117ab3c309a691f32a42cf29efd
</span>     patchfiles-append   patch-cgo-drop-no-nullability-completeness.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span> 
     # Fix building with the -x flag ("show all commands as they are executed"),
     # useful for debugging of the bootstrapping process.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/go/files/patch-cgo-drop-no-nullability-completeness.diff b/lang/go/files/patch-cgo-drop-no-nullability-completeness.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index a0be42abe18..35e70bcb77a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/go/files/patch-cgo-drop-no-nullability-completeness.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/go/files/patch-cgo-drop-no-nullability-completeness.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,8 +1,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/runtime/cgo/cgo.go.old     2021-01-25 20:15:26.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/runtime/cgo/cgo.go 2021-01-25 20:16:19.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -22,9 +22,6 @@ package cgo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #cgo aix LDFLAGS: -Wl,-berok
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/runtime/cgo/cgo.go.orig    2022-07-29 11:11:09.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/runtime/cgo/cgo.go 2023-02-27 23:43:56.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -23,9 +23,6 @@
</span>  #cgo solaris LDFLAGS: -lxnet
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ #cgo illumos LDFLAGS: -lsocket
</span>  
 -// Issue 35247.
 -#cgo darwin CFLAGS: -Wno-nullability-completeness
</pre><pre style='margin:0'>

</pre>