<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/d9473d487e58d03748ac8817de3de8ed67fb583a">https://github.com/macports/macports-ports/commit/d9473d487e58d03748ac8817de3de8ed67fb583a</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 d9473d4 gr-specest: update to 4adecb86 (20180114).
</span>d9473d4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d9473d487e58d03748ac8817de3de8ed67fb583a
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Mon Jan 15 07:24:23 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> gr-specest: update to 4adecb86 (20180114).
</span>---
science/gr-specest/Portfile | 9 ++++-----
science/gr-specest/files/patch-fix_build.diff | 10 +++++-----
2 files changed, 9 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gr-specest/Portfile b/science/gr-specest/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b7b7741..19b3bab 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gr-specest/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gr-specest/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,11 +5,10 @@ PortGroup cmake 1.0
</span> PortGroup github 1.0
PortGroup compilers 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup kit-cel gr-specest 748aa13b97ed6ea1a747e6451cd5c8f1aaace7a2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20151205
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 5fc5a788c65b653de5f7af3e374a65e8596430ab \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 4ab8fc05edb19d8299d8ef99bcf2ed865bc0bb62ffac0c00ca2a6769e919760f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup kit-cel gr-specest 4adecb868a186955c6578df45244ba10f0daa7dc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20180114
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f58a10be9ace70e80ceb9301d23a4f921a918d21 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 47e25037709fb220e8926c725538e87dd45b394e708139be0722537e7b989a5c
</span>
categories science comms
maintainers {michaelld @michaelld} openmaintainer
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gr-specest/files/patch-fix_build.diff b/science/gr-specest/files/patch-fix_build.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 8d851a5..2825e03 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gr-specest/files/patch-fix_build.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gr-specest/files/patch-fix_build.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,15 +16,15 @@
</span> ########################################################################
--- lib/cyclo_fam_calcspectrum_algo.cc.orig
+++ lib/cyclo_fam_calcspectrum_algo.cc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -93,10 +93,14 @@ namespace gr {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -93,10 +93,14 @@
</span>
// Copy input stream to d_complex_demodulates and do the phase shifting
for(int m = 0; m < d_P*d_Np; m++) {
+#if 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- d_complex_demodulates[p][i].real() = in[m].real()*cos(2*M_PI*i*(p*d_L)/d_Np)+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- in[m].imag()*sin(2*M_PI*i*(p*d_L)/d_Np);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- d_complex_demodulates[p][i].imag() = in[m].imag()*cos(2*M_PI*i*(p*d_L)/d_Np)-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- in[m].real()*sin(2*M_PI*i*(p*d_L)/d_Np);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ d_complex_demodulates[p][i].real(in[m].real()*cos(2*M_PI*i*(p*d_L)/d_Np)+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ in[m].imag()*sin(2*M_PI*i*(p*d_L)/d_Np));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ d_complex_demodulates[p][i].imag(in[m].imag()*cos(2*M_PI*i*(p*d_L)/d_Np)-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ in[m].real()*sin(2*M_PI*i*(p*d_L)/d_Np));
</span> +#else
+ d_complex_demodulates[p][i] = in[m] * gr_complex (cos(2*M_PI*i*(p*d_L)/d_Np), -sin(2*M_PI*i*(p*d_L)/d_Np));
+#endif
</pre><pre style='margin:0'>
</pre>