changeset 17:dd6054092884

Update the curses patch
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 03 Oct 2022 16:26:10 +0200
parents f02a08eefd82
children cb562cb4ec47
files files/patch-lib__pypy___curses__build.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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'