Added fix for mozbz#1615098

This commit is contained in:
Martin Stransky 2020-03-13 09:39:40 +01:00
parent 8325482d1a
commit 04d75fa4b0
2 changed files with 18 additions and 1 deletions

View File

@ -118,7 +118,7 @@ ExcludeArch: s390x
Summary: Mozilla Firefox Web browser Summary: Mozilla Firefox Web browser
Name: firefox Name: firefox
Version: 74.0 Version: 74.0
Release: 5%{?nss_tag}%{?dist} Release: 6%{?nss_tag}%{?dist}
URL: https://www.mozilla.org/firefox/ URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@ -183,6 +183,7 @@ Patch415: Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch
Patch417: bug1375074-save-restore-x28.patch Patch417: bug1375074-save-restore-x28.patch
Patch422: mozilla-1580174-webrtc-popup.patch Patch422: mozilla-1580174-webrtc-popup.patch
Patch423: mozilla-1620973.patch Patch423: mozilla-1620973.patch
Patch424: mozilla-1615098.patch
# Wayland specific upstream patches # Wayland specific upstream patches
Patch574: firefox-pipewire.patch Patch574: firefox-pipewire.patch
@ -383,6 +384,7 @@ This package contains results of tests executed during build.
# https://bugzilla.mozilla.org/show_bug.cgi?id=1594738 # https://bugzilla.mozilla.org/show_bug.cgi?id=1594738
#%patch241 -p1 -b .kiosk-workaround #%patch241 -p1 -b .kiosk-workaround
%patch423 -p1 -b .1620973 %patch423 -p1 -b .1620973
%patch424 -p1 -b .1615098
%patch402 -p1 -b .1196777 %patch402 -p1 -b .1196777
%ifarch %{arm} %ifarch %{arm}
@ -958,6 +960,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%changelog %changelog
* Fri Mar 13 2020 Martin Stransky <stransky@redhat.com> - 74.0-6
- Added fix for mozbz#1615098
* Thu Mar 12 2020 Martin Stransky <stransky@redhat.com> - 74.0-5 * Thu Mar 12 2020 Martin Stransky <stransky@redhat.com> - 74.0-5
- Added fix for mozbz#1196777 - Added fix for mozbz#1196777

12
mozilla-1615098.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up firefox-74.0/widget/gtk/nsWindow.cpp.1615098 firefox-74.0/widget/gtk/nsWindow.cpp
--- firefox-74.0/widget/gtk/nsWindow.cpp.1615098 2020-03-13 09:34:03.623433935 +0100
+++ firefox-74.0/widget/gtk/nsWindow.cpp 2020-03-13 09:38:44.382941288 +0100
@@ -4879,8 +4879,6 @@ void nsWindow::UpdateTopLevelOpaqueRegio
if (window) {
gdk_window_invalidate_rect(window, &rect, false);
}
-
- moz_container_update_opaque_region(mContainer, aSubtractCorners);
}
#endif