From 5ef1c7235cc075e5f8278424d2590b472c45128e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 5 Feb 2018 21:44:08 +0100 Subject: [PATCH] Added patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- uhd-3.1.3.0-boost-gcc8-compile-fix.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 uhd-3.1.3.0-boost-gcc8-compile-fix.patch diff --git a/uhd-3.1.3.0-boost-gcc8-compile-fix.patch b/uhd-3.1.3.0-boost-gcc8-compile-fix.patch new file mode 100644 index 0000000..20f24c2 --- /dev/null +++ b/uhd-3.1.3.0-boost-gcc8-compile-fix.patch @@ -0,0 +1,23 @@ +diff --git a/host/lib/usrp/common/max287x.hpp b/host/lib/usrp/common/max287x.hpp +index 839ed77..1fca880 100644 +--- a/host/lib/usrp/common/max287x.hpp ++++ b/host/lib/usrp/common/max287x.hpp +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + #include "max2870_regs.hpp" + #include "max2871_regs.hpp" + +@@ -642,8 +643,8 @@ double max287x::set_frequency( + << boost::format("MAX287x: Intermediates: ref=%0.2f, outdiv=%f, fbdiv=%f" + ) % ref_freq % double(RFdiv*2) % double(N + double(FRAC)/double(MOD)) << std::endl + << boost::format("MAX287x: tune: R=%d, BS=%d, N=%d, FRAC=%d, MOD=%d, T=%d, D=%d, RFdiv=%d, type=%s" +- ) % R % BS % N % FRAC % MOD % T % D % RFdiv % ((is_int_n) ? "Integer-N" : "Fractional") << std::endl +- << boost::format("MAX287x: Frequencies (MHz): REQ=%0.2f, ACT=%0.2f, VCO=%0.2f, PFD=%0.2f, BAND=%0.2f" ++ ) % R % BS % N % FRAC % MOD % T % D % RFdiv % ((is_int_n) ? std::string("Integer-N") : std::string("Fractional")) ++ << std::endl << boost::format("MAX287x: Frequencies (MHz): REQ=%0.2f, ACT=%0.2f, VCO=%0.2f, PFD=%0.2f, BAND=%0.2f" + ) % (target_freq/1e6) % (actual_freq/1e6) % (vco_freq/1e6) % (pfd_freq/1e6) % (pfd_freq/BS/1e6) << std::endl; + + //load the register values