<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/ac869ad2bb23d791a4470713f5ee2d1055b9480f">https://github.com/macports/macports-ports/commit/ac869ad2bb23d791a4470713f5ee2d1055b9480f</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 ac869ad gnuradio*: add temporary patch to fix debug printout in gr-audio/osx.
</span>ac869ad is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ac869ad2bb23d791a4470713f5ee2d1055b9480f
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Fri Apr 14 14:42:29 2017 -0400
<span style='display:block; white-space:pre;color:#404040;'> gnuradio*: add temporary patch to fix debug printout in gr-audio/osx.
</span>---
science/gnuradio/Portfile | 4 ++++
.../gnuradio/files/patch-gr-audio_lib_osx_osx_impl.cc.diff | 11 +++++++++++
2 files changed, 15 insertions(+)
<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 a92cb3d..db82110 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;'>@@ -117,6 +117,10 @@ platform darwin 10 {
</span> patch-gr-blocks_lib_float_array_to_int.cc.diff
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# temporary patch to fix debug printout in gr-audio/osx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-gr-audio_lib_osx_osx_impl.cc.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # override githib PortGroup homepage setting
homepage http://gnuradio.org/
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gnuradio/files/patch-gr-audio_lib_osx_osx_impl.cc.diff b/science/gnuradio/files/patch-gr-audio_lib_osx_osx_impl.cc.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..64958d0
</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-gr-audio_lib_osx_osx_impl.cc.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gr-audio/lib/osx/osx_impl.cc.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gr-audio/lib/osx/osx_impl.cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -43,7 +43,7 @@ operator<<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const AudioStreamBasicDescription& asbd)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char format_id[sizeof(asbd.mFormatID)+1];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- memcpy((void*)(&asbd.mFormatID), format_id, sizeof(asbd.mFormatID));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ memcpy(format_id, (void*)(&asbd.mFormatID), sizeof(asbd.mFormatID));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ format_id[sizeof(asbd.mFormatID)] = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s << " Sample Rate : " << asbd.mSampleRate << std::endl;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s << " Format ID : " << format_id << std::endl;
</span></pre><pre style='margin:0'>
</pre>