[MacPorts] #69888: nvi build error: ncurses.h: error: redefinition of typedef ‘SCREEN’

MacPorts noreply at macports.org
Wed May 1 19:50:37 UTC 2024


#69888: nvi build error: ncurses.h: error: redefinition of typedef ‘SCREEN’
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.3
 Keywords:                |       Port:  nvi
--------------------------+--------------------
 {{{
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I.  -D__REGEX_PRIVATE -I. -I./../include
 -DVI=\"/opt/local/bin/`echo vi-ipc | sed 's&^&n&'`\" -I./../regex
 -I/opt/local/include -I/opt/local/include/db48  -O -c -o vi-cl_main.o
 `test -f './../cl/cl_main.c' || echo './'`./../cl/cl_main.c
 In file included from ./../cl/cl.h:22,
                  from ./../cl/cl_funcs.c:32:
 /opt/local/include/ncurses.h:461: error: redefinition of typedef ‘SCREEN’
 /opt/local/include/term.h:60: error: previous declaration of ‘SCREEN’ was
 here
 /opt/local/include/ncurses.h:1025: error: redefinition of typedef
 ‘NCURSES_OUTC_sp’
 /opt/local/include/term.h:71: error: previous declaration of
 ‘NCURSES_OUTC_sp’ was here
 make[1]: *** [vi-cl_funcs.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 In file included from ./../cl/cl.h:22,
                  from ./../cl/cl_main.c:32:
 /opt/local/include/ncurses.h:461: error: redefinition of typedef ‘SCREEN’
 /opt/local/include/term.h:60: error: previous declaration of ‘SCREEN’ was
 here
 /opt/local/include/ncurses.h:1025: error: redefinition of typedef
 ‘NCURSES_OUTC_sp’
 /opt/local/include/term.h:71: error: previous declaration of
 ‘NCURSES_OUTC_sp’ was here
 make[1]: *** [vi-cl_main.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69888>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list