<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/547f728298f184ec60b65255ccaa7a9fd6b617d3">https://github.com/macports/macports-ports/commit/547f728298f184ec60b65255ccaa7a9fd6b617d3</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 547f728 gr-ofdm: fix building when using Xcode 9
</span>547f728 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 547f728298f184ec60b65255ccaa7a9fd6b617d3
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Sun Sep 24 16:22:08 2017 -0400
<span style='display:block; white-space:pre;color:#404040;'> gr-ofdm: fix building when using Xcode 9
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> rev-bump because some of the changes might impact source builds with prior Xcode.
</span>---
science/gr-ofdm/Portfile | 1 +
science/gr-ofdm/files/patch-build-clang_c++11.diff | 24 +++++++++++++++++++++-
2 files changed, 24 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gr-ofdm/Portfile b/science/gr-ofdm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c7e7943..d39816a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gr-ofdm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gr-ofdm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,6 +8,7 @@ PortGroup cxx11 1.1
</span>
github.setup rwth-ti gr-ofdm 8c0f81c38a67439df9f2d7b03d5cf31cb4e8d859
version 20170823
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> checksums rmd160 d3fec2c94ad038c4ac333e21a398a1978e5ff932 \
sha256 450928a83a9c5f4bdb8159fa59d8037cdc08973ff580c8979bdbf90c0eef2587
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gr-ofdm/files/patch-build-clang_c++11.diff b/science/gr-ofdm/files/patch-build-clang_c++11.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 42d3fb0..ae9250b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gr-ofdm/files/patch-build-clang_c++11.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gr-ofdm/files/patch-build-clang_c++11.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1501,7 +1501,7 @@ index 57e8db7..050dadc 100644
</span> std::vector<int> out_sig(3);
out_sig[0] = sizeof(int); // bitcount
diff --git a/lib/allocation_src_impl.cc b/lib/allocation_src_impl.cc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index ccd7917..fb4b865 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ccd7917..f4f6dec 100644
</span> --- a/lib/allocation_src_impl.cc
+++ b/lib/allocation_src_impl.cc
@@ -62,8 +62,8 @@ namespace gr {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1515,6 +1515,15 @@ index ccd7917..fb4b865 100644
</span> ,d_modulbitcount_out(2000)
,d_allocation_scheme(CM)
,d_power_limit(subcarriers)
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -436,7 +436,7 @@ namespace gr {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ d_amplitude_abs += level - d_gap/d_resource_blocks.snr[i];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ //Set minimum to 0.01 possibility for improvement
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d_amplitude_abs = std::max(0.01, sqrt(d_amplitude_abs/d_resource_blocks.number));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ d_amplitude_abs = std::max(float(0.01), sqrt(d_amplitude_abs/float(d_resource_blocks.number)));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ //Allocate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for(int i = 0; i < d_resource_blocks.number; i++)
</span> diff --git a/lib/autocorrelator_stage1_impl.cc b/lib/autocorrelator_stage1_impl.cc
index 61d6609..fd95a8e 100644
--- a/lib/autocorrelator_stage1_impl.cc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1858,6 +1867,19 @@ index 95b4eb3..b1124ee 100644
</span> ^ d_whitener[reps*d_input_bits+bit];
}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/lib/skip_impl.cc b/lib/skip_impl.cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 592ecda..1a2d9be 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/lib/skip_impl.cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/lib/skip_impl.cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -193,7 +193,7 @@ namespace gr {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int skip_impl::fixed_rate_ninput_to_noutput(int ninput_items)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return std::max(0U,ninput_items * (d_blocklen-d_skip)/d_blocklen);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return std::max(0,ninput_items * int ((d_blocklen-d_skip)/d_blocklen));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> diff --git a/lib/util_bmp.cc b/lib/util_bmp.cc
index e151a10..e29b4ed 100644
--- a/lib/util_bmp.cc
</pre><pre style='margin:0'>
</pre>