head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @// @; 1.1 date 2026.01.19.13.40.54; author mef; state Exp; branches; next ; commitid yWKM2nfdqQdYu0rG; desc @@ 1.1 log @ham/wsjtx: import wsjtx-2.5.4 Weak Signal Communication Software WSJT-X, WSJT, MAP65, and WSPR are open-source programs designed for weak-signal digital communication by amateur radio. Normal usage requires a standard SSB transceiver and a personal computer with soundcard, or the equivalent. SDR-style hardware including the SDR-IQ, Perseus, SoftRock, and FUNcube Dongle is supported by MAP65 and WSPR. SimJT is a utility program that generates simulated signals for test purposes. All of the programs are available free of charge, licensed under the GNU General Public License. Installation packages for WSJT-X are available for Windows, Linux, and OS X; WSJT and WSPR have Windows and Linux packages, and MAP65 and SimJT are Windows only. For further details about source code and operating systems, see the Program Development page. @ text @$NetBSD$ From FreeBSD ports 2.5.4 --- wsjtx/Radio.cpp.orig 2021-11-03 19:53:01.000000000 -0400 +++ Radio.cpp 2021-12-31 07:48:03.411318000 -0500 @@@@ -54,7 +54,8 @@@@ value *= std::pow (10., scale); if (ok) { - if (value < 0. || value > std::numeric_limits::max ()) +#define MAXDOUBLEFREQUENCY 18446744073709551616.0 + if (value < 0. || value > MAXDOUBLEFREQUENCY) { value = 0.; *ok = false; @@@@ -92,7 +93,7 @@@@ if (ok) { if (value < -std::numeric_limits::max () - || value > std::numeric_limits::max ()) + || value > MAXDOUBLEFREQUENCY) { value = 0.; *ok = false; @