Kirill K. Smirnov 285915cb38 ncurses: correctly parse sofisticated gcc version
On canadian cross build-gcc reports its version as '13-win32'.
ncurses >=6.3 correctly interprets this line as '13', but older
ncurses versions fail and jump into wrong conclusions.

Let's cherry-pick related changes from mainline ncurses.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2023-08-04 16:44:14 +12:00
..
2017-09-29 17:05:22 -07:00