Blame view

buildroot/buildroot-2016.08.1/package/python3/0014-Do-not-harcode-invalid-path-to-ncursesw-headers.patch 1.07 KB
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  From be44636b36086ca1b6de24265b7c3cc0c2bae913 Mon Sep 17 00:00:00 2001
  From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  Date: Wed, 23 Dec 2015 11:45:13 +0100
  Subject: [PATCH] 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>
  ---
   setup.py | 1 -
   1 file changed, 1 deletion(-)
  
  diff --git a/setup.py b/setup.py
  index 15b39f5..9e08e7e 100644
  --- a/setup.py
  +++ b/setup.py
  @@ -1296,7 +1296,6 @@ class PyBuildExt(build_ext):
           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'
  -- 
  2.6.4