<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/57ef56ac87a7ff2146c42e97530e6ee2d8db1d3b">https://github.com/macports/macports-ports/commit/57ef56ac87a7ff2146c42e97530e6ee2d8db1d3b</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 57ef56a gnuradio-next: update to 20190521-8a7214c7
</span>57ef56a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 57ef56ac87a7ff2146c42e97530e6ee2d8db1d3b
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Mon May 27 14:49:33 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> gnuradio-next: update to 20190521-8a7214c7
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fix ZMQ patch to use the version of CPPZMQ rather than ZMQ, since the issue is with the C++ version, not the C version.
</span>---
science/gnuradio/Portfile | 10 ++++----
.../gnuradio/files/patch-fix_zmq_4.3.1.next.diff | 30 +++++++++-------------
2 files changed, 17 insertions(+), 23 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gnuradio/Portfile b/science/gnuradio/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7759603..93638a3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gnuradio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gnuradio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -77,11 +77,11 @@ subport gnuradio-next {
</span> name gnuradio-next
conflicts gnuradio gnuradio-devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>- github.setup gnuradio gnuradio c7780bb2abaebd4a0a3ce0ada5d446d554b8adcc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- version 20190520-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 a136a2bf5e0888d24b936c3140afd69aa281ae64 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 403d63093a8d0a5a20fa9059bb6903ee15057a54b290bc9817bf00201b40766a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 3385593
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup gnuradio gnuradio 8a7214c75359d9b599cccfbf12c1317e5a6d945d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 20190521-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 19e8418cbc6e28f2056ba82f25cb418f5774b18d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ff5fadd0393fdcd733c38bdb967b08c3074726d14f3af425ea27a03a60324b61 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3385369
</span> revision 0
# set the version override string
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gnuradio/files/patch-fix_zmq_4.3.1.next.diff b/science/gnuradio/files/patch-fix_zmq_4.3.1.next.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index cbc817f..50a6673 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gnuradio/files/patch-fix_zmq_4.3.1.next.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gnuradio/files/patch-fix_zmq_4.3.1.next.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,7 +12,7 @@
</span> }
/* Send */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if USE_NEW_ZMQ_SEND_RECV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if USE_NEW_CPPZMQ_SEND_RECV
</span> + d_socket->send(msg, zmq::send_flags::none);
+#else
d_socket->send(msg);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,7 +24,7 @@
</span> d_consumed_bytes = 0;
/* Get the message */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if USE_NEW_ZMQ_SEND_RECV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if USE_NEW_CPPZMQ_SEND_RECV
</span> + d_socket->recv(d_msg);
+#else
d_socket->recv(&d_msg);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,7 +67,7 @@
</span>
// Receive data
zmq::message_t msg;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if USE_NEW_ZMQ_SEND_RECV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if USE_NEW_CPPZMQ_SEND_RECV
</span> + d_socket->recv(msg);
+#else
d_socket->recv(&msg);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -108,7 +108,7 @@
</span>
// receive data request
zmq::message_t request;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if USE_NEW_ZMQ_SEND_RECV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if USE_NEW_CPPZMQ_SEND_RECV
</span> + d_socket->recv(request);
+#else
d_socket->recv(&request);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -149,7 +149,7 @@
</span>
/* Get and parse the request */
zmq::message_t request;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if USE_NEW_ZMQ_SEND_RECV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if USE_NEW_CPPZMQ_SEND_RECV
</span> + d_socket->recv(request);
+#else
d_socket->recv(&request);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -190,7 +190,7 @@
</span> int nmsg = 1;
zmq::message_t request(sizeof(int));
memcpy((void *) request.data (), &nmsg, sizeof(int));
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if USE_NEW_ZMQ_SEND_RECV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if USE_NEW_CPPZMQ_SEND_RECV
</span> + d_socket->send(request, zmq::send_flags::none);
+#else
d_socket->send(request);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -202,7 +202,7 @@
</span> if (items[0].revents & ZMQ_POLLIN) {
// Receive data
zmq::message_t msg;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if USE_NEW_ZMQ_SEND_RECV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if USE_NEW_CPPZMQ_SEND_RECV
</span> + d_socket->recv(msg);
+#else
d_socket->recv(&msg);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -243,7 +243,7 @@
</span>
// Receive data
zmq::message_t msg;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if USE_NEW_ZMQ_SEND_RECV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if USE_NEW_CPPZMQ_SEND_RECV
</span> + d_socket->recv(msg);
+#else
d_socket->recv(&msg);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -273,7 +273,7 @@
</span> namespace zeromq {
--- /dev/null
+++ gr-zeromq/lib/zmq_common_impl.h
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,40 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -0,0 +1,34 @@
</span> +/* -*- c++ -*- */
+/*
+ * Copyright 2019 Free Software Foundation, Inc.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -301,16 +301,10 @@
</span> +
+#include <zmq.hpp>
+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if defined (ZMQ_VERSION) && defined (ZMQ_MAKE_VERSION) && ZMQ_VERSION >= ZMQ_MAKE_VERSION(4, 3, 1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#define USE_NEW_ZMQ_SEND_RECV 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined (CPPZMQ_VERSION) && defined (ZMQ_MAKE_VERSION) && CPPZMQ_VERSION >= ZMQ_MAKE_VERSION(4, 3, 1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define USE_NEW_CPPZMQ_SEND_RECV 1
</span> +#else
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#define USE_NEW_ZMQ_SEND_RECV 0
</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;'>-+#if USE_NEW_ZMQ_SEND_RECV
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#warning "ZMQ using new >= 4.3.1 send/recv!"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#warning "ZMQ using old < 4.3.1 send/recv!"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define USE_NEW_CPPZMQ_SEND_RECV 0
</span> +#endif
+
+#endif /* INCLUDED_ZEROMQ_ZMQ_COMMON_IMPL_H */
</pre><pre style='margin:0'>
</pre>