diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /net-wireless/uhd | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'net-wireless/uhd')
-rw-r--r-- | net-wireless/uhd/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/uhd/files/uhd-4.0.0.0-boost-1.76.patch | 59 | ||||
-rw-r--r-- | net-wireless/uhd/uhd-4.0.0.0.ebuild | 7 |
3 files changed, 65 insertions, 4 deletions
diff --git a/net-wireless/uhd/Manifest b/net-wireless/uhd/Manifest index c08855b4390c..8d764950a360 100644 --- a/net-wireless/uhd/Manifest +++ b/net-wireless/uhd/Manifest @@ -1,9 +1,10 @@ AUX uhd-3.13.1.0-tinfo.patch 2099 BLAKE2B d48ed54fbff7350aaf33a2551ae891384365a66406becf5b315ac14075675da5e3098c7ca8e64f056035e617d84c0ac6695d065c56665c8cc03c8db07bbef31b SHA512 170c77f04d759fd4a2148c04b85adb48c10d5b1ed6363aaf6c3a78ad79c8055ee65434eec7b26db4cb540a5405d2a6d902a2ef4cf60152032128f05ef1e0adf5 +AUX uhd-4.0.0.0-boost-1.76.patch 2412 BLAKE2B dec44ca0a3e743627c9d68f822623b16325c0829df96e513b9096f3ff03d949fe61a6d5975c302703c178dd0e5090807f4d4c1fa299ce45f5507fa19d23fee4d SHA512 29f554ee4ad1340e0652a6e697340b27f6aa5b1a750c2d67c6068db5d995f325662f13090ec92f7c3e3120f4b4f70690e439fe1884076e083dac5f2cbb1c1681 AUX uhd-4.0.0.0-tinfo.patch 2163 BLAKE2B b1575290096e85c107772963deaed3f85b8612ad1e1b7b8a800e01d036822e18866cb35249321ad27cfe1c90291894463f0186692f8c20ca8f6ae2242301cc0f SHA512 289c720f465a78f20626c5b17605fe06f33634f225cd3d84834a6fb46448d5e11812fe5997a07141f87f014abb26e3d08afdba0c36335f7640c5db290269439c DIST EttusResearch-UHD-3.15.0.0.tar.gz 12895934 BLAKE2B 75bf474120a09ffe1268684659c8bbc8e781060db96b82e42a4d3463265e2a3df5e60da77d835587e6650795ae50bcab8bdecccf0f2bdd32fe77bbd6ce1ec5c8 SHA512 ef62639d956adb5b4815b8e57bf4d6e62519bcaf509ce87af4f6091b79b4bb78c2bc079ec6f678777c24a146d5d5e1c8f225ad7ac5dba46bec6f8e1cc20309b0 DIST EttusResearch-UHD-4.0.0.0.tar.gz 33942895 BLAKE2B 632e701420c3a1165f2e1f0e2766b457595326141cb42c5701b247857e699dbfd6f8dbbcc668184d87bf0764516213044f79a5acde5db3d3c1c387335474f5fc SHA512 1f897397467111e634428e807c2c6748e9fc33e5b09083372139cd6e4445fbd71c48f43e18d0c3faef483d448879e40bc9a5a63df4e908b1bec65454ed67a6dd DIST uhd-images_3.15.0.0.tar.xz 110161052 BLAKE2B 681b5ab0d79bbd2e5661bbfe5c975fdda83e7749f1c3b8a5ac2ba4088009a69c58f9b6a4e4c697c5ac90bdb809bc859937b3b63c9daf0984636bafaeee10e977 SHA512 ec7aa9740e0eda90bbee3751f5c65d5998e67d2bf74d36aa912041be8818e3ad03e5dfbf26ad340261f72fc98048ab5a90c56f6dff8efdd38cf0501585554033 DIST uhd-images_4.0.0.0.tar.xz 111748176 BLAKE2B 2924cf1b3f150c0afd3c31a03c44f509047fb7122e55faec07860ffa56b95e1ad84d4768a0608ee32403a8b31ae5efd16abdc3469779674faedaf13778335a4d SHA512 32bc47ad48b2c9228df452c90d9cd4625fafd0c5d202f5fdfc49d2d9b14154ef7101035f403de56c369956df4f5901f6c653a3ae92c64797dd5e005f954a2a1f EBUILD uhd-3.15.0.0-r100.ebuild 3802 BLAKE2B 913430d31161f9aaaa280a4510790f0a7d7e63dd07d6debd36e1e5a1d22d28a65ce17b74480fccc3bc5b0d67984077ff4dcb77bb4a48850d4d3675c8950b680c SHA512 17106d5787eda6052445d0dd5646b6697c7a79443d6aad01cc12ba2789e9b04cb7340d0465c5ea3f40349dda965281077dec02eacef33015fbfe4ea091b18cf2 -EBUILD uhd-4.0.0.0.ebuild 3745 BLAKE2B 77717fc97e06df5f7151e31527b999cae4b5a8a6a78d45657ddded2749167f550d6e57dacde2cd9b35b3b5d0db34e42494d2af7b0b2c674033d310047a040f2e SHA512 c41b71bd82ab0c9d603334db6be2f3023f3b3953848d8af55f1ff2a8d383ce8bcebcdafe1fe0f50f1c687f38bea149f533bd9d6049e3d398ed71452b1711788d +EBUILD uhd-4.0.0.0.ebuild 3738 BLAKE2B 15d8634d0bfca5d15a8f89f7c5304a3b7d035fc4cef4e3c9feed8c1c10f54a96fbbdb7a0e69cf266db76906373a086d81c55121580d7336b93682c3e98a35d5b SHA512 dfb24cfafaa754c08f5a9aa0c6a8b839e1b0be6df70a7660990702b1105efc3952aef2979c6876c10dd61a8f12841a7d2d5f3d77900c17e4e5bb347a6972973e MISC metadata.xml 1159 BLAKE2B 59bc09885a8911e12ceda3558007e33f57bbd5e672540d56d41c1f637bd30166eb0260789fc4d2769a40f9e820fae18641d19ee2c8b204e34c4bc99cc7f6d20a SHA512 2ae758d9366e815bb099c0bf71a526787a810f3911294e0ec6cde4b4c3d924a67028d2c1bb0ef3922dae4c03d4cc5ccb2f1dd44da31ad58f87bd4403f1e2a777 diff --git a/net-wireless/uhd/files/uhd-4.0.0.0-boost-1.76.patch b/net-wireless/uhd/files/uhd-4.0.0.0-boost-1.76.patch new file mode 100644 index 000000000000..123a01bca56e --- /dev/null +++ b/net-wireless/uhd/files/uhd-4.0.0.0-boost-1.76.patch @@ -0,0 +1,59 @@ +From b05285b3853493436f71eb4192365b818005b0af Mon Sep 17 00:00:00 2001 +From: loqs <loqs@users.noreply.github.com> +Date: Tue, 25 May 2021 22:43:07 +0100 +Subject: [PATCH] Fix Boost 1.76.0 incompatibility + +Fixes EttusResearch/uhd/issues/437 +--- + host/lib/usrp/cores/rx_dsp_core_3000.cpp | 1 + + host/lib/usrp/cores/rx_frontend_core_3000.cpp | 1 + + host/lib/usrp/usrp2/usrp2_impl.cpp | 5 ++--- + 3 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/lib/usrp/cores/rx_dsp_core_3000.cpp b/host/lib/usrp/cores/rx_dsp_core_3000.cpp +index ff431fd41..53f3fee69 100644 +--- a/lib/usrp/cores/rx_dsp_core_3000.cpp ++++ b/lib/usrp/cores/rx_dsp_core_3000.cpp +@@ -14,6 +14,7 @@ + #include <uhdlib/usrp/cores/rx_dsp_core_3000.hpp> + #include <boost/assign/list_of.hpp> + #include <boost/math/special_functions/round.hpp> ++#include <boost/math/special_functions/sign.hpp> + #include <algorithm> + #include <cmath> + #include <functional> +diff --git a/lib/usrp/cores/rx_frontend_core_3000.cpp b/host/lib/usrp/cores/rx_frontend_core_3000.cpp +index abbe64b13..d51fea2ca 100644 +--- a/lib/usrp/cores/rx_frontend_core_3000.cpp ++++ b/lib/usrp/cores/rx_frontend_core_3000.cpp +@@ -12,6 +12,7 @@ + #include <uhdlib/usrp/cores/rx_frontend_core_3000.hpp> + #include <boost/assign/list_of.hpp> + #include <boost/math/special_functions/round.hpp> ++#include <boost/math/special_functions/sign.hpp> + #include <functional> + + using namespace uhd; +diff --git a/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp +index c2514ae02..28aa11083 100644 +--- a/lib/usrp/usrp2/usrp2_impl.cpp ++++ b/lib/usrp/usrp2/usrp2_impl.cpp +@@ -17,6 +17,8 @@ + #include <uhdlib/usrp/common/apply_corrections.hpp> + #include <boost/asio.hpp> //used for htonl and ntohl + #include <boost/asio/ip/address_v4.hpp> ++#include <boost/math/special_functions/round.hpp> ++#include <boost/math/special_functions/sign.hpp> + #include <boost/format.hpp> + #include <boost/thread.hpp> + #include <functional> +@@ -948,9 +950,6 @@ meta_range_t usrp2_impl::get_tx_dsp_freq_range(const std::string& mb) + return meta_range_t(-dac_rate / 2, +dac_rate / 2, dsp_range_step); + } + +-#include <boost/math/special_functions/round.hpp> +-#include <boost/math/special_functions/sign.hpp> +- + void usrp2_impl::update_clock_source(const std::string& mb, const std::string& source) + { + // NOTICE: U2_REG_MISC_CTRL_CLOCK is on the wb clock, and cannot be set from fifo_ctrl diff --git a/net-wireless/uhd/uhd-4.0.0.0.ebuild b/net-wireless/uhd/uhd-4.0.0.0.ebuild index 25a3b44949ee..2515af186bab 100644 --- a/net-wireless/uhd/uhd-4.0.0.0.ebuild +++ b/net-wireless/uhd/uhd-4.0.0.0.ebuild @@ -48,7 +48,10 @@ DEPEND="${RDEPEND} app-arch/gzip " -PATCHES=( "${FILESDIR}/${PN}-4.0.0.0-tinfo.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-4.0.0.0-tinfo.patch" + "${FILESDIR}/${PN}-4.0.0.0-boost-1.76.patch" +) S="${WORKDIR}/${P}/host" @@ -70,7 +73,6 @@ src_configure() { mycmakeargs=( -DENABLE_LIBUHD=ON -DENABLE_C_API=ON - -DENABLE_LIBERIO=OFF -DENABLE_MAN_PAGES=ON -DENABLE_MAN_PAGE_COMPRESSION=OFF -DENABLE_EXAMPLES="$(usex examples)" @@ -85,7 +87,6 @@ src_configure() { -DENABLE_USRP1="$(usex usrp1)" -DENABLE_USRP2="$(usex usrp2)" -DENABLE_X300="$(usex x300)" - -DENABLE_N230="$(usex n230)" -DENABLE_MPMD="$(usex mpmd)" -DENABLE_OCTOCLOCK="$(usex octoclock)" -DPYTHON_EXECUTABLE="${PYTHON}" |