From 38ceb237ead245ab5f7e1cec5bad1aa650b8d243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 28 Nov 2020 05:48:55 +0700 Subject: [PATCH] SoapyUHD: rebuild against uhd-4.0.0.0 --- srcpkgs/SoapyUHD/patches/uhd-4.0.0.0.patch | 23 ++++++++++++++++++++++ srcpkgs/SoapyUHD/template | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/SoapyUHD/patches/uhd-4.0.0.0.patch diff --git a/srcpkgs/SoapyUHD/patches/uhd-4.0.0.0.patch b/srcpkgs/SoapyUHD/patches/uhd-4.0.0.0.patch new file mode 100644 index 00000000000..a2ffc27f98f --- /dev/null +++ b/srcpkgs/SoapyUHD/patches/uhd-4.0.0.0.patch @@ -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 + #include + #include ++#include + + /*********************************************************************** + * 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> _sampleRates; + + //stash streamers to implement old-style issue stream cmd and async message +- std::map > _rx_streamers; +- std::map > _tx_streamers; ++ std::map > _rx_streamers; ++ std::map > _tx_streamers; + }; + + /*********************************************************************** diff --git a/srcpkgs/SoapyUHD/template b/srcpkgs/SoapyUHD/template index c0dbc0ad905..90f51db7b9c 100644 --- a/srcpkgs/SoapyUHD/template +++ b/srcpkgs/SoapyUHD/template @@ -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"