diff options
Diffstat (limited to 'recipes/mc/mc-4.6.2/mc-utf8-slang-codeset.patch')
-rw-r--r-- | recipes/mc/mc-4.6.2/mc-utf8-slang-codeset.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/mc/mc-4.6.2/mc-utf8-slang-codeset.patch b/recipes/mc/mc-4.6.2/mc-utf8-slang-codeset.patch new file mode 100644 index 0000000000..ff4780c7ce --- /dev/null +++ b/recipes/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)) + { |