[MacPorts] #69963: vte fails on 10.6 and earlier: error: 'F_DUPFD_CLOEXEC' was not declared in this scope

MacPorts noreply at macports.org
Sun May 12 05:00:00 UTC 2024


#69963: vte fails on 10.6 and earlier: error: 'F_DUPFD_CLOEXEC' was not declared in
this scope
-----------------------------------------+---------------------------------
 Reporter:  barracuda156                 |      Owner:  mascguy
     Type:  defect                       |     Status:  assigned
 Priority:  Normal                       |  Milestone:
Component:  ports                        |    Version:  2.9.3
 Keywords:  tiger, leopard, snowleopard  |       Port:  vte, legacy-support
-----------------------------------------+---------------------------------
 {{{
 In file included from ../vte-0.76.0/src/decoder-cat.cc:36:
 ../vte-0.76.0/src/libc-glue.hh: In function 'int
 vte::libc::fd_dup_cloexec(int, int)':
 ../vte-0.76.0/src/libc-glue.hh:223:34: error: 'F_DUPFD_CLOEXEC' was not
 declared in this scope; did you mean 'FD_CLOEXEC'?
   223 |                 r = fcntl(oldfd, F_DUPFD_CLOEXEC, newfd);
       |                                  ^~~~~~~~~~~~~~~
       |                                  FD_CLOEXEC
 }}}

 Apparently `legacy-support` does not provide this.

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


More information about the macports-tickets mailing list