[Rpm-maint] [rpm-software-management/rpm] Fix stat64 handling on Intel macOS (PR #1897)
Carlo Cabrera
notifications at github.com
Tue Jan 25 04:52:12 UTC 2022
ad87ced fixed compilation for ARM64 macOS, but it broke builds on Intel
macOS.
Let's fix it by gating the changes from ad87ced behind
`_DARWIN_FEATURE_ONLY_64_BIT_INODE`. This macro is defined whenever the
ARM64 macOS fix is appropriate, but only after we've included
`sys/cdefs.h`.
This does mean that we're still using a deprecated API on Intel macOS
10.6+. I looked into avoiding this, but it seems to require more
significant refactoring. It's not clear that these changes would be
worth it given that Apple is slowly phasing out their Intel machines.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1897
-- Commit Summary --
* Fix stat64 handling on Intel macOS
-- File Changes --
M misc/fts.c (11)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1897.patch
https://github.com/rpm-software-management/rpm/pull/1897.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1897
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/1897 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220124/41226a58/attachment-0001.html>
More information about the Rpm-maint
mailing list