forked from pool/MozillaFirefox
Accepting request 445492 from home:cgrobertson:branches:mozilla:Factory
- added patch mozilla-aarch64-startup-crash.patch (bsc#1011922) OBS-URL: https://build.opensuse.org/request/show/445492 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=562
This commit is contained in:
parent
120a7e8724
commit
a7b507dd76
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 9 17:57:22 UTC 2016 - cgrobertson@novell.com
|
||||
|
||||
- added patch mozilla-aarch64-startup-crash.patch (bsc#1011922)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 1 02:49:45 UTC 2016 - wr@rosenauer.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package MozillaFirefox
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 2006-2016 Wolfgang Rosenauer
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -153,6 +153,7 @@ Patch102: firefox-no-default-ualocale.patch
|
||||
Patch103: firefox-branded-icons.patch
|
||||
# hotfix
|
||||
Patch150: mozilla-flex_buffer_overrun.patch
|
||||
Patch200: mozilla-aarch64-startup-crash.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires(post): coreutils shared-mime-info desktop-file-utils
|
||||
@ -266,6 +267,7 @@ cd $RPM_BUILD_DIR/mozilla
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
%patch150 -p1
|
||||
%patch200 -p1
|
||||
|
||||
%build
|
||||
# no need to add build time to binaries
|
||||
|
31
mozilla-aarch64-startup-crash.patch
Normal file
31
mozilla-aarch64-startup-crash.patch
Normal file
@ -0,0 +1,31 @@
|
||||
# HG changeset patch
|
||||
# Parent a5cfa3aa11a9d3391df49de6fc5a0e5232c12c10
|
||||
Bug 991344 - Rpi3: Firefox crashes after a few seconds of usage
|
||||
|
||||
diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp
|
||||
--- a/netwerk/base/nsIOService.cpp
|
||||
+++ b/netwerk/base/nsIOService.cpp
|
||||
@@ -830,17 +830,23 @@ nsIOService::NewChannelFromURIWithProxyF
|
||||
consoleService->LogStringMessage(NS_LITERAL_STRING(
|
||||
"Http channel implementation doesn't support nsIUploadChannel2. An extension has supplied a non-functional http protocol handler. This will break behavior and in future releases not work at all."
|
||||
).get());
|
||||
}
|
||||
gHasWarnedUploadChannel2 = true;
|
||||
}
|
||||
}
|
||||
|
||||
+#if defined(__aarch64__)
|
||||
+ if (result) {
|
||||
+ channel.forget(result);
|
||||
+ }
|
||||
+#else
|
||||
channel.forget(result);
|
||||
+#endif
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsIOService::NewChannelFromURIWithProxyFlags2(nsIURI* aURI,
|
||||
nsIURI* aProxyURI,
|
||||
uint32_t aProxyFlags,
|
||||
nsIDOMNode* aLoadingNode,
|
Loading…
Reference in New Issue
Block a user