SoapyUHD: rebuild against uhd-4.0.0.0

This commit is contained in:
Đoàn Trần Công Danh 2020-11-28 05:48:55 +07:00
parent e6daac75c2
commit 38ceb237ea
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,23 @@
--- SoapyUHDDevice.cpp.orig 2020-11-28 06:35:26.325250052 +0700
+++ SoapyUHDDevice.cpp 2020-11-28 06:35:57.557546069 +0700
@@ -20,6 +20,7 @@
#include <uhd/property_tree.hpp>
#include <cctype>
#include <iostream>
+#include <boost/foreach.hpp>
/***********************************************************************
* Stream wrapper
--- UHDSoapyDevice.cpp.orig 2020-11-28 06:37:27.567376170 +0700
+++ UHDSoapyDevice.cpp 2020-11-28 06:43:28.476925258 +0700
@@ -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;
};
/***********************************************************************

View File

@ -1,7 +1,7 @@
# Template file for 'SoapyUHD'
pkgname=SoapyUHD
version=0.3.6
revision=2
revision=3
wrksrc="${pkgname}-soapy-uhd-${version}"
build_style=cmake
hostmakedepends="pkg-config"