<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/9587175176fa8731bb97a690df9a7e69661b2d3c">https://github.com/macports/macports-ports/commit/9587175176fa8731bb97a690df9a7e69661b2d3c</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 9587175176f zmq, zmq-devel: fix for darwin < 16; zmq-devel: update to current master
</span>9587175176f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9587175176fa8731bb97a690df9a7e69661b2d3c
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Wed Oct 18 05:12:55 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> zmq, zmq-devel: fix for darwin < 16; zmq-devel: update to current master
</span>---
devel/zmq/Portfile | 24 ++++++++++++++++++------
devel/zmq/files/patch-clock.hpp.diff | 19 +++++++++++++++++++
2 files changed, 37 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/zmq/Portfile b/devel/zmq/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d9acb262acd..037757acb81 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/zmq/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/zmq/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,6 +51,12 @@ if {${name} eq ${subport}} {
</span> patch-fix-no-librt-APPLE.release.diff \
patch-tests.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/zeromq/libzmq/issues/4595
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-clock.hpp.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # overload the github livecheck regex to look for versions that
# are just numbers and '.', no letters (e.g., "3.7.3_rc2").
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -102,12 +108,12 @@ subport zmq22 {
</span> subport zmq-devel {
PortGroup cmake 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>- github.setup zeromq libzmq 8c725093ac4b44a97e6cb64566989ef12b71986c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- version 20230206-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 c870f927dc0418a401bbe0847bb8ce0aa3576168 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 4dc235243ae91cbe16680d3408fa16ae777c6f277190f44cd271292ae4a231db \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 939179
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup zeromq libzmq b30a19ebde6a1b2490749c754be2818901a00587
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 20231013-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 ec42c268475dc45c4e6a7b68fc9ca3106b8a25fa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 fe39446005b668d731cc51828ba556127497937f23beba698a966e9cb9c04267 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 876691
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span>
conflicts zmq zmq22 zmq3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -130,6 +136,12 @@ subport zmq-devel {
</span> patch-fix-docs-dir.devel.diff \
patch-fix-no-librt-APPLE.devel.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/zeromq/libzmq/issues/4595
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-clock.hpp.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.c_standard 2011
compiler.cxx_standard 2011
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/zmq/files/patch-clock.hpp.diff b/devel/zmq/files/patch-clock.hpp.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..583d45c7d18
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/zmq/files/patch-clock.hpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/68213
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/src/clock.hpp 2023-08-27 04:19:35.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/src/clock.hpp 2023-09-24 23:52:51.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7,14 +7,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "stdint.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined ZMQ_HAVE_OSX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-// TODO this is not required in this file, but condition_variable.hpp includes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-// clock.hpp to get these definitions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef CLOCK_REALTIME
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define CLOCK_REALTIME 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef HAVE_CLOCK_GETTIME
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define HAVE_CLOCK_GETTIME
</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;'>+ #include <mach/clock.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <mach/mach.h>
</span></pre><pre style='margin:0'>
</pre>