Hello,

Please find attached a patch that fixes a problem with missing #include
<stdio.h> in three xulrunner files.

xulrunner (trunk) builds with these patches (x86), but I hav'nt tested the
resulting libraries.

Cheers,
Roger

diff -Nur /root/develop.orig//xulrunner/dump_symbols.patch package/develop//xulrunner/dump_symbols.patch
--- /root/develop.orig//xulrunner/dump_symbols.patch	1969-12-31 20:30:00.000000000 -0330
+++ package/develop//xulrunner/dump_symbols.patch	2010-11-17 13:58:20.000000000 -0330
@@ -0,0 +1,10 @@
+--- mozilla-1.9.1/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc.orig	2009-12-21 19:34:01.000000000 -0330
++++ mozilla-1.9.1/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc	2010-11-17 13:52:51.000000000 -0330
+@@ -41,6 +41,7 @@
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <algorithm>
++#include <stdio.h>
+ 
+ #include <functional>
+ #include <list>
diff -Nur /root/develop.orig//xulrunner/exception_handler.patch package/develop//xulrunner/exception_handler.patch
--- /root/develop.orig//xulrunner/exception_handler.patch	1969-12-31 20:30:00.000000000 -0330
+++ package/develop//xulrunner/exception_handler.patch	2010-11-17 15:23:36.000000000 -0330
@@ -0,0 +1,10 @@
+--- mozilla-1.9.1/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc.orig	2009-12-21 19:34:00.000000000 -0330
++++ mozilla-1.9.1/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc	2010-11-17 15:15:27.000000000 -0330
+@@ -33,6 +33,7 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <stdio.h>
+ 
+ #include <cassert>
+ #include <cstdlib>
diff -Nur /root/develop.orig//xulrunner/minidump_generator.patch package/develop//xulrunner/minidump_generator.patch
--- /root/develop.orig//xulrunner/minidump_generator.patch	1969-12-31 20:30:00.000000000 -0330
+++ package/develop//xulrunner/minidump_generator.patch	2010-11-17 15:24:05.000000000 -0330
@@ -0,0 +1,10 @@
+--- mozilla-1.9.1/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc.orig	2009-12-21 19:34:00.000000000 -0330
++++ mozilla-1.9.1/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc	2010-11-17 15:15:53.000000000 -0330
+@@ -37,6 +37,7 @@
+ #include <unistd.h>
+ #include <sys/utsname.h>
+ #include <sys/wait.h>
++#include <stdio.h>
+ 
+ #include <cstdlib>
+ #include <ctime>
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to