patching ncurses for solaris 9
rmottola at opencsw.org
Wed Jun 10 16:09:59 CEST 2020
you might have noticed I have updated ncurses to latest.
Fine and cool... however on solaris it compiles, but does not work.
The issue is I think "easy":
I need to patch a file... I think just a header include is missing but
it is "generated"
configure:22605: /opt/csw/bin/gcc-4.6 -c -O2 -pipe
-fno-omit-frame-pointer -mcpu=v8 -I/opt/cs
w/include -D_FILE_OFFSET_BITS=64 -D__EXTENSIONS__ -I/opt/csw/include
/csw/include/ncurses -I/opt/csw/include conftest.c >&5
In file included from configure:22594:0:
/opt/csw/include/ncurses/ncurses.h:185:1: error: unknown type name
/opt/csw/include/ncurses/ncurses.h:186:1: error: unknown type name
I think it is just a matter of adding inttypes.h if memory serves me.
However interesting is this generated header, it contains:
#if 1 && defined(_LP64)
typedef unsigned chtype;
typedef unsigned mmask_t;
typedef uint32_t chtype;
typedef uint32_t mmask_t;
so there is incredibly a "test" but only for _LP64... "1" is for sure
result of some test, but I cannot find the logic or template of ncurses.h
Can some kind hacker help me?
More information about the maintainers