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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Jul 2021 05:21:55 +0000

russo_at_bogodyn.org changed:

           What    |Removed                     |Added
                 CC|                            |russo_at_bogodyn.org

--- Comment #1 from russo_at_bogodyn.org ---
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

You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Jul 26 2021 - 05:21:55 UTC

Original text of this message