summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/c-locale13
-rw-r--r--debian/patches/series1
3 files changed, 20 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 604a4e72..6e8e9d9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+wsjtx (2.4.0~rc1+repack-2) UNRELEASED; urgency=medium
+
+ * Patch logging to require C.UTF-8 instead of en_US.UTF-8. (Closes: #982287)
+
+ -- Christoph Berg <myon@debian.org> Tue, 09 Feb 2021 16:17:41 +0100
+
wsjtx (2.4.0~rc1+repack-1) experimental; urgency=medium
* New upstream version 2.4.0~rc1+repack with new Q65 mode.
diff --git a/debian/patches/c-locale b/debian/patches/c-locale
new file mode 100644
index 00000000..0f20b87c
--- /dev/null
+++ b/debian/patches/c-locale
@@ -0,0 +1,13 @@
+Fix "Error: locale::facet::_S_create_c_locale name not valid" with en_US.UTF-8 missing
+
+--- a/main.cpp
++++ b/main.cpp
+@@ -134,7 +134,7 @@ int main(int argc, char *argv[])
+ #if defined (Q_OS_WIN)
+ std::locale::global (std::locale ("C"));
+ #else
+- std::locale::global (std::locale ("en_US.UTF-8"));
++ std::locale::global (std::locale ("C.UTF-8"));
+ #endif
+
+ // Override programs executable basename as application name.
diff --git a/debian/patches/series b/debian/patches/series
index 17248ea7..4280e2fd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
0013-qcustomplot-link.patch
0014-xsltproc-nonet-manpages.patch
0015-typos.patch
+c-locale