diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-17 17:51:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-17 17:51:45 +0100 |
commit | 420eeee727d39d869d864caddb04a80dafda7160 (patch) | |
tree | 87f15d7467082dd92fce78a6cc2f56fa8d0774af /net-wireless/uhd/files | |
parent | 0fdd4074ff3dc0c507a9867380a4f91250a0b610 (diff) |
gentoo resync : 17.10.2017
Diffstat (limited to 'net-wireless/uhd/files')
-rw-r--r-- | net-wireless/uhd/files/uhd-3.8.5-gcc6.patch | 25 |
1 files changed, 25 insertions, 0 deletions
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<boost::uint32_t> ®s) ++void sbx_xcvr::cbx::write_lo_regs(dboard_iface::unit_t unit, const std::vector<boost::uint32_t> ®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<boost::uint32_t> ®s); ++ void write_lo_regs(dboard_iface::unit_t unit, const std::vector<boost::uint32_t> ®s); + max287x_iface::sptr _txlo; + max287x_iface::sptr _rxlo; + }; |