mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-14 12:48:57 +00:00
buildMozillaMach: backport BZ 2047651 patch for 153
This commit is contained in:
@@ -349,6 +349,24 @@ buildStdenv.mkDerivation {
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=2046162
|
||||
./153-cbindgen-0.29.4-compat.patch
|
||||
]
|
||||
++
|
||||
# Fixes `ld.lld: error: undefined symbol: FREEBL_GetVector`
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=2047651
|
||||
lib.optionals
|
||||
(
|
||||
lib.versionAtLeast version "153"
|
||||
&& lib.versionOlder version "154"
|
||||
# We don't set --with-system-nss on Darwin, so it should be
|
||||
# unaffected.
|
||||
&& !stdenv.hostPlatform.isDarwin
|
||||
)
|
||||
[
|
||||
(fetchpatch {
|
||||
name = "link-freebl-explicitly-for-system-nss-builds.patch";
|
||||
url = "https://hg-edge.mozilla.org/mozilla-central/raw-rev/1a56071ddc0fe97a55c3b825e1dd33c8422b9fc1";
|
||||
hash = "sha256-+HiU7RMPmV7I7SIzjP0Q6iSDJL/vBjc3UcwUTg57lNQ=";
|
||||
})
|
||||
]
|
||||
++ extraPatches;
|
||||
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user