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

MacPorts noreply at macports.org
Tue Aug 6 04:20:06 UTC 2024


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

Comment (by fhgwright):

 In [changeset:"ceccb8bb27da3987f9c191f0ad8181998af1831c/macports-ports"
 ceccb8bb27da3987f9c191f0ad8181998af1831c/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="ceccb8bb27da3987f9c191f0ad8181998af1831c"
 legacy-support: Update to v1.3.0.

 - Adds optional security wrapper for stpncpy().
   Re: https://trac.macports.org/ticket/69878

 - Moves renameat() prototype to the proper header location.

 - Fixes incorrect CLOCK_UPTIME_RAW_APPROX definition.

 - Eliminates spurious fmemopen() in OSes that don't need it.

 - Adds appropriate __DARWIN_C_LEVEL conditionals, as in SDK headers.
   Re: https://trac.macports.org/ticket/69688

 - Reworks headers for "mismatched" SDK compatibility.
   Re: https://trac.macports.org/ticket/69867

 - Makes clockid_t an enum, matching SDK behavior.

 - Adds SLIST_REMOVE_AFTER, SLIST_HEAD_INITIALIZER.
   Re: https://trac.macports.org/ticket/69890

 - Adds fgetattrlist().
   Closes: https://trac.macports.org/ticket/70350

 Portfile changes:

 - Removes obsolete portion of Tiger-specific additions.

 - Moves atexit removal from post-extract to pre-patch, to respect
   expected phase behavior.

 TESTED:
 Tested both normal and -devel versions (currently identical) on
 10.4-10.5 ppc, 10.5-10.6 ppc (i386 Rosetta), 10.4-10.6 i386, 10.4-12.x
 x86_64, and 11.x-14.x arm64.
 Builds on all tested platforms except 10.4 ppc +universal.
 Passes all tests in all buildable cases.
 }}}

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


More information about the macports-tickets mailing list