Mercurial > hgrepos > FreeBSD > ports > PyPy
comparison files/patch-lib__pypy___curses__build.py @ 17:dd6054092884
Update the curses patch
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 03 Oct 2022 16:26:10 +0200 |
| parents | 5797a1bc38cb |
| children |
comparison
equal
deleted
inserted
replaced
| 16:f02a08eefd82 | 17:dd6054092884 |
|---|---|
| 1 --- lib_pypy/_curses_build.py.orig 2020-03-25 12:13:59 UTC | 1 --- lib_pypy/_curses_build.py.orig 2022-03-28 09:50:42 UTC |
| 2 +++ lib_pypy/_curses_build.py | 2 +++ lib_pypy/_curses_build.py |
| 3 @@ -31,6 +31,8 @@ def find_curses_dir_and_name(): | 3 @@ -37,6 +37,8 @@ def find_curses_dir_and_name(): |
| 4 return base, 'ncursesw' | 4 return base, 'ncursesw' |
| 5 if os.path.exists(os.path.join(base, 'include', 'ncurses')): | 5 if os.path.exists(os.path.join(base, 'lib', 'libncurses.so')): |
| 6 return base, 'ncurses' | 6 return base, 'ncurses' |
| 7 + if os.path.exists(os.path.join(base, 'lib', 'libncursesw.so')): | 7 + if os.path.exists(os.path.join(base, 'lib', 'libncursesw.so')): |
| 8 + return base, 'ncursesw' | 8 + return base, 'ncursesw' |
| 9 return '', None | 9 return '', None |
| 10 | 10 |
