thunderbird: disabled crashreporter

This commit is contained in:
root 2009-12-15 01:25:32 +01:00
parent bfe9b08e8d
commit c1fdb73059
2 changed files with 42 additions and 2 deletions

View File

@ -11,12 +11,16 @@ source=(http://mozilla.snt.utwente.nl/$name/releases/$version/source/$name-$vers
$name.desktop)
build() {
cd comm-1.9.1
#cd comm-1.9.1/mozilla
#patch -p 1 -i $SRC/breakpad.patch
cd $SRC/comm-1.9.1
./configure --prefix=/usr \
--enable-application=mail \
--with-system-{nspr,nss} \
--with-system-jpeg \
--with-system-zlib \
--with-system-bz2 \
--with-pthreads \
--enable-official-branding \
--with-distribution-id=CRUX \
--disable-gnomevfs \
@ -27,7 +31,8 @@ build() {
--enable-system-cairo \
--enable-system-sqlite \
--disable-tests \
--with-default-mozilla-five-home
--with-default-mozilla-five-home \
--disable-crashreporter
# crux libpng doesn't support apng
# --with-system-png
make

View File

@ -0,0 +1,35 @@
Bug 485019: #include <cstdio> where needed.
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
--- a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc
+++ b/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc
@@ -36,6 +36,7 @@
#include <cassert>
#include <cstdlib>
+#include <cstdio>
#include <ctime>
#include <linux/limits.h>
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
--- a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc
+++ b/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc
@@ -39,6 +39,7 @@
#include <sys/wait.h>
#include <cstdlib>
+#include <cstdio>
#include <ctime>
#include <string.h>
diff --git a/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc b/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc
--- a/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc
+++ b/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc
@@ -30,6 +30,7 @@
#include <a.out.h>
#include <cstdarg>
#include <cstdlib>
+#include <cstdio>
#include <cxxabi.h>
#include <elf.h>
#include <errno.h>