diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-02-08 22:23:24 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-02-12 22:28:17 +0100 |
commit | 414d7e97a7359be87ef3b622c409e4200a8991ff (patch) | |
tree | b2afe92f765e746c9281b5a5d362097fc62c9da5 /package/python3/018-ncursesw-remove-wrong-includedir.patch | |
parent | 0b173fd795036b61abf09b2f324347a94ba41ed2 (diff) | |
download | buildroot-414d7e97a7359be87ef3b622c409e4200a8991ff.tar.gz buildroot-414d7e97a7359be87ef3b622c409e4200a8991ff.zip |
python3: fix invalid ncursesw header path
This commit adds a patch to python3 that makes sure it does not use an
invalid header path (pointing to host headers) when including ncursesw
support.
Fixes:
http://autobuild.buildroot.org/results/9bd/9bdaa392e8dd00c6ebee156b758e3c0cac480237/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python3/018-ncursesw-remove-wrong-includedir.patch')
-rw-r--r-- | package/python3/018-ncursesw-remove-wrong-includedir.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/python3/018-ncursesw-remove-wrong-includedir.patch b/package/python3/018-ncursesw-remove-wrong-includedir.patch new file mode 100644 index 0000000000..ae87bbf7fa --- /dev/null +++ b/package/python3/018-ncursesw-remove-wrong-includedir.patch @@ -0,0 +1,21 @@ +Do not harcode invalid path to ncursesw headers + +Adding /usr/include/ncursesw is obviously invalid when +cross-compiling. Since the ncursesw headers are no longer installed in +usr/include/ncursesw/, but directly in usr/include, there is anyway no +need for a special header path. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: b/setup.py +=================================================================== +--- a/setup.py ++++ b/setup.py +@@ -1287,7 +1287,6 @@ + panel_library = 'panel' + if curses_library == 'ncursesw': + curses_defines.append(('HAVE_NCURSESW', '1')) +- curses_includes.append('/usr/include/ncursesw') + # Bug 1464056: If _curses.so links with ncursesw, + # _curses_panel.so must link with panelw. + panel_library = 'panelw' |