018-ncursesw-remove-wrong-includedir.patch 839 B

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