[MacPorts] #71123: aalib fails to build against current ncurses: aacurses.c: error: dereferencing pointer to incomplete type
MacPorts
noreply at macports.org
Sat Oct 19 16:21:27 UTC 2024
#71123: aalib fails to build against current ncurses: aacurses.c: error:
dereferencing pointer to incomplete type
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.2
Resolution: | Keywords:
Port: aalib |
---------------------------+--------------------
Comment (by ryandesign):
This software is from 2001. It accesses ncurses struct fields directly.
Some time ago, ncurses started making its structures opaque. The aalib
Portfile tries to tell ncurses to allow access to these opaque structs by
defining `NCURSES_OPAQUE` to `0`. However, ncurses 6.5, released in 2024,
makes the `WINDOW` struct opaque and `NCURSES_OPAQUE` does not seem to
have any effect anymore. To continue to be able to compile this software,
it will have to be rewritten to avoid accessing struct fields directly.
Maybe there is already a patch available from another distribution.
--
Ticket URL: <https://trac.macports.org/ticket/71123#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list