Mercurial > hgrepos > FreeBSD > ports > PyPy
diff 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 |
line wrap: on
line diff
--- a/files/patch-lib__pypy___curses__build.py Mon Oct 03 11:37:45 2022 +0200 +++ b/files/patch-lib__pypy___curses__build.py Mon Oct 03 16:26:10 2022 +0200 @@ -1,8 +1,8 @@ ---- lib_pypy/_curses_build.py.orig 2020-03-25 12:13:59 UTC +--- lib_pypy/_curses_build.py.orig 2022-03-28 09:50:42 UTC +++ lib_pypy/_curses_build.py -@@ -31,6 +31,8 @@ def find_curses_dir_and_name(): +@@ -37,6 +37,8 @@ def find_curses_dir_and_name(): return base, 'ncursesw' - if os.path.exists(os.path.join(base, 'include', 'ncurses')): + if os.path.exists(os.path.join(base, 'lib', 'libncurses.so')): return base, 'ncurses' + if os.path.exists(os.path.join(base, 'lib', 'libncursesw.so')): + return base, 'ncursesw'
