diff options
author | root <root@rshg054.dnsready.net> | 2012-03-08 00:01:27 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-08 00:01:27 +0000 |
commit | 718c8e57ef26498cff228de3de92bf5c8a3f6343 (patch) | |
tree | bff46acd12c91eafe51a7feebb7f840e9834cc0e /extra/indent/indent-2.2.11-LC_ALL.patch | |
parent | 5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (diff) |
Thu Mar 8 00:01:27 UTC 2012
Diffstat (limited to 'extra/indent/indent-2.2.11-LC_ALL.patch')
-rw-r--r-- | extra/indent/indent-2.2.11-LC_ALL.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/indent/indent-2.2.11-LC_ALL.patch b/extra/indent/indent-2.2.11-LC_ALL.patch new file mode 100644 index 000000000..0ffe56d3c --- /dev/null +++ b/extra/indent/indent-2.2.11-LC_ALL.patch @@ -0,0 +1,17 @@ +From: Santiago Vila <sanvila@debian.org> +Subject: setlocale using LC_ALL, not LC_MESSAGES +Bug-Debian: http://bugs.debian.org/205692 + +--- a/src/indent.c ++++ b/src/indent.c +@@ -1008,8 +1008,8 @@ + BOOLEAN using_stdin = false; + exit_values_ty exit_status; + +-#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES) && defined (HAVE_LCCTYPES) +- setlocale(LC_MESSAGES, ""); ++#if defined (HAVE_SETLOCALE) ++ setlocale(LC_ALL, ""); + #endif + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); |