1c2643833481ac990fafe8f43e25045a8a1ff897
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / python3 / 018-ncursesw-remove-wrong-includedir.patch
1 Do not harcode invalid path to ncursesw headers
2
3 Adding /usr/include/ncursesw is obviously invalid when
4 cross-compiling. Since the ncursesw headers are no longer installed in
5 usr/include/ncursesw/, but directly in usr/include, there is anyway no
6 need for a special header path.
7
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
10 Index: b/setup.py
11 ===================================================================
12 --- a/setup.py
13 +++ b/setup.py
14 @@ -1276,7 +1276,6 @@
15          panel_library = 'panel'
16          if curses_library == 'ncursesw':
17              curses_defines.append(('HAVE_NCURSESW', '1'))
18 -            curses_includes.append('/usr/include/ncursesw')
19              # Bug 1464056: If _curses.so links with ncursesw,
20              # _curses_panel.so must link with panelw.
21              panel_library = 'panelw'