[MacPorts] #53421: port selfupdate failed for Version 2.4.0 on 10.4.11 Tiger

MacPorts noreply at macports.org
Sun Jan 29 03:21:54 UTC 2017


#53421: port selfupdate failed for Version 2.4.0 on 10.4.11 Tiger
----------------------+-------------------
  Reporter:  feilipu  |      Owner:
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  base     |    Version:  2.4.0
Resolution:           |   Keywords:  tiger
      Port:           |
----------------------+-------------------

Comment (by kencu):

 This is going to be another example of the `#ifndef _POSIX_C_SOURCE` guard
 issue on 10.4, I think. In 10.5 and above, the guard was like this `#if
 !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)`, and
 `_DARWIN_C_SOURCE` is defined on DARWIN and so enables the block in the
 included file.

 The usual workaround that I've used elsewhere (libassuan, etc) is to
 undefine `_POSIX_C_SOURCE`, include the file, and then redefine it
 afterwards.

--
Ticket URL: <https://trac.macports.org/ticket/53421#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list