summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorWesley Merkel <ooesili@gmail.com>2021-04-14 10:52:28 -0500
committerWesley Merkel <ooesili@gmail.com>2021-04-14 10:52:28 -0500
commit2fc271ffdd331e428f5ca4fc883be9ca9e3034f7 (patch)
treede4559b24fbdf115cbbe5f699c762723a432822d /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent59917dc3a9012fa74a127cd5b107a45c711942be (diff)
Add Firefox libs to beginning of LD_LIBRARY_PATH
When firefox is executed by programs that also make changes to `LD_LIBRARY_PATH`, the paths can conflict causing firefox to look for shared libraries in the wrong location. This is because the wrapper script around firefox *appends* library paths to `LD_LIBRARY_PATH` instead of prepending them, causing library paths that are already in the environment to take precedence over the library paths that firefox depends on. As an example, Discord and firefox both depend on different versions of libnss. When Discord launches firefox, which happens when clicking on hyperlinks, the path in `LD_LIBRARY_PATH` to libnss set by Discord takes precedence over then one set by the firefox wrapper script causing firefox to load a different version of libnss than the one it was built against. This causes a fatal error in firefox which prevents it from starting. This commit fixes this issue by switching the firefox wrapper script to *prepend* its library paths to `LD_LIBRARY_PATH`. Fixes #118432
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions