<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c3089e7ced599fbc22c4ceb6edce8a11dd18b4de">https://github.com/macports/macports-ports/commit/c3089e7ced599fbc22c4ceb6edce8a11dd18b4de</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 c3089e7ced5 nng: update to 1.7.1
</span>c3089e7ced5 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit c3089e7ced599fbc22c4ceb6edce8a11dd18b4de
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Wed Jan 17 00:00:01 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    nng: update to 1.7.1
</span>---
 devel/nng/Portfile                          | 21 +++++++++------------
 devel/nng/files/patch-old-gcc.diff          | 14 --------------
 devel/nng/files/patch-posix_resolv_gai.diff | 13 -------------
 3 files changed, 9 insertions(+), 39 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nng/Portfile b/devel/nng/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6aef2bca720..9dd096792d1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nng/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nng/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,35 +2,30 @@
</span> 
 PortSystem          1.0
 PortGroup           cmake 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           compiler_blacklist_versions 1.0
</span> PortGroup           github 1.0
 PortGroup           legacysupport 1.1
 
 # Not strictly necessary, but seems to improve tests performance marginally.
 legacysupport.newest_darwin_requires_legacy 10
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup        nanomsg nng 1.5.2 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup        nanomsg nng 1.7.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            0
</span> license             MIT
 categories          devel
 maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
 description         Light-weight brokerless messaging
 long_description    {*}${description}
 homepage            https://nng.nanomsg.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  1a45ce54ac8dfcc75c26b42fb39fa867947ec09b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  d1ca7b0252bf9ba763989dcb7b3b6d828e12164daab3be3a9363b84e33280139 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    713203
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  5243e9a9a659773c8484bab9f36a39f9e2e124f7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  68077d31d6bdcfe3fd049fae0d90a6909b11a179c6051a5dc1bcf8db47798b4d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    741829
</span> cmake.generator     Ninja
 
 depends_lib-append  port:mbedtls3
 
 # https://github.com/nanomsg/nng/issues/1647
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles          patch-tests.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    patch-posix_resolv_gai.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Remove unsupported pragmas:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[string match *gcc-4.* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    patchfiles-append patch-old-gcc.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          patch-tests.diff
</span> 
 configure.args-append \
                     -DBUILD_SHARED_LIBS=OFF \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,6 +34,8 @@ configure.args-append \
</span>                     -DNNG_TESTS=ON
 
 compiler.c_standard 1999
<span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    *gcc-4.* {clang < 400}
</span> 
 pre-test {
     # Testing infrastructure uses /bin/ps, which is forbidden by sandboxing.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nng/files/patch-old-gcc.diff b/devel/nng/files/patch-old-gcc.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index e427656c069..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nng/files/patch-old-gcc.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/platform/posix/posix_pipe.c.orig   2021-08-11 08:09:53.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/platform/posix/posix_pipe.c        2023-03-05 15:08:48.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -102,11 +102,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- nni_plat_pipe_raise(int wfd)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-   char c = 1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#pragma GCC diagnostic push
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#pragma GCC diagnostic ignored "-Wunused-result"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-   (void) write(wfd, &c, 1);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#pragma GCC diagnostic pop
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nng/files/patch-posix_resolv_gai.diff b/devel/nng/files/patch-posix_resolv_gai.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 70605fb7f20..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nng/files/patch-posix_resolv_gai.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,13 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/platform/posix/posix_resolv_gai.c.orig     2021-08-11 08:09:53.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/platform/posix/posix_resolv_gai.c  2023-03-05 18:33:35.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -33,6 +33,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define NNG_RESOLV_CONCURRENCY 4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#ifndef AI_NUMERICSERV
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#define AI_NUMERICSERV    0x00001000 /* prevent service name resolution */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static nni_mtx  resolv_mtx;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static nni_cv   resolv_cv;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static bool     resolv_fini;
</span></pre><pre style='margin:0'>

</pre>