File: ignore-locale-warning.patch

package info (click to toggle)
fractgen 3.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,452 kB
  • sloc: cpp: 2,490; python: 1,496; sh: 438; makefile: 22; xml: 14
file content (17 lines) | stat: -rw-r--r-- 820 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: The locale parse logic does not look correct and it will likely fail
 with even existing ones. Upstream has been informed in a mail. Upstream is
 also an uploader of this package.
Author: Nilesh Patra <nilesh@iki.fi>
Forwarded: yes, over email
Last-Update: 2025-09-26
--- a/src/fractgen.cc
+++ b/src/fractgen.cc
@@ -42,7 +42,7 @@
    if(!applicationTranslator.load(QLatin1String("fractgen_") + QLocale::system().name())) {
       if(!applicationTranslator.load(QLatin1String("fractgen_") + QLocale::system().name(),
                                      QStringLiteral(FRACTGEN_INSTALL_PREFIX) + QStringLiteral("/share/fractgen"))) {
-         puts("Failed to load translations!");
+         // puts("Failed to load translations!");
       }
    }
    application.installTranslator(&applicationTranslator);