Opened 4 years ago

Closed 4 years ago

#60573 closed defect (fixed)

urbit: error: use of undeclared identifier 'O_CLOEXEC'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: l2dy (Zero King)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: urbit

Description

urbit fails to build on 10.6 because:

../urbit-0.7.1/subprojects/libh2o/lib/common/file.c:39:35: error: use of undeclared identifier 'O_CLOEXEC'
    if ((fd = open(fn, O_RDONLY | O_CLOEXEC)) == -1)
                                  ^
1 error generated.

Using the legacysupport portgroup may help.

Change History (1)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 412aea71f9a099daaebbfdf97e44544d21c63446/macports-ports (master):

urbit: Add legacysupport for O_CLOEXEC

Closes: #60573

Note: See TracTickets for help on using tickets.