[118019] trunk/dports/science/gnuradio
michaelld at macports.org
michaelld at macports.org
Wed Mar 19 06:54:11 PDT 2014
Revision: 118019
https://trac.macports.org/changeset/118019
Author: michaelld at macports.org
Date: 2014-03-19 06:54:11 -0700 (Wed, 19 Mar 2014)
Log Message:
-----------
gnuradio:
+ update devel to 49f69ee8 and next to 99ecf64c, both 20140318;
+ add temporary patch to fix QA for fast_atan2f in devel and next only.
Modified Paths:
--------------
trunk/dports/science/gnuradio/Portfile
Added Paths:
-----------
trunk/dports/science/gnuradio/files/patch-gnuradio-runtime-lib-math-qa_fast_atan2f.cc.diff
Modified: trunk/dports/science/gnuradio/Portfile
===================================================================
--- trunk/dports/science/gnuradio/Portfile 2014-03-19 13:53:35 UTC (rev 118018)
+++ trunk/dports/science/gnuradio/Portfile 2014-03-19 13:54:11 UTC (rev 118019)
@@ -88,13 +88,13 @@
long_description ${description}: \
This port is kept up with the GNU Radio GIT 'master' branch, which is typically updated daily to weekly. This version of GNU Radio generally contains fixes to, and its API is compatible with, the current GNU Radio release, and will be incorporated in an upcoming release. This port may or not compile or function correctly, as it represents a work in progress. If it does not work, check back in a few days. Or try deactivating the currently active gnuradio port, cleaning any current builds, and trying again.
- version 3.7.4_20140308
+ version 3.7.4_20140318
conflicts gnuradio-legacy gnuradio gnuradio-next
fetch.type git
git.url http://git.gnuradio.org/git/gnuradio.git
- git.branch 69dcaa75b629af4ebc465a073f54af84b7c75a11
+ git.branch 49f69ee8d41fd4de62ce05630c38edabdfea8518
livecheck.url http://gnuradio.org/cgit/cgit.cgi/gnuradio/log/?h=master
livecheck.version ${git.branch}
@@ -107,13 +107,13 @@
long_description ${description}: \
This port is kept up with the GNU Radio GIT 'next' branch, which is typically updated daily to weekly. This version of GNU Radio represents the next major release of GNU Radio, and hence its API is likely to be different than that provided by either gnuradio or gnuradio-devel. This port may or not compile or function correctly, as it represents a work in progress. If it does not work, check back in a few days. Or try deactivating the currently active gnuradio port, cleaning any current builds, and trying again.
- version 3.8.0_20140308
+ version 3.8.0_20140318
conflicts gnuradio-legacy gnuradio gnuradio-devel
fetch.type git
git.url http://git.gnuradio.org/git/gnuradio.git
- git.branch aedd3caf18f161a22323fc6533463ec554e94c37
+ git.branch 99ecf64c8bb143f86d22b62b17cb18d64ce661d7
livecheck.url http://gnuradio.org/cgit/cgit.cgi/gnuradio/log/?h=next
livecheck.version ${git.branch}
@@ -150,6 +150,10 @@
patchfiles-append patch-cmake-expand.devel.diff
+ # temporary patch to fix fast_atan2f QA code
+
+ patchfiles-append patch-gnuradio-runtime-lib-math-qa_fast_atan2f.cc.diff
+
}
}
Added: trunk/dports/science/gnuradio/files/patch-gnuradio-runtime-lib-math-qa_fast_atan2f.cc.diff
===================================================================
--- trunk/dports/science/gnuradio/files/patch-gnuradio-runtime-lib-math-qa_fast_atan2f.cc.diff (rev 0)
+++ trunk/dports/science/gnuradio/files/patch-gnuradio-runtime-lib-math-qa_fast_atan2f.cc.diff 2014-03-19 13:54:11 UTC (rev 118019)
@@ -0,0 +1,25 @@
+--- gnuradio-runtime/lib/math/qa_fast_atan2f.cc.orig
++++ gnuradio-runtime/lib/math/qa_fast_atan2f.cc
+@@ -92,7 +92,7 @@ qa_fast_atan2f::t2()
+ x = inf;
+ y = inf;
+ gr_atan2f = gr::fast_atan2f(x, y);
+- CPPUNIT_ASSERT(isnan(gr_atan2f));
++ CPPUNIT_ASSERT(std::isnan(gr_atan2f));
+
+
+ /* Test x as NAN */
+@@ -123,11 +123,11 @@ qa_fast_atan2f::t2()
+ x = inf;
+ y = nan;
+ gr_atan2f = gr::fast_atan2f(x, y);
+- CPPUNIT_ASSERT(isnan(gr_atan2f));
++ CPPUNIT_ASSERT(std::isnan(gr_atan2f));
+
+ x = nan;
+ y = inf;
+ gr_atan2f = gr::fast_atan2f(x, y);
+- CPPUNIT_ASSERT(isnan(gr_atan2f));
++ CPPUNIT_ASSERT(std::isnan(gr_atan2f));
+ }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140319/e834eb33/attachment.html>
More information about the macports-changes
mailing list