[MacPorts] #69688: legacy-support headers don't honor __DARWIN_C_LEVEL

MacPorts noreply at macports.org
Sun Jul 21 01:10:35 UTC 2024


#69688: legacy-support headers don't honor __DARWIN_C_LEVEL
-----------------------------+-----------------------
  Reporter:  fhgwright       |      Owner:  fhgwright
      Type:  defect          |     Status:  assigned
  Priority:  Low             |  Milestone:
 Component:  ports           |    Version:  2.9.3
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+-----------------------

Comment (by fhgwright):

 In [changeset:"b8e7f9837011e31fc99e666a892aee21468ec5c1/macports-legacy-
 support" b8e7f9837011e31fc99e666a892aee21468ec5c1/macports-legacy-support]
 (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-legacy-support"
 revision="b8e7f9837011e31fc99e666a892aee21468ec5c1"
 Add sys/cdefs.h wrapper, and tests.

 This is needed to ensure that the __DARWIN_C_* definitions are
 available with SDKs prior to 10.7.

 Also adds a test for the effects of __DARWIN_C_LEVEL, initially just
 as a test that the three macros are defined.

 Also adds a new manual test, which simply reports the values of the
 relevant macros.

 Re: https://trac.macports.org/ticket/69688

 TESTED:
 Test fails without the new sys/cdefs.h, and passes with it.
 Manual test reports as expected.
 }}}

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


More information about the macports-tickets mailing list