From 420eeee727d39d869d864caddb04a80dafda7160 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 17 Oct 2017 17:51:45 +0100 Subject: gentoo resync : 17.10.2017 --- net-wireless/uhd/files/uhd-3.8.5-gcc6.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 net-wireless/uhd/files/uhd-3.8.5-gcc6.patch (limited to 'net-wireless/uhd/files') diff --git a/net-wireless/uhd/files/uhd-3.8.5-gcc6.patch b/net-wireless/uhd/files/uhd-3.8.5-gcc6.patch new file mode 100644 index 000000000000..c2e5e00f70d6 --- /dev/null +++ b/net-wireless/uhd/files/uhd-3.8.5-gcc6.patch @@ -0,0 +1,25 @@ +Bug: https://bugs.gentoo.org/611680 +Backported from: https://github.com/EttusResearch/uhd/commit/b6ad4c0531ef56f4e197cccd06f1d11fc89e4aab + +--- a/host/lib/usrp/dboard/db_cbx.cpp ++++ b/host/lib/usrp/dboard/db_cbx.cpp +@@ -38,7 +38,7 @@ sbx_xcvr::cbx::~cbx(void){ + /* NOP */ + } + +-void sbx_xcvr::cbx::write_lo_regs(dboard_iface::unit_t unit, std::vector ®s) ++void sbx_xcvr::cbx::write_lo_regs(dboard_iface::unit_t unit, const std::vector ®s) + { + BOOST_FOREACH(boost::uint32_t reg, regs) + { +--- a/host/lib/usrp/dboard/db_sbx_common.hpp ++++ b/host/lib/usrp/dboard/db_sbx_common.hpp +@@ -225,7 +225,7 @@ class sbx_xcvr : public xcvr_dboard_base{ + /*! This is the registered instance of the wrapper class, sbx_base. */ + sbx_xcvr *self_base; + private: +- void write_lo_regs(dboard_iface::unit_t unit, std::vector ®s); ++ void write_lo_regs(dboard_iface::unit_t unit, const std::vector ®s); + max287x_iface::sptr _txlo; + max287x_iface::sptr _rxlo; + }; -- cgit v1.2.3