pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/ham/uhd



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sat Apr 24 16:34:54 UTC 2021

Modified Files:
        pkgsrc/ham/uhd: distinfo
        pkgsrc/ham/uhd/patches: patch-lib_usrp_cores_rx__dsp__core__3000.cpp
Added Files:
        pkgsrc/ham/uhd/patches:
            patch-lib_usrp_cores_rx__frontend__core__3000.cpp
            patch-lib_usrp_usrp2_usrp2__impl.cpp

Log Message:
uhd: fix boost fallout


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/ham/uhd/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/ham/uhd/patches/patch-lib_usrp_cores_rx__dsp__core__3000.cpp
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/ham/uhd/patches/patch-lib_usrp_cores_rx__frontend__core__3000.cpp \
    pkgsrc/ham/uhd/patches/patch-lib_usrp_usrp2_usrp2__impl.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/ham/uhd/distinfo
diff -u pkgsrc/ham/uhd/distinfo:1.25 pkgsrc/ham/uhd/distinfo:1.26
--- pkgsrc/ham/uhd/distinfo:1.25        Thu May 14 19:21:04 2020
+++ pkgsrc/ham/uhd/distinfo     Sat Apr 24 16:34:54 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.25 2020/05/14 19:21:04 joerg Exp $
+$NetBSD: distinfo,v 1.26 2021/04/24 16:34:54 tnn Exp $
 
 SHA1 (uhd-3.15.0.0.tar.gz) = 17286a52a591038af16e870962c1767c5935ec2f
 RMD160 (uhd-3.15.0.0.tar.gz) = b05282c4b3f25bd201e9b91b3652fba9b150c7ae
@@ -9,7 +9,8 @@ SHA1 (patch-lib_rfnoc_dma__fifo__block__
 SHA1 (patch-lib_transport_nirio_lvbitx_process-lvbitx.py) = 350af0f9ed999f64105a42195d2df037faef87c7
 SHA1 (patch-lib_usrp__clock_octoclock_octoclock__impl.cpp) = b77c91c7a202e3c93707dba67bedc9704f77ab56
 SHA1 (patch-lib_usrp_b100_b100__impl.cpp) = 9a53e41b45fdebaf0b56e3030f1c8f9790185046
-SHA1 (patch-lib_usrp_cores_rx__dsp__core__3000.cpp) = d63fd1ab1d48da7e9eb8a7deb33a3803fb6c219d
+SHA1 (patch-lib_usrp_cores_rx__dsp__core__3000.cpp) = 7cb2910d13368e5dbb19bfa4a1d01a325383bd79
+SHA1 (patch-lib_usrp_cores_rx__frontend__core__3000.cpp) = db294105298e598c94525d639f1c2de7e7b22663
 SHA1 (patch-lib_usrp_cores_tx__dsp__core__3000.cpp) = 3812d190f830128046ab39b21ba63b6775f8c764
 SHA1 (patch-lib_usrp_dboard_db__cbx.cpp) = 3b8864f060acaeb262c91433f0dc0fd229f8c458
 SHA1 (patch-lib_usrp_dboard_db__dbsrx.cpp) = 55de5be387fbe59015c4e1c0861313740b9b3088
@@ -29,4 +30,5 @@ SHA1 (patch-lib_usrp_dboard_db__wbx__ver
 SHA1 (patch-lib_usrp_dboard_db__xcvr2450.cpp) = 90d2e4bfe072e84e20c35c256af036da696425c1
 SHA1 (patch-lib_usrp_dboard_eiscat_eiscat__radio__ctrl__impl.cpp) = 54e9e06fd37dd7cc5a9767519148266dd915f4a0
 SHA1 (patch-lib_usrp_multi__usrp.cpp) = ff711af0232cbe92dfe822411ab228b35fa63389
+SHA1 (patch-lib_usrp_usrp2_usrp2__impl.cpp) = 339feabd4ac7af60e6b7b5be28e386e7ca48f11c
 SHA1 (patch-lib_usrp_x300_x300__radio__ctrl__impl.cpp) = 2f0c10f2443b6d2f361ee8a9f339b39c9498d2bb

Index: pkgsrc/ham/uhd/patches/patch-lib_usrp_cores_rx__dsp__core__3000.cpp
diff -u pkgsrc/ham/uhd/patches/patch-lib_usrp_cores_rx__dsp__core__3000.cpp:1.1 pkgsrc/ham/uhd/patches/patch-lib_usrp_cores_rx__dsp__core__3000.cpp:1.2
--- pkgsrc/ham/uhd/patches/patch-lib_usrp_cores_rx__dsp__core__3000.cpp:1.1     Thu May 14 19:21:04 2020
+++ pkgsrc/ham/uhd/patches/patch-lib_usrp_cores_rx__dsp__core__3000.cpp Sat Apr 24 16:34:54 2021
@@ -1,8 +1,18 @@
-$NetBSD: patch-lib_usrp_cores_rx__dsp__core__3000.cpp,v 1.1 2020/05/14 19:21:04 joerg Exp $
+$NetBSD: patch-lib_usrp_cores_rx__dsp__core__3000.cpp,v 1.2 2021/04/24 16:34:54 tnn Exp $
 
---- lib/usrp/cores/rx_dsp_core_3000.cpp.orig   2020-05-09 15:26:15.563064777 +0000
+libuhd.so.3.15.0: undefined reference to `int boost::math::sign<double>(double const&)'
+
+--- lib/usrp/cores/rx_dsp_core_3000.cpp.orig   2020-01-01 04:21:49.000000000 +0000
 +++ lib/usrp/cores/rx_dsp_core_3000.cpp
-@@ -300,10 +300,10 @@ public:
+@@ -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 <boost/thread/thread.hpp> //thread sleep
+ #include <algorithm>
+ #include <cmath>
+@@ -300,10 +301,10 @@ public:
              .set_publisher(boost::bind(&rx_dsp_core_3000::get_host_rates, this));
          subtree->create<double>("rate/value")
              .set(DEFAULT_RATE)

Added files:

Index: pkgsrc/ham/uhd/patches/patch-lib_usrp_cores_rx__frontend__core__3000.cpp
diff -u /dev/null pkgsrc/ham/uhd/patches/patch-lib_usrp_cores_rx__frontend__core__3000.cpp:1.1
--- /dev/null   Sat Apr 24 16:34:54 2021
+++ pkgsrc/ham/uhd/patches/patch-lib_usrp_cores_rx__frontend__core__3000.cpp    Sat Apr 24 16:34:54 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_usrp_cores_rx__frontend__core__3000.cpp,v 1.1 2021/04/24 16:34:54 tnn Exp $
+
+libuhd.so.3.15.0: undefined reference to `int boost::math::sign<double>(double const&)'
+
+--- lib/usrp/cores/rx_frontend_core_3000.cpp.orig      2020-01-01 04:21:49.000000000 +0000
++++ lib/usrp/cores/rx_frontend_core_3000.cpp
+@@ -13,6 +13,7 @@
+ #include <boost/assign/list_of.hpp>
+ #include <boost/bind.hpp>
+ #include <boost/math/special_functions/round.hpp>
++#include <boost/math/special_functions/sign.hpp>
+ 
+ using namespace uhd;
+ 
Index: pkgsrc/ham/uhd/patches/patch-lib_usrp_usrp2_usrp2__impl.cpp
diff -u /dev/null pkgsrc/ham/uhd/patches/patch-lib_usrp_usrp2_usrp2__impl.cpp:1.1
--- /dev/null   Sat Apr 24 16:34:54 2021
+++ pkgsrc/ham/uhd/patches/patch-lib_usrp_usrp2_usrp2__impl.cpp Sat Apr 24 16:34:54 2021
@@ -0,0 +1,25 @@
+$NetBSD: patch-lib_usrp_usrp2_usrp2__impl.cpp,v 1.1 2021/04/24 16:34:54 tnn Exp $
+
+libuhd.so.3.15.0: undefined reference to `int boost::math::sign<double>(double const&)'
+
+--- lib/usrp/usrp2/usrp2_impl.cpp.orig 2020-01-01 04:21:49.000000000 +0000
++++ lib/usrp/usrp2/usrp2_impl.cpp
+@@ -835,6 +835,9 @@ void usrp2_impl::set_tx_fe_corrections(c
+     }
+ }
+ 
++#include <boost/math/special_functions/round.hpp>
++#include <boost/math/special_functions/sign.hpp>
++
+ double usrp2_impl::set_tx_dsp_freq(
+     const std::string &mb,
+     const double freq_
+@@ -878,8 +881,6 @@ meta_range_t usrp2_impl::get_tx_dsp_freq
+     );
+ }
+ 
+-#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



Home | Main Index | Thread Index | Old Index