recognize linux3 as platform for symbolstore.py mozilla-1.9.2
authorWolfgang Rosenauer <wr@rosenauer.org>
Fri, 12 Aug 2011 12:07:31 +0200
branchmozilla-1.9.2
changeset 300 dff60ff6dfce
parent 299 9a09a02dff60
child 303 59ef72e1c40e
recognize linux3 as platform for symbolstore.py
mozilla-linux3.patch
mozilla-xulrunner192/mozilla-linux3.patch
mozilla-xulrunner192/mozilla-xulrunner192.changes
mozilla-xulrunner192/mozilla-xulrunner192.spec
series
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-linux3.patch	Fri Aug 12 12:07:31 2011 +0200
@@ -0,0 +1,23 @@
+# HG changeset patch
+# Parent bf7c3e1c6174630743f9f94808c4dd3a2edc0c6b
+diff --git a/toolkit/crashreporter/tools/symbolstore.py b/toolkit/crashreporter/tools/symbolstore.py
+--- a/toolkit/crashreporter/tools/symbolstore.py
++++ b/toolkit/crashreporter/tools/symbolstore.py
+@@ -376,16 +376,17 @@ def GetVCSFilename(file, srcdirs):
+     return (file.replace("\\", "/"), root)
+ 
+ def GetPlatformSpecificDumper(**kwargs):
+     """This function simply returns a instance of a subclass of Dumper
+     that is appropriate for the current platform."""
+     return {'win32': Dumper_Win32,
+             'cygwin': Dumper_Win32,
+             'linux2': Dumper_Linux,
++	    'linux3': Dumper_Linux,
+             'sunos5': Dumper_Solaris,
+             'darwin': Dumper_Mac}[sys.platform](**kwargs)
+ 
+ def SourceIndex(fileStream, outputPath, vcs_root):
+     """Takes a list of files, writes info to a data block in a .stream file"""
+     # Creates a .pdb.stream file in the mozilla\objdir to be used for source indexing
+     # Create the srcsrv data block that indexes the pdb file
+     result = True
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-xulrunner192/mozilla-linux3.patch	Fri Aug 12 12:07:31 2011 +0200
@@ -0,0 +1,1 @@
+../mozilla-linux3.patch
\ No newline at end of file
--- a/mozilla-xulrunner192/mozilla-xulrunner192.changes	Fri Aug 12 08:47:59 2011 +0200
+++ b/mozilla-xulrunner192/mozilla-xulrunner192.changes	Fri Aug 12 12:07:31 2011 +0200
@@ -1,10 +1,14 @@
 -------------------------------------------------------------------
 Fri Aug  5 09:35:34 UTC 2011 - wr@rosenauer.org
 
-- security update to 1.9.2.20
+- security update to 1.9.2.20 (bnc#711954)
+  * fixed issues
+    https://www.mozilla.org/security/known-vulnerabilities/firefox36.html
 - added mozilla-implicit-declarations.patch to fix rpmlint/gcc
   checks
 - added mozilla-curl.patch to remove obsolete header dependency
+- added mozilla-linux3.patch to make python symbol dumper aware
+  of the "linux3" platform
 
 -------------------------------------------------------------------
 Mon Jun 20 09:32:58 UTC 2011 - wr@rosenauer.org
--- a/mozilla-xulrunner192/mozilla-xulrunner192.spec	Fri Aug 12 08:47:59 2011 +0200
+++ b/mozilla-xulrunner192/mozilla-xulrunner192.spec	Fri Aug 12 12:07:31 2011 +0200
@@ -90,6 +90,7 @@
 Patch20:        mozilla-gcc46.patch
 Patch21:        mozilla-implicit-declarations.patch
 Patch22:        mozilla-curl.patch
+Patch23:        mozilla-linux3.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       mozilla-js192 = %{version}
 Requires(post):  update-alternatives coreutils
@@ -245,6 +246,7 @@
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
+%patch23 -p1
 
 %build
 %if %suse_version >= 1110
--- a/series	Fri Aug 12 08:47:59 2011 +0200
+++ b/series	Fri Aug 12 12:07:31 2011 +0200
@@ -20,6 +20,7 @@
 mozilla-gcc46.patch
 mozilla-implicit-declarations.patch
 mozilla-curl.patch
+mozilla-linux3.patch
 
 # Firefox patches
 firefox-libxul-sdk.patch