<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/5710b177644ebe44128e753c5d4a3433056130f9">https://github.com/macports/macports-ports/commit/5710b177644ebe44128e753c5d4a3433056130f9</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 5710b17 gnuradio: add patch to fix flag selection for Clang, too (not just GNU)
</span>5710b17 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5710b177644ebe44128e753c5d4a3433056130f9
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Wed Nov 14 16:01:56 2018 -0800
<span style='display:block; white-space:pre;color:#404040;'> gnuradio: add patch to fix flag selection for Clang, too (not just GNU)
</span>---
science/gnuradio/Portfile | 8 ++++++-
.../gnuradio/files/patch-fix-GNUCXX.release.diff | 27 ++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletion(-)
<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 f216c02..3470a76 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;'>@@ -25,7 +25,7 @@ dist_subdir gnuradio
</span> if {${subport} eq ${name}} {
github.setup gnuradio gnuradio 3.7.13.4 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 3
</span> checksums \
rmd160 150f8ccb6f724e2bdced377f56d36c3810649992 \
sha256 44c987c941b69fcf77d4e9fa7f8039eb8bf82591e8184c431f44351abe6bba3e \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -109,6 +109,12 @@ if {${subport} eq "gnuradio"} {
</span> patchfiles-append \
patch-C_CXX_STANDARD.release.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # temporary patch to fix use of GNUCXX to instead be for both GNU
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # and Clang compilers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-fix-GNUCXX.release.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # temporary patch to fix installing CTRLPORT Python apps location
patchfiles-append \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gnuradio/files/patch-fix-GNUCXX.release.diff b/science/gnuradio/files/patch-fix-GNUCXX.release.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..b62b249
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gnuradio/files/patch-fix-GNUCXX.release.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -303,16 +303,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ########################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(GrMiscUtils) #compiler flag check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #http://gcc.gnu.org/wiki/Visibility
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- GR_ADD_CXX_COMPILER_FLAG_IF_AVAILABLE(-fvisibility=hidden HAVE_VISIBILITY_HIDDEN)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if(CMAKE_COMPILER_IS_GNUCXX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if(NOT WIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #http://gcc.gnu.org/wiki/Visibility
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ GR_ADD_CXX_COMPILER_FLAG_IF_AVAILABLE(-fvisibility=hidden HAVE_VISIBILITY_HIDDEN)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ endif(NOT WIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GR_ADD_CXX_COMPILER_FLAG_IF_AVAILABLE(-Wsign-compare HAVE_WARN_SIGN_COMPARE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GR_ADD_CXX_COMPILER_FLAG_IF_AVAILABLE(-Wall HAVE_WARN_ALL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GR_ADD_CXX_COMPILER_FLAG_IF_AVAILABLE(-Wno-uninitialized HAVE_WARN_NO_UNINITIALIZED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-endif(CMAKE_COMPILER_IS_GNUCXX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++endif(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if(MSVC)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include_directories(${CMAKE_SOURCE_DIR}/cmake/msvc) #missing headers
</span></pre><pre style='margin:0'>
</pre>