diff files/patch-lib__pypy___curses__build.py @ 68:b8cea9d588b1 origin

ADD: the latest easily available port of lang/pypy3
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 29 Sep 2022 09:18:39 +0200
parents
children dd6054092884 913b7ccce398
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/files/patch-lib__pypy___curses__build.py	Thu Sep 29 09:18:39 2022 +0200
@@ -0,0 +1,11 @@
+--- lib_pypy/_curses_build.py.orig	2020-03-25 12:13:59 UTC
++++ lib_pypy/_curses_build.py
+@@ -31,6 +31,8 @@ def find_curses_dir_and_name():
+             return base, 'ncursesw'
+         if os.path.exists(os.path.join(base, 'include', 'ncurses')):
+             return base, 'ncurses'
++        if os.path.exists(os.path.join(base, 'lib', 'libncursesw.so')):
++            return base, 'ncursesw'
+     return '', None
+ 
+ base, name = find_curses_dir_and_name()