pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/ham/gnuradio-core
Module Name: pkgsrc
Committed By: dbj
Date: Tue Jul 10 07:05:07 UTC 2018
Modified Files:
pkgsrc/ham/gnuradio-core: distinfo
Added Files:
pkgsrc/ham/gnuradio-core/patches:
patch-gr-blocks_lib_message__strobe__impl.cc
patch-gr-blocks_lib_message__strobe__random__impl.cc
patch-gr-uhd_lib_usrp__block__impl.cc
Log Message:
ham/gnuradio-core: fix compiling with boost 1.67
patch from upstream https://github.com/gnuradio/gnuradio.git
commit 86fa85feef81e69dd1354b393118459340b94489
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/ham/gnuradio-core/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/ham/gnuradio-core/patches/patch-gr-blocks_lib_message__strobe__impl.cc \
pkgsrc/ham/gnuradio-core/patches/patch-gr-blocks_lib_message__strobe__random__impl.cc \
pkgsrc/ham/gnuradio-core/patches/patch-gr-uhd_lib_usrp__block__impl.cc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/ham/gnuradio-core/distinfo
diff -u pkgsrc/ham/gnuradio-core/distinfo:1.27 pkgsrc/ham/gnuradio-core/distinfo:1.28
--- pkgsrc/ham/gnuradio-core/distinfo:1.27 Wed Mar 15 14:07:12 2017
+++ pkgsrc/ham/gnuradio-core/distinfo Tue Jul 10 07:05:06 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2017/03/15 14:07:12 mef Exp $
+$NetBSD: distinfo,v 1.28 2018/07/10 07:05:06 dbj Exp $
SHA1 (gnuradio-3.7.11.tar.gz) = 574df5079b02cfcd80f03930d90a20b2fa9cfcb8
RMD160 (gnuradio-3.7.11.tar.gz) = 72207c6c048f256cbd93a679c09345a5ca45f307
@@ -9,3 +9,6 @@ SHA1 (patch-gnuradio_runtime_include_gnu
SHA1 (patch-gnuradio_runtime_lib_thread_thread_cc) = c05628aa88ac968928f9eabd8c56d4527e258767
SHA1 (patch-gr-audio_lib_CMakeLists.txt) = 00ff8c14658acd2d1dc8be18ea6a19ace8d12968
SHA1 (patch-gr-audio_lib_alsa_alsa__impl_h) = d61dcd31058c04a6050479a6e8c321ca15420d49
+SHA1 (patch-gr-blocks_lib_message__strobe__impl.cc) = 22e9a876660d8582c091ee27b4e46df562168aed
+SHA1 (patch-gr-blocks_lib_message__strobe__random__impl.cc) = a87d3e8b4243bcb5040961608bbc2644c43b9e76
+SHA1 (patch-gr-uhd_lib_usrp__block__impl.cc) = 7b8344474f94598c621dea6349d9f3224cddbae7
Added files:
Index: pkgsrc/ham/gnuradio-core/patches/patch-gr-blocks_lib_message__strobe__impl.cc
diff -u /dev/null pkgsrc/ham/gnuradio-core/patches/patch-gr-blocks_lib_message__strobe__impl.cc:1.1
--- /dev/null Tue Jul 10 07:05:07 2018
+++ pkgsrc/ham/gnuradio-core/patches/patch-gr-blocks_lib_message__strobe__impl.cc Tue Jul 10 07:05:06 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-gr-blocks_lib_message__strobe__impl.cc,v 1.1 2018/07/10 07:05:06 dbj Exp $
+
+Fix compiling with Boost 1.67
+patch from upstream https://github.com/gnuradio/gnuradio.git
+commit 86fa85feef81e69dd1354b393118459340b94489
+
+--- gr-blocks/lib/message_strobe_impl.cc.orig 2017-02-27 23:19:00.000000000 +0000
++++ gr-blocks/lib/message_strobe_impl.cc
+@@ -90,7 +90,7 @@ namespace gr {
+ void message_strobe_impl::run()
+ {
+ while(!d_finished) {
+- boost::this_thread::sleep(boost::posix_time::milliseconds(d_period_ms));
++ boost::this_thread::sleep(boost::posix_time::milliseconds(static_cast<long>(d_period_ms)));
+ if(d_finished) {
+ return;
+ }
Index: pkgsrc/ham/gnuradio-core/patches/patch-gr-blocks_lib_message__strobe__random__impl.cc
diff -u /dev/null pkgsrc/ham/gnuradio-core/patches/patch-gr-blocks_lib_message__strobe__random__impl.cc:1.1
--- /dev/null Tue Jul 10 07:05:07 2018
+++ pkgsrc/ham/gnuradio-core/patches/patch-gr-blocks_lib_message__strobe__random__impl.cc Tue Jul 10 07:05:06 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-gr-blocks_lib_message__strobe__random__impl.cc,v 1.1 2018/07/10 07:05:06 dbj Exp $
+
+Fix compiling with Boost 1.67
+patch from upstream https://github.com/gnuradio/gnuradio.git
+commit 86fa85feef81e69dd1354b393118459340b94489
+
+--- gr-blocks/lib/message_strobe_random_impl.cc.orig 2017-02-27 23:19:00.000000000 +0000
++++ gr-blocks/lib/message_strobe_random_impl.cc
+@@ -108,7 +108,7 @@ namespace gr {
+ void message_strobe_random_impl::run()
+ {
+ while(!d_finished) {
+- boost::this_thread::sleep(boost::posix_time::milliseconds(std::max(0.0f,next_delay())));
++ boost::this_thread::sleep(boost::posix_time::milliseconds(static_cast<long>(std::max(0.0f,next_delay()))));
+ if(d_finished) {
+ return;
+ }
Index: pkgsrc/ham/gnuradio-core/patches/patch-gr-uhd_lib_usrp__block__impl.cc
diff -u /dev/null pkgsrc/ham/gnuradio-core/patches/patch-gr-uhd_lib_usrp__block__impl.cc:1.1
--- /dev/null Tue Jul 10 07:05:07 2018
+++ pkgsrc/ham/gnuradio-core/patches/patch-gr-uhd_lib_usrp__block__impl.cc Tue Jul 10 07:05:06 2018
@@ -0,0 +1,26 @@
+$NetBSD: patch-gr-uhd_lib_usrp__block__impl.cc,v 1.1 2018/07/10 07:05:06 dbj Exp $
+
+Fix compiling with Boost 1.67
+patch from upstream https://github.com/gnuradio/gnuradio.git
+commit 86fa85feef81e69dd1354b393118459340b94489
+
+--- gr-uhd/lib/usrp_block_impl.cc.orig 2017-02-27 23:19:00.000000000 +0000
++++ gr-uhd/lib/usrp_block_impl.cc
+@@ -128,7 +128,7 @@ bool usrp_block_impl::_wait_for_locked_s
+
+ while (true) {
+ if ((not first_lock_time.is_not_a_date_time()) and
+- (boost::get_system_time() > (first_lock_time + boost::posix_time::seconds(LOCK_TIMEOUT)))) {
++ (boost::get_system_time() > (first_lock_time + boost::posix_time::seconds(static_cast<long>(LOCK_TIMEOUT))))) {
+ break;
+ }
+
+@@ -139,7 +139,7 @@ bool usrp_block_impl::_wait_for_locked_s
+ else {
+ first_lock_time = boost::system_time(); //reset to 'not a date time'
+
+- if (boost::get_system_time() > (start + boost::posix_time::seconds(LOCK_TIMEOUT))){
++ if (boost::get_system_time() > (start + boost::posix_time::seconds(static_cast<long>(LOCK_TIMEOUT)))){
+ return false;
+ }
+ }
Home |
Main Index |
Thread Index |
Old Index