[MacPorts] #72406: Wrapper headers shouldn't reference disabled features

MacPorts noreply at macports.org
Tue May 20 22:32:45 UTC 2025


#72406: Wrapper headers shouldn't reference disabled features
-----------------------------+-----------------------
  Reporter:  fhgwright       |      Owner:  fhgwright
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  legacy-support  |    Version:
Resolution:  fixed           |   Keywords:
      Port:                  |
-----------------------------+-----------------------
Changes (by fhgwright):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"2bd768a2572dab71c38615afe03c9d82cc5ebc6c/macports-legacy-
 support" 2bd768a2572dab71c38615afe03c9d82cc5ebc6c/macports-legacy-support]
 (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-legacy-support"
 revision="2bd768a2572dab71c38615afe03c9d82cc5ebc6c"
 sys/stat.h: Avoid possibly undefined filesec_t on 10.4

 On 10.4, _DARWIN_C_SOURCE can't be used to override _POSIX_C_SOURCE,
 so filesec_t may be undefined, causing errors.  In addition, other
 functions may be unexpectedly declared in this case.  To fix this,
 we condition the effect of _DARWIN_C_SOURCE on the SDK version being
 10.5 or later.

 Closes: https://trac.macports.org/ticket/72406

 TESTED:
 Passes all tests, including new allheaders tests.
 }}}

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


More information about the macports-tickets mailing list