Project

General

Profile

Actions

Submit #3145

open

Update libelf to FreeBSD 12 current and build as base library usable by ports

Added by davshao over 3 years ago. Updated 4 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Userland
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

patch-libelf.patch (322 KB) patch-libelf.patch davshao, 09/03/2018 11:42 PM
Actions #1

Updated by tuxillo 4 months ago

  • Description updated (diff)
  • Category set to Userland
  • Status changed from New to In Progress
  • Assignee set to tuxillo
Actions #2

Updated by tuxillo 4 months ago

libelf was "internalized" in c1bd0b083cb4a8beb836bce2b7ae50c9069ba5cd within libexecinfo

Actions

Also available in: Atom PDF