I noticed some Slang-related issues by compiling Midnight Commander with UTF8 support on Mac OS X:
1. REAL_UNIX_SYSTEM should be set to 'defined' in slang.h on OS X. Otherwise, some external reference cannot be resolved when linked by other applications such as Midnight Commander. Define __APPLE__ will solve this.
2. Recent ncurses(w) (at least for version 5.6) provides ncurses(w)5- config for finding out where the terminfo databse is. However, MISC_TERMINFO_DIRS is kinda hard-coded to $FINKPREFIX.
Please see the attached diff file. - Wenchieh Yen
Attachment:
slang-2.1.2.patch
Description: Binary data