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)
URL:
Keywords:
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)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niclas Zeising freebsd_committer freebsd_triage 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:
http://package18.nyi.freebsd.org/data/headamd64PR236398-default/2019-03-08_21h13m25s/logs/errors/mesa-dri-18.3.2_2.log
Use this PR to track progress on this issue.
Comment 1 Niclas Zeising freebsd_committer freebsd_triage 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 freebsd_triage 2021-11-19 14:14:57 UTC
Fixed a while ago.