[Bug 257305] graphics/mesa-libs: fails to build on freebsd 11.4 (amd64)

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257305

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
It appears this is a long known incompatibility with FreeBSD11, and there
used to be a patch to address it in mesa-dri.  That patch was
patch-src_util_build__id.c in graphics/mesa-dri/files, but it was removed in
commit 22a85734f.

The mesa-libs port pulls all its patch files from the mesa-dri/files directory,
and so when this patch was removed it broke mesa-libs.

restoring this file to graphics/mesa-dri/files returns mesa-libs to a state
where it can build on 11.4.

I am attaching the patch-src_util_build__id.c file that used to be present in
the graphics/mesa-dri/files directory.  You can simply pop it back there and
get mesa-libs installed again.  I do not know if doing so would break the build
on 12 or 13, but it's been there for ages and is mentioned in the year-old bug
report on the mesa gitlab site (mentioned in commit message for commit
3662ce6c0)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.