<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/983f74a80a8242b8583d49af72824544b3d712fe">https://github.com/macports/macports-ports/commit/983f74a80a8242b8583d49af72824544b3d712fe</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 983f74a gnuradio-next: fix and re-enable patch to fix when CTRLPORT tests run
</span>983f74a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 983f74a80a8242b8583d49af72824544b3d712fe
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Thu May 23 08:03:59 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> gnuradio-next: fix and re-enable patch to fix when CTRLPORT tests run
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> NOTE: no rev-bump, since this check impacts just "make test".
</span>---
science/gnuradio/Portfile | 4 +-
.../files/patch-fix_ctrlport_test.next.diff | 100 ++-------------------
2 files changed, 9 insertions(+), 95 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gnuradio/Portfile b/science/gnuradio/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 82deb2b..7759603 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gnuradio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gnuradio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -175,8 +175,8 @@ if {${subport} eq "gnuradio"} {
</span> # patches for next
# temporary patch to fix CTRLPORT testing
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # patchfiles-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # patch-fix_ctrlport_test.next.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-fix_ctrlport_test.next.diff
</span>
# temporary patch to fix and allow external setting for
# CMAKE_C/CXX_STANDARD
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gnuradio/files/patch-fix_ctrlport_test.next.diff b/science/gnuradio/files/patch-fix_ctrlport_test.next.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 4fdc225..a6c3695 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gnuradio/files/patch-fix_ctrlport_test.next.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gnuradio/files/patch-fix_ctrlport_test.next.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,107 +1,21 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- gnuradio-runtime/lib/CMakeLists.txt.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ gnuradio-runtime/lib/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -44,7 +44,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- list(APPEND gnuradio_runtime_sources ${CMAKE_CURRENT_BINARY_DIR}/constants.cc)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ########################################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# Setup the include and linker paths
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# Setup globally used include paths
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ########################################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- include_directories(${GNURADIO_RUNTIME_INCLUDE_DIRS}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${CMAKE_CURRENT_SOURCE_DIR}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -53,12 +53,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${MPLIB_INCLUDE_DIRS}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(ENABLE_CTRLPORT_THRIFT)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- list(APPEND include_directories
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${THRIFT_INCLUDE_DIRS}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif(ENABLE_CTRLPORT_THRIFT)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ########################################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Include subdirs rather to populate to the sources lists.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ########################################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -68,6 +62,13 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GR_INCLUDE_SUBDIRECTORY(math)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GR_INCLUDE_SUBDIRECTORY(controlport)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+########################################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# Setup CTRLPORT include path, if using
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+########################################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+if(ENABLE_CTRLPORT_THRIFT)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ include_directories(${THRIFT_INCLUDE_DIRS})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+endif(ENABLE_CTRLPORT_THRIFT)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ########################################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Setup library
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ########################################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- gnuradio-runtime/lib/controlport/CMakeLists.txt.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ gnuradio-runtime/lib/controlport/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -17,15 +17,18 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # the Free Software Foundation, Inc., 51 Franklin Street,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Boston, MA 02110-1301, USA.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(ENABLE_GR_CTRLPORT)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Keep track of the number of backends ControlPort supports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SET(CTRLPORT_BACKENDS 0)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+if(ENABLE_GR_CTRLPORT)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Add definition so we can compile in ControlPort to the blocks.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- add_definitions(-DGR_CTRLPORT)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--include_directories(${CMAKE_CURRENT_SOURCE_DIR})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+include_directories(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ${CMAKE_CURRENT_SOURCE_DIR}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ${CMAKE_CURRENT_BINARY_DIR}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- list(APPEND gnuradio_ctrlport_sources
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${CMAKE_CURRENT_SOURCE_DIR}/rpcmanager.cc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -34,7 +37,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${CMAKE_CURRENT_SOURCE_DIR}/rpcserver_selector.cc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- OPTION(ENABLE_CTRLPORT_THRIFT "Enable ControlPort Thrift support" ON)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(ENABLE_CTRLPORT_THRIFT)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -88,17 +90,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif(THRIFT_FOUND)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif(ENABLE_CTRLPORT_THRIFT)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--########################################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# Add controlport stuff to gnuradio-runtime
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--########################################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--include_directories(${CMAKE_CURRENT_BINARY_DIR})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+endif(ENABLE_GR_CTRLPORT)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Save the number of backends for testing against later
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CTRLPORT_BACKENDS ${CTRLPORT_BACKENDS}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CACHE INTERNAL "Number of ControlPort backends available"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--endif(ENABLE_GR_CTRLPORT)
</span> --- gr-blocks/python/blocks/CMakeLists.txt.orig
+++ gr-blocks/python/blocks/CMakeLists.txt
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -45,13 +45,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -44,14 +44,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(GrTest)
</span> file(GLOB py_qa_test_files "qa_*.py")
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Force out the controlport QA tests if we have no backends to use.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Force out the controlport QA tests if we have no backends to use.
</span> - if(CTRLPORT_BACKENDS EQUAL 0)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if(NOT ENABLE_GR_CTRLPORT)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # Force out the controlport QA tests if CTRLPORT is not enabled or
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # if it is enabled but we have no backends to use.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if(NOT ENABLE_GR_CTRLPORT OR CTRLPORT_BACKENDS EQUAL 0)
</span> list(REMOVE_ITEM py_qa_test_files
${CMAKE_CURRENT_SOURCE_DIR}/qa_cpp_py_binding.py
${CMAKE_CURRENT_SOURCE_DIR}/qa_cpp_py_binding_set.py
${CMAKE_CURRENT_SOURCE_DIR}/qa_ctrlport_probes.py
)
- endif(CTRLPORT_BACKENDS EQUAL 0)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ endif(NOT ENABLE_GR_CTRLPORT)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ endif(NOT ENABLE_GR_CTRLPORT OR CTRLPORT_BACKENDS EQUAL 0)
</span>
foreach(py_qa_test_file ${py_qa_test_files})
get_filename_component(py_qa_test_name ${py_qa_test_file} NAME_WE)
</pre><pre style='margin:0'>
</pre>