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

MacPorts noreply at macports.org
Wed Jul 24 21:27:07 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:"a16240162b34f3a69eab8c529bd6bef7d25d51df/macports-ports"
 a16240162b34f3a69eab8c529bd6bef7d25d51df/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="a16240162b34f3a69eab8c529bd6bef7d25d51df"
 legacy-support-devel: Update to latest master.

 Since the previous legacy-support-devel:

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

 - Adds fgetattrlist()

 In the previous legacy-support-devel, since v1.2.4:

 - 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.

 TESTED:
 Tested both normal and -devel versions 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:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list