[MacPorts] #59992: ncurses at 6.1 : /opt/local/include/unctrl.h:60:63: error: unknown type name 'SCREEN'

MacPorts noreply at macports.org
Sun Mar 29 15:52:45 UTC 2020


#59992: ncurses at 6.1 : /opt/local/include/unctrl.h:60:63: error: unknown type name
'SCREEN'
----------------------+----------------------
  Reporter:  kencu    |      Owner:  jmroot
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  ncurses  |
----------------------+----------------------

Comment (by kencu):

 FYI, this is what I did in our `uncrtl.h`
 {{{
 #include <curses.h>

 #undef unctrl
 NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype);

 #if NCURSES_VERSION_MAJOR > 5
 #if 1
 NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*,
 chtype);
 #endif
 #endif
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59992#comment:28>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list