From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../use_sysroot_ncurses_instead_of_host.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 external/meta-python2/recipes-devtools/python/python/use_sysroot_ncurses_instead_of_host.patch (limited to 'external/meta-python2/recipes-devtools/python/python/use_sysroot_ncurses_instead_of_host.patch') diff --git a/external/meta-python2/recipes-devtools/python/python/use_sysroot_ncurses_instead_of_host.patch b/external/meta-python2/recipes-devtools/python/python/use_sysroot_ncurses_instead_of_host.patch new file mode 100644 index 00000000..fb4a3bcf --- /dev/null +++ b/external/meta-python2/recipes-devtools/python/python/use_sysroot_ncurses_instead_of_host.patch @@ -0,0 +1,21 @@ +Python tries to use ncursesw from the host, +if it is not found causes an error on configure, +we should use ncursesw from sysroot instead + +Upstream-Status: Pending + +Signed-off-by: Alejandro Hernandez + +Index: Python-2.7.9/configure.ac +=================================================================== +--- Python-2.7.9.orig/configure.ac ++++ Python-2.7.9/configure.ac +@@ -4311,7 +4311,7 @@ fi + + # first curses configure check + ac_save_cppflags="$CPPFLAGS" +-CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw" ++CPPFLAGS="$CPPFLAGS -I=/usr/include/ncursesw" + + AC_CHECK_HEADERS(curses.h ncurses.h) + -- cgit 1.2.3-korg