diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
commit | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch) | |
tree | c18e1c09e605e94e2a1e93345ad25746cc9e14b9 /net-wireless/gnuradio/files/gnuradio-3.7.13.5-boost-1.70-asio.patch | |
parent | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff) |
gentoo resync : 02.06.2019
Diffstat (limited to 'net-wireless/gnuradio/files/gnuradio-3.7.13.5-boost-1.70-asio.patch')
-rw-r--r-- | net-wireless/gnuradio/files/gnuradio-3.7.13.5-boost-1.70-asio.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-wireless/gnuradio/files/gnuradio-3.7.13.5-boost-1.70-asio.patch b/net-wireless/gnuradio/files/gnuradio-3.7.13.5-boost-1.70-asio.patch new file mode 100644 index 000000000000..d4925e674eab --- /dev/null +++ b/net-wireless/gnuradio/files/gnuradio-3.7.13.5-boost-1.70-asio.patch @@ -0,0 +1,18 @@ +Bug: https://bugs.gentoo.org/683380 +Patch adapted from FreeBSD: +https://svnweb.freebsd.org/ports/head/comms/gnuradio/files/patch-gr-blocks_lib_socket__pdu__impl.cc?view=markup&pathrev=499093 + +--- a/gr-blocks/lib/socket_pdu_impl.cc ++++ b/gr-blocks/lib/socket_pdu_impl.cc +@@ -165,7 +165,11 @@ + void + socket_pdu_impl::start_tcp_accept() + { ++#if (BOOST_VERSION >= 107000) ++ tcp_connection::sptr new_connection = tcp_connection::make(d_io_service, d_rxbuf.size(), d_tcp_no_delay); ++#else + tcp_connection::sptr new_connection = tcp_connection::make(d_acceptor_tcp->get_io_service(), d_rxbuf.size(), d_tcp_no_delay); ++#endif + + d_acceptor_tcp->async_accept(new_connection->socket(), + boost::bind(&socket_pdu_impl::handle_tcp_accept, this, |