Merge pull request #112311 from mweinelt/firefox-libpci
firefox: patch libpci.so{,.3} path in glxtest
This commit is contained in:
commit
fc402c15c4
@ -8,7 +8,7 @@
|
|||||||
, yasm, libGLU, libGL, sqlite, unzip, makeWrapper
|
, yasm, libGLU, libGL, sqlite, unzip, makeWrapper
|
||||||
, hunspell, libXdamage, libevent, libstartup_notification
|
, hunspell, libXdamage, libevent, libstartup_notification
|
||||||
, libvpx_1_8
|
, libvpx_1_8
|
||||||
, icu67, libpng, jemalloc, glib
|
, icu67, libpng, jemalloc, glib, pciutils
|
||||||
, autoconf213, which, gnused, rustPackages, rustPackages_1_45
|
, autoconf213, which, gnused, rustPackages, rustPackages_1_45
|
||||||
, rust-cbindgen, nodejs, nasm, fetchpatch
|
, rust-cbindgen, nodejs, nasm, fetchpatch
|
||||||
, gnum4
|
, gnum4
|
||||||
@ -182,6 +182,8 @@ buildStdenv.mkDerivation ({
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
rm -rf obj-x86_64-pc-linux-gnu
|
rm -rf obj-x86_64-pc-linux-gnu
|
||||||
|
substituteInPlace toolkit/xre/glxtest.cpp \
|
||||||
|
--replace 'dlopen("libpci.so' 'dlopen("${pciutils}/lib/libpci.so'
|
||||||
'' + lib.optionalString (pipewireSupport && lib.versionOlder ffversion "83") ''
|
'' + lib.optionalString (pipewireSupport && lib.versionOlder ffversion "83") ''
|
||||||
# substitute the /usr/include/ lines for the libraries that pipewire provides.
|
# substitute the /usr/include/ lines for the libraries that pipewire provides.
|
||||||
# The patch we pick from fedora only contains the generated moz.build files
|
# The patch we pick from fedora only contains the generated moz.build files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user