Re: [MacPorts] #43203: dbus not building on 10.6.8. ‘O_CLOEXEC’ undeclared

MacPorts noreply at macports.org
Sat Apr 5 06:38:01 PDT 2014


#43203: dbus not building on 10.6.8. ‘O_CLOEXEC’ undeclared
------------------------+------------------------
  Reporter:  gnurser@…  |      Owner:  mcalhoun@…
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.2.1
Resolution:             |   Keywords:
      Port:  dbus       |
------------------------+------------------------

Comment (by mcalhoun@…):

 For the sake of completeness:

 In an attempt to fix a [https://bugs.freedesktop.org/show_bug.cgi?id=72213
 bug],
 the developers of dbus made a
 [http://cgit.freedesktop.org/dbus/dbus/commit/bus/dir-watch-
 kqueue.c?id=f4618906b0dce251cdc3125b60239f7dd0df7183 one line change]
 to the file [http://cgit.freedesktop.org/dbus/dbus/commit/bus/dir-watch-
 kqueue.c dir-watch-kqueue.c] with
 the suggestion that _dbus_fd_set_close_on_exec be used if O_CLOEXEC were
 not available.

 In OS X,
 [https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/open.2.html
 O_CLOEXEC]
 was
 [https://developer.apple.com/library/mac/releasenotes/General/MacOSXLionAPIDiffs/Kernel.html
 added in Lion].

 r118593 is an attempt to follow that suggestion, but I do not have a test
 machine.

 Any feedback?

-- 
Ticket URL: <https://trac.macports.org/ticket/43203#comment:15>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list