void-packages/srcpkgs/SoapyUHD/patches/uhd-4.0.0.0.patch

24 lines
991 B
Diff
Raw Normal View History

--- a/SoapyUHDDevice.cpp 2020-11-28 06:35:26.325250052 +0700
+++ b/SoapyUHDDevice.cpp 2020-11-28 06:35:57.557546069 +0700
2020-11-27 23:48:55 +01:00
@@ -20,6 +20,7 @@
#include <uhd/property_tree.hpp>
#include <cctype>
#include <iostream>
+#include <boost/foreach.hpp>
/***********************************************************************
* Stream wrapper
--- a/UHDSoapyDevice.cpp 2020-11-28 06:37:27.567376170 +0700
+++ b/UHDSoapyDevice.cpp 2020-11-28 06:43:28.476925258 +0700
2020-11-27 23:48:55 +01:00
@@ -179,8 +179,8 @@
std::map<int, std::map<size_t, double>> _sampleRates;
//stash streamers to implement old-style issue stream cmd and async message
- std::map<size_t, boost::weak_ptr<uhd::rx_streamer> > _rx_streamers;
- std::map<size_t, boost::weak_ptr<uhd::tx_streamer> > _tx_streamers;
+ std::map<size_t, std::weak_ptr<uhd::rx_streamer> > _rx_streamers;
+ std::map<size_t, std::weak_ptr<uhd::tx_streamer> > _tx_streamers;
};
/***********************************************************************