diff --git a/srcpkgs/uhd/patches/boost-math.patch b/srcpkgs/uhd/patches/boost-math.patch new file mode 100644 index 00000000000..9ac6dae1df9 --- /dev/null +++ b/srcpkgs/uhd/patches/boost-math.patch @@ -0,0 +1,31 @@ +--- a/host/lib/usrp/usrp2/usrp2_impl.cpp ++++ b/host/lib/usrp/usrp2/usrp2_impl.cpp +@@ -18,6 +18,8 @@ + #include //used for htonl and ntohl + #include + #include ++#include ++#include + #include + #include + +--- a/host/lib/usrp/cores/rx_frontend_core_3000.cpp ++++ b/host/lib/usrp/cores/rx_frontend_core_3000.cpp +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + #include + + using namespace uhd; +--- a/host/lib/usrp/cores/rx_dsp_core_3000.cpp ++++ b/host/lib/usrp/cores/rx_dsp_core_3000.cpp +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/srcpkgs/uhd/patches/std-complex.patch b/srcpkgs/uhd/patches/std-complex.patch new file mode 100644 index 00000000000..c7573bf4ade --- /dev/null +++ b/srcpkgs/uhd/patches/std-complex.patch @@ -0,0 +1,10 @@ +--- a/host/tests/tx_streamer_test.cpp ++++ b/host/tests/tx_streamer_test.cpp +@@ -7,6 +7,7 @@ + #include "../common/mock_link.hpp" + #include + #include ++#include + #include + #include + diff --git a/srcpkgs/uhd/template b/srcpkgs/uhd/template index 5f043162d7d..170e12670c2 100644 --- a/srcpkgs/uhd/template +++ b/srcpkgs/uhd/template @@ -1,7 +1,7 @@ # Template file for 'uhd' pkgname=uhd version=4.0.0.0 -revision=1 +revision=2 build_wrksrc=host build_style=cmake configure_args="-DCMAKE_BUILD_TYPE=None"