summaryrefslogtreecommitdiff
path: root/comms/wsjtz/files/patch-Radio.cpp
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-08-26 23:26:04 -0500
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-08-26 23:27:48 -0500
commit897652465e08f1623b4112168ba89e22cb343806 (patch)
treee14bdcab3158d5ddd0fbe992715b1f8bef1d47bd /comms/wsjtz/files/patch-Radio.cpp
parentx11-toolkits/granite: update to 6.1.1 (diff)
comms/wsjtz: New port: Clone of WSJT-X software with additional features
WSJT ("Weak Signal Communication, by K1JT") offers specific digital protocols optimized for meteor scatter, ionospheric scatter, and EME (moonbounce) at VHF/UHF, as well as HF skywave propagation. The program can decode fraction-of-a-second signals reflected from ionized meteor trails and steady signals 10 dB below the audible threshold. WSJT-Z is a clone of WSJT-X software by Joe Taylor K1JT Features - Modified user interface, including a larger Band Activity window - Extended filtering features - Auto CQ and auto responding - QRZ.COM integration - Audio alerts - DXCC / Continent Filtering WWW: https://sourceforge.net/projects/wsjt-z/
Diffstat (limited to 'comms/wsjtz/files/patch-Radio.cpp')
-rw-r--r--comms/wsjtz/files/patch-Radio.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/comms/wsjtz/files/patch-Radio.cpp b/comms/wsjtz/files/patch-Radio.cpp
new file mode 100644
index 000000000000..4beb7759b8e8
--- /dev/null
+++ b/comms/wsjtz/files/patch-Radio.cpp
@@ -0,0 +1,20 @@
+--- Radio.cpp.orig 2021-02-01 18:08:30 UTC
++++ Radio.cpp
+@@ -45,7 +45,7 @@ namespace Radio
+ value *= std::pow (10., scale);
+ if (ok)
+ {
+- if (value < 0. || value > std::numeric_limits<Frequency>::max ())
++ if (value < 0. || value > (float)std::numeric_limits<Frequency>::max ())
+ {
+ value = 0.;
+ *ok = false;
+@@ -70,7 +70,7 @@ namespace Radio
+ if (ok)
+ {
+ if (value < -std::numeric_limits<Frequency>::max ()
+- || value > std::numeric_limits<Frequency>::max ())
++ || value > (float)std::numeric_limits<Frequency>::max ())
+ {
+ value = 0.;
+ *ok = false;