diff options
| author | Christoph Berg <myon@debian.org> | 2021-02-09 12:29:24 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-02-09 16:18:11 +0100 |
| commit | b8c13200bde6aaa2c3e27f833fa7bde69f0865e2 (patch) | |
| tree | a50be6a93d8e9563227877cfb719103b515c56d0 | |
| parent | b8cb1d1aaa419537e968c8765a19b1536f7e7f7f (diff) | |
Patch logging to require C.UTF-8 instead of en_US.UTF-8. (Closes: #982287)
| -rw-r--r-- | debian/changelog | 6 | ||||
| -rw-r--r-- | debian/patches/c-locale | 13 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
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 |
