aboutsummaryrefslogtreecommitdiff
path: root/comms/trustedqsl/files
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2007-12-18 19:07:40 +0000
committerDiane Bruce <db@FreeBSD.org>2007-12-18 19:07:40 +0000
commit4e0909b75dc435d4f09ae39030b91e8ebcf3a50f (patch)
tree9762a40f697347ebf846d049968ef29b145afa4c /comms/trustedqsl/files
parentdaf2eb6fad96acac013e0d0c368a11d9c6bea990 (diff)
downloadports-4e0909b75dc435d4f09ae39030b91e8ebcf3a50f.tar.gz
ports-4e0909b75dc435d4f09ae39030b91e8ebcf3a50f.zip
Notes
Diffstat (limited to 'comms/trustedqsl/files')
-rw-r--r--comms/trustedqsl/files/patch-tqsllib-2.0_tqslconvert.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/comms/trustedqsl/files/patch-tqsllib-2.0_tqslconvert.cpp b/comms/trustedqsl/files/patch-tqsllib-2.0_tqslconvert.cpp
new file mode 100644
index 000000000000..c07b0b4d029a
--- /dev/null
+++ b/comms/trustedqsl/files/patch-tqsllib-2.0_tqslconvert.cpp
@@ -0,0 +1,18 @@
+--- tqsllib-2.0/tqslconvert.cpp.orig 2007-12-18 08:39:49.000000000 -0500
++++ tqsllib-2.0/tqslconvert.cpp 2007-12-18 08:42:31.000000000 -0500
+@@ -23,6 +23,7 @@
+ #include <string>
+ #include <ctype.h>
+ #include <set>
++#include <locale.h>
+
+ //#include <iostream>
+
+@@ -264,6 +265,7 @@
+
+ static const char *
+ tqsl_infer_band(const char* infreq) {
++ setlocale(LC_NUMERIC, "C");
+ double freq = atof(infreq);
+ double freq_khz = freq * 1000.0;
+ int nband = 0;