--- /dev/null
+--- gnuradio-3.7.13.4/gr-blocks/lib/socket_pdu_impl.cc.orig 2018-07-15 18:09:20.000000000 +0200
++++ gnuradio-3.7.13.4/gr-blocks/lib/socket_pdu_impl.cc 2019-04-22 20:56:25.097648774 +0200
+@@ -165,7 +165,12 @@
+ void
+ socket_pdu_impl::start_tcp_accept()
+ {
+- tcp_connection::sptr new_connection = tcp_connection::make(d_acceptor_tcp->get_io_service(), d_rxbuf.size(), d_tcp_no_delay);
++#if BOOST_VERSION >= 107000
++#define GET_IO_SERVICE(s) ((boost::asio::io_context&)(s)->get_executor().context())
++#else
++#define GET_IO_SERVICE(s) ((s)->get_io_service())
++#endif
++ tcp_connection::sptr new_connection = tcp_connection::make(GET_IO_SERVICE(d_acceptor_tcp), d_rxbuf.size(), d_tcp_no_delay);
+
+ d_acceptor_tcp->async_accept(new_connection->socket(),
+ boost::bind(&socket_pdu_impl::handle_tcp_accept, this,
Summary: Software defined radio framework
Name: gnuradio
Version: 3.7.13.4
-Release: 2
+Release: 3
License: GPL v3
Group: Applications/Engineering
Source0: http://gnuradio.org/releases/gnuradio/%{name}-%{version}.tar.gz
Patch1: gsl.patch
Patch2: libexec.patch
Patch3: qwt-includes.patch
+Patch4: boost-1.70.patch
URL: http://www.gnuradio.org/
BuildRequires: Qt3Support >= 4.8
BuildRequires: QtCLucene-devel >= 4.8
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%{__mkdir_p} build