0014-Do-not-harcode-invalid-path-to-ncursesw-headers.patch 1.1 KB

123456789101112131415161718192021222324252627282930
  1. From f33d59b67f26649babc8c91e38eff9bc817d0470 Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. Date: Wed, 23 Dec 2015 11:45:13 +0100
  4. Subject: [PATCH] Do not harcode invalid path to ncursesw headers
  5. Adding /usr/include/ncursesw is obviously invalid when
  6. cross-compiling. Since the ncursesw headers are no longer installed in
  7. usr/include/ncursesw/, but directly in usr/include, there is anyway no
  8. need for a special header path.
  9. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  10. ---
  11. setup.py | 1 -
  12. 1 file changed, 1 deletion(-)
  13. diff --git a/setup.py b/setup.py
  14. index d02012d..cc2f00b 100644
  15. --- a/setup.py
  16. +++ b/setup.py
  17. @@ -1326,7 +1326,6 @@ class PyBuildExt(build_ext):
  18. panel_library = 'panel'
  19. if curses_library == 'ncursesw':
  20. curses_defines.append(('HAVE_NCURSESW', '1'))
  21. - curses_includes.append('/usr/include/ncursesw')
  22. # Bug 1464056: If _curses.so links with ncursesw,
  23. # _curses_panel.so must link with panelw.
  24. panel_library = 'panelw'
  25. --
  26. 2.7.4