Opened 6 months ago

Closed 6 months ago

#69963 closed defect (fixed)

vte fails on 10.6 and earlier: error: 'F_DUPFD_CLOEXEC' was not declared in this scope

Reported by: barracuda156 Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: tiger, leopard, snowleopard Cc: dbevans (David B. Evans)
Port: vte, legacy-support

Description

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.

Change History (2)

comment:1 Changed 6 months ago by barracuda156

Apparently same issue as here: https://trac.macports.org/changeset/115816

comment:2 Changed 6 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 0469e264a90b0245bf35757144ab961581d66d5a/macports-ports (master):

vte: fix build on < 10.7

Fixes: #69963

Note: See TracTickets for help on using tickets.