lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 1dc93065588c043d74648266fed46b39085549fb
parent 022fb434cff9c271e984cf72fcddd41a82ba7a09
Author: Alexandru Ardelean <ardeleanalex@gmail.com>
Date:   Tue, 21 Apr 2015 10:19:29 +0300

python: do not prefer ncursesw over ncurses

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

Diffstat:
Alang/python/patches/011-do-not-prefer-ncursesw.patch | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/lang/python/patches/011-do-not-prefer-ncursesw.patch b/lang/python/patches/011-do-not-prefer-ncursesw.patch @@ -0,0 +1,15 @@ +diff --git a/setup.py b/setup.py +index 7868b7b..86b0119 100644 +--- a/setup.py ++++ b/setup.py +@@ -725,8 +725,8 @@ class PyBuildExt(build_ext): + # use the same library for the readline and curses modules. + if 'curses' in readline_termcap_library: + curses_library = readline_termcap_library +- elif self.compiler.find_library_file(lib_dirs, 'ncursesw'): +- curses_library = 'ncursesw' ++ #elif self.compiler.find_library_file(lib_dirs, 'ncursesw'): ++ # curses_library = 'ncursesw' + elif self.compiler.find_library_file(lib_dirs, 'ncurses'): + curses_library = 'ncurses' + elif self.compiler.find_library_file(lib_dirs, 'curses'):