diff files/patch-lib__pypy___curses__build.py @ 3:0821ef77e993

MERGE: the "origin" branch with the existing ports files
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 28 Sep 2022 22:15:25 +0200
parents 5797a1bc38cb
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	Wed Sep 28 22:15:25 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()