Bug 236460 - graphics/mesa-dri: Fix issues with /usr/include/endian.h (D19500)
Summary: graphics/mesa-dri: Fix issues with /usr/include/endian.h (D19500)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
Depends on:
Blocks: 236398
  Show dependency treegraph
Reported: 2019-03-11 08:58 UTC by Niclas Zeising
Modified: 2021-11-19 14:14 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Note You need to log in before you can comment on or make changes to this bug.
Description Niclas Zeising freebsd_committer 2019-03-11 08:58:39 UTC
In https://reviews.freebsd.org/D19500 a proposal is made to create a symlink from /usr/include/sys/endian.h to /usr/include/endian.h.  This causes issues with mesa-dri:
Use this PR to track progress on this issue.
Comment 1 Niclas Zeising freebsd_committer 2019-03-11 13:39:25 UTC
Seems like this is an issue with our endian.h defining bswap32 (and friends), which also is defined in the mesa source.  I've updated the differential with a comment as to how it seems to break, and why.
Comment 2 Emmanuel Vadot freebsd_committer 2021-11-19 14:14:57 UTC
Fixed a while ago.