author | Wolfgang Rosenauer <wr@rosenauer.org> |
Fri, 25 Dec 2009 09:13:26 +0100 | |
changeset 40 | 200b8b027989 |
parent 25 | fa8130c45304 |
permissions | -rw-r--r-- |
25
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1 |
From: Wolfgang Rosenauer <wr@rosenauer.org> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
2 |
Subject: missing declaration with newer compilers |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
3 |
|
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
4 |
diff --git a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc b/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
5 |
--- a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
6 |
+++ b/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
7 |
@@ -28,16 +28,17 @@ |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
8 |
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
9 |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
10 |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
11 |
|
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
12 |
#include <signal.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
13 |
#include <sys/stat.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
14 |
#include <sys/types.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
15 |
#include <unistd.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
16 |
+#include <stdio.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
17 |
|
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
18 |
#include <cassert> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
19 |
#include <cstdlib> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
20 |
#include <ctime> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
21 |
#include <linux/limits.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
22 |
|
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
23 |
#include "client/linux/handler/exception_handler.h" |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
24 |
#include "common/linux/guid_creator.h" |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
25 |
diff --git a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc b/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
26 |
--- a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
27 |
+++ b/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
28 |
@@ -36,16 +36,17 @@ |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
29 |
#include <sys/types.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
30 |
#include <unistd.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
31 |
#include <sys/utsname.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
32 |
#include <sys/wait.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
33 |
|
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
34 |
#include <cstdlib> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
35 |
#include <ctime> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
36 |
#include <string.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
37 |
+#include <stdio.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
38 |
|
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
39 |
#include "common/linux/file_id.h" |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
40 |
#include "client/linux/handler/linux_thread.h" |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
41 |
#include "client/minidump_file_writer.h" |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
42 |
#include "client/minidump_file_writer-inl.h" |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
43 |
#include "google_breakpad/common/minidump_format.h" |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
44 |
#include "client/linux/handler/minidump_generator.h" |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
45 |
|
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
46 |
diff --git a/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc b/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
47 |
--- a/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
48 |
+++ b/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
49 |
@@ -26,16 +26,17 @@ |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
50 |
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
51 |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
52 |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
53 |
|
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
54 |
#include <a.out.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
55 |
#include <cstdarg> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
56 |
#include <cstdlib> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
57 |
#include <cxxabi.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
58 |
+#include <stdio.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
59 |
#include <elf.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
60 |
#include <errno.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
61 |
#include <fcntl.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
62 |
#include <link.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
63 |
#include <sys/mman.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
64 |
#include <stab.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
65 |
#include <sys/stat.h> |
fa8130c45304
Added mozilla-breakpad.patch to fix build with crashreporter enabled
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
66 |
#include <sys/types.h> |