[MacPorts] #69867: legacy-support headers should work with later SDK versions

MacPorts noreply at macports.org
Wed Jun 19 15:25:40 UTC 2024


#69867: legacy-support headers should work with later SDK versions
-----------------------------+-----------------------
  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:"4405385bb024205da873fb3b4aabf9099b1cd5be/macports-legacy-
 support" 4405385bb024205da873fb3b4aabf9099b1cd5be/macports-legacy-support]
 (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-legacy-support"
 revision="4405385bb024205da873fb3b4aabf9099b1cd5be"
 Move renameat() to the proper header.

 Commit e9cf5ab3 moved the renameat() declaration from sys/stdio.h to
 stdio.h, but this is incompatible with the normal header setup.
 This moves it back to restore compatibility, but requires knowledge
 of the SDK version to cope with the absence of sys/stdio.h in
 pre-10.10 SDKs.  This is handled via the new sdkversion.h.

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

 TESTED:
 Builds and passes tests on all platforms, including the new test for
 this issue.
 }}}

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


More information about the macports-tickets mailing list