- Setting LC_ALL instead of LC_MESSAGES in order to fix output of KOI8-R

characters. (#134044)
epel9
Petr Machata 19 years ago
parent a702c51152
commit 63e02be09f

@ -0,0 +1,12 @@
diff -burp indent-2.2.9/src/indent.c indent-2.2.9-lcall/src/indent.c
--- indent-2.2.9/src/indent.c 2006-02-01 14:20:25.000000000 +0100
+++ indent-2.2.9-lcall/src/indent.c 2006-02-01 14:08:52.000000000 +0100
@@ -3070,7 +3070,7 @@ int main (
exit_values_ty exit_status;
#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
- setlocale (LC_MESSAGES, "");
+ setlocale (LC_ALL, "");
#endif
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);

@ -1,7 +1,7 @@
Summary: A GNU program for formatting C code.
Name: indent
Version: 2.2.9
Release: 10
Release: 11
License: GPL
Group: Applications/Text
URL: http://www.gnu.org/software/indent/
@ -10,6 +10,7 @@ Patch: indent-2.2.9-fix.patch
Patch2: indent-2.2.9-gcc4.patch
Patch3: indent-2.2.9-explicits.patch
Patch4: indent-2.2.9-cdw.patch
Patch5: indent-2.2.9-lcall.patch
Prereq: /sbin/install-info
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -28,6 +29,7 @@ you want a program to format your code.
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
@ -66,6 +68,10 @@ fi
%changelog
* Wed Feb 1 2006 Petr Machata <pmachata@redhat.com> 2.2.9-11
- Setting LC_ALL instead of LC_MESSAGES in order to fix output of
KOI8-R characters. (#134044)
* Wed Jan 27 2006 Petr Machata <pmachata@redhat.com> 2.2.9-10
- Changed the placement of closing `while' of `do {} while' command
under a -cdw option. It's now cuddled up to the brace. (#67781)

Loading…
Cancel
Save