wok-next view indent/stuff/patches/indent-2.2.11-LC_ALL.patch @ rev 20775

quodlibet: remove non-existent package from bdeps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 20:44:57 2018 +0300 (2018-06-06)
parents
children
line source
1 From: Santiago Vila <sanvila@debian.org>
2 Subject: setlocale using LC_ALL, not LC_MESSAGES
3 Bug-Debian: http://bugs.debian.org/205692
5 --- a/src/indent.c
6 +++ b/src/indent.c
7 @@ -1008,8 +1008,8 @@
8 BOOLEAN using_stdin = false;
9 exit_values_ty exit_status;
11 -#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES) && defined (HAVE_LCCTYPES)
12 - setlocale(LC_MESSAGES, "");
13 +#if defined (HAVE_SETLOCALE)
14 + setlocale(LC_ALL, "");
15 #endif
16 bindtextdomain(PACKAGE, LOCALEDIR);
17 textdomain(PACKAGE);