mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
firefox-unwrapped: Apply patch for mozbz#1803016
https://bugzilla.mozilla.org/show_bug.cgi?id=1803016
Resolves crashes on wayland, when the either component of the window size
wouldn't be divisible by the desktop scaling.
Unfortunately marked wontfix for Firefox 112, so we apply this patch
instead.
Closes: #226539
(cherry picked from commit b979f3be1f)
This commit is contained in:
committed by
github-actions[bot]
parent
d4e440735c
commit
2e9847243a
@@ -222,7 +222,15 @@ buildStdenv.mkDerivation ({
|
||||
"profilingPhase"
|
||||
];
|
||||
|
||||
patches = [ ]
|
||||
patches = lib.optionals (lib.versionAtLeast version "112.0" && lib.versionOlder version "113.0") [
|
||||
(fetchpatch {
|
||||
# Crash when desktop scaling does not divide window scale on Wayland
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1803016
|
||||
name = "mozbz1803016.patch";
|
||||
url = "https://hg.mozilla.org/mozilla-central/raw-rev/1068e0955cfb";
|
||||
hash = "sha256-iPqmofsmgvlFNm+mqVPbdgMKmP68ANuzYu+PzfCpoNA=";
|
||||
})
|
||||
]
|
||||
++ lib.optional (lib.versionOlder version "111") ./env_var_for_system_dir-ff86.patch
|
||||
++ lib.optional (lib.versionAtLeast version "111") ./env_var_for_system_dir-ff111.patch
|
||||
++ lib.optional (lib.versionAtLeast version "96") ./no-buildconfig-ffx96.patch
|
||||
|
||||
Reference in New Issue
Block a user