Fixed rhbz#786983

This commit is contained in:
Jan Horak 2012-02-03 16:39:16 +01:00
parent e91d38470a
commit 9547dd1d42
2 changed files with 36 additions and 1 deletions

View File

@ -45,7 +45,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 10.0
Release: 1%{?pre_tag}%{?dist}
Release: 2%{?pre_tag}%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@ -69,6 +69,8 @@ Patch14: firefox-5.0-asciidel.patch
Patch15: firefox-8.0-enable-addons.patch
# Upstream patches
# fixes non functional web development tools, obsolete by version 11
Patch100: mozilla-703633.patch
%if %{official_branding}
# Required by Mozilla Corporation
@ -115,6 +117,7 @@ cd %{tarballdir}
%patch15 -p2 -b .addons
# Upstream patches
%patch100 -p1 -b .703633
%if %{official_branding}
# Required by Mozilla Corporation
@ -344,6 +347,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
* Fri Feb 3 2012 Jan Horak <jhorak@redhat.com> - 10.0-2
- Fixed rhbz#786983
* Tue Jan 31 2012 Jan Horak <jhorak@redhat.com> - 10.0-1
- Update to 10.0

29
mozilla-703633.patch Normal file
View File

@ -0,0 +1,29 @@
# HG changeset patch
# User Mike Hommey <mh+mozilla@glandium.org>
# Date 1321637776 -3600
# Node ID a5c78674f5edf4c1cea091ae900e187f4f8ce6a9
# Parent 4a16dc96aab3c56b1dda84e197e1e6c0db8fab6d
Bug 703633 - TreePanel.jsm uses a resource:/// url that ought to be resource://gre/
diff --git a/browser/devtools/highlighter/TreePanel.jsm b/browser/devtools/highlighter/TreePanel.jsm
--- a/browser/devtools/highlighter/TreePanel.jsm
+++ b/browser/devtools/highlighter/TreePanel.jsm
@@ -40,17 +40,17 @@
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
const Cu = Components.utils;
Cu.import("resource:///modules/domplate.jsm");
Cu.import("resource:///modules/InsideOutBox.jsm");
-Cu.import("resource:///modules/Services.jsm");
+Cu.import("resource://gre/modules/Services.jsm");
var EXPORTED_SYMBOLS = ["TreePanel", "DOMHelpers"];
const INSPECTOR_URI = "chrome://browser/content/inspector.html";
/**
* TreePanel
* A container for the Inspector's HTML Tree Panel widget constructor function.