Merge #227045: firefox-unwrapped: Apply patch for mozbz#1803016

+6 -5
+6 -5
pkgs/applications/networking/browsers/firefox/common.nix
··· 221 221 "profilingPhase" 222 222 ]; 223 223 224 - patches = lib.optionals (lib.versionOlder version "102.6.0") [ 224 + patches = lib.optionals (lib.versionAtLeast version "112.0" && lib.versionOlder version "113.0") [ 225 225 (fetchpatch { 226 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1773259 227 - name = "rust-cbindgen-0.24.2-compat.patch"; 228 - url = "https://raw.githubusercontent.com/canonical/firefox-snap/5622734942524846fb0eb7108918c8cd8557fde3/patches/fix-ftbfs-newer-cbindgen.patch"; 229 - hash = "sha256-+wNZhkDB3HSknPRD4N6cQXY7zMT/DzNXx29jQH0Gb1o="; 226 + # Crash when desktop scaling does not divide window scale on Wayland 227 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1803016 228 + name = "mozbz1803016.patch"; 229 + url = "https://hg.mozilla.org/mozilla-central/raw-rev/1068e0955cfb"; 230 + hash = "sha256-iPqmofsmgvlFNm+mqVPbdgMKmP68ANuzYu+PzfCpoNA="; 230 231 }) 231 232 ] 232 233 ++ lib.optional (lib.versionOlder version "111") ./env_var_for_system_dir-ff86.patch