Red Hat Bugzilla – Bug 147559
compilation of mc in non-UTF8 environment
Last modified: 2013-07-02 19:06:17 EDT
Description of problem:
The logo patch shipped in last mc update is broken in non-UTF8
compile-time environment (such slang).
acs_map table is not present in non-UTf8 slang.
No success compilation.
Please, see attached fix.
Created attachment 110861 [details]
logo patch fix.
Fedora Core 3 already has utf8-patched system slang, there is no any
other "slang" in official distribution.
What version of slang did you use for compile MC?
there wouldn't occur any problems while compiling mc on FC3, because
it prefers a dependency on libslang-utf8.so than on libslang.so. This
is because a rejection of system slang with UTF-8 support, which I
commented out. (see the last hunk of the mc-utf8.patch)
However, a prevention of acs_map usage with non-UTF8 slang is good to
keep the utf8 patch portable so I'll apply it.
It's now applied.
2Dmitry: I try to compile new mc on system similar to RHEL2.1as.
Yes, of course. This is portable to non-UTF8 systems issue.
Thank you, Jindrich.
P.S> I had seen the patch attached to bug #143415, but it not solves