jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / python / python37 / patches / 31-ncurses.patch
blob847f6f8141844e8e492e82a3dccd3cf863c8a5ad
1 OmniOSCE
3 diff -wpruN '--exclude=*.orig' a~/setup.py a/setup.py
4 --- a~/setup.py 1970-01-01 00:00:00
5 +++ a/setup.py 1970-01-01 00:00:00
6 @@ -1331,6 +1331,9 @@ class PyBuildExt(build_ext):
7 curses_defines = []
8 curses_includes = []
9 panel_library = 'panel'
10 + if host_platform == 'sunos5':
11 + curses_library = 'ncurses'
13 if curses_library == 'ncursesw':
14 curses_defines.append(('HAVE_NCURSESW', '1'))
15 curses_includes.append('/usr/include/ncursesw')