Submit #3145
Update libelf to FreeBSD 12 current and build as base library usable by ports
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/03/2018
Due date:
% Done:
0%
Estimated time:
Description
DragonFly dports graphics/mesa-dri has
LIB_DEPENDS+= libelf.so:devel/libelf
FreeBSD links with its own base libelf and does not use ports devel/libelf.
FreeBSD is right in its approach. ports devel/libelf and base libelf are
different code bases. Ports or pkgsrc devel/libelf appears to have problems
with modern mesa. This can be seen using some Radeon graphics cards where
Firefox with
user_pref("layers.acceleration.force-enabled", true);
results in a completely black window when trying to start Firefox with
something like
LD_PRELOAD=/usr/local/lib/libGL.so firefox &
What is notable about this patch is just how little the result will
differ from FreeBSD 12 current's version.
Files