Files
packages/lang
Alexandru Ardelean d883c02a41 python3: pin host curses to the SDK's narrow ncurses
Removing the ncursesw path from include avoids seeing the wide-char
version of ncurses, so the host build picks up the narrow static lib
that the OpenWrt SDK stages. To keep that pin from leaking back in
through other curses headers the build host may have under
/usr/include, also force every header check in Python's configure.ac
AC_CHECK_HEADERS(curses.h ncurses.h ncursesw/ncurses.h
ncursesw/curses.h ncursesw/panel.h panel.h) line to "no" via cached
ac_cv_header_* variables.

The narrow ncursesw_* trio was enough on the original reporter's
host; Jan Kardell's review of the first cut hit a build where
`/usr/include/curses.h` and `/usr/include/ncurses.h` from the
distro's libncurses-dev were still being picked up. Adding the
non-wide entries (and panel.h for symmetry, in case a host also
ships /usr/include/panel.h alone) makes the override insensitive to
whichever curses dev packages the host distro happens to provide.

Reported-by: Jan Kardell <jan.kardell@telliq.com>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-30 09:28:30 +03:00
..
2026-05-11 14:39:57 +03:00
2026-04-05 15:48:32 +03:00
2026-05-08 22:28:27 +02:00
2025-11-13 19:18:37 +02:00
2026-05-08 22:28:27 +02:00
2026-03-15 09:08:57 +02:00
2025-05-11 21:23:49 +03:00
2025-06-01 10:18:38 +03:00