diff options
author | Stanislav Brabec <utx@penguin.cz> | 2009-02-25 20:30:09 +0000 |
---|---|---|
committer | utx@penguin.cz <utx@penguin.cz> | 2009-02-25 20:40:12 +0000 |
commit | db29dc5fbedf57bb255a758004ae51e48b621366 (patch) | |
tree | 35d6d9b2eb1ab7944cf21c42880d80fedcbb76c3 /packages/mc/mc-4.6.2/mc-utf8-slang-codeset.patch | |
parent | a7e404e506077a42ab6591be91a2d990023bc35a (diff) |
mc-4.6.2: Miscelaneous fixes:
* Correctly build help whiles cross compiling.
* Detect codeset from langinfo tables, not locale name.
* Ignore modifiers with Esc + Numeral F-keys emulation.
* Package locale dependent files to locale sub-packages.
* Install profile.
* Use standars stages.
* Fixed Serbian locale.
Diffstat (limited to 'packages/mc/mc-4.6.2/mc-utf8-slang-codeset.patch')
-rw-r--r-- | packages/mc/mc-4.6.2/mc-utf8-slang-codeset.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/mc/mc-4.6.2/mc-utf8-slang-codeset.patch b/packages/mc/mc-4.6.2/mc-utf8-slang-codeset.patch new file mode 100644 index 0000000000..ff4780c7ce --- /dev/null +++ b/packages/mc/mc-4.6.2/mc-utf8-slang-codeset.patch @@ -0,0 +1,20 @@ +--- mc-4.6.2/slang/slcommon.c ++++ mc-4.6.2/slang/slcommon.c +@@ -31,7 +31,7 @@ + # include <locale.h> + #endif + +-#ifdef HAVE_LANGINFO_H ++#ifdef HAVE_LANGINFO_CODESET + # include <langinfo.h> + #endif + +@@ -87,7 +87,7 @@ + + (void) setlocale (LC_ALL, ""); + +-#ifdef HAVE_NL_LANGINFO_CODESET ++#ifdef HAVE_LANGINFO_CODESET + locale = nl_langinfo (CODESET); + if ((locale != NULL) && (*locale)) + { |