source: contrib/GoogleGears/Linux-Firefox3.6/gears-filesubmit-firefox36.diff @ 4070

Revision 4070, 1.2 KB checked in by rafaelraymundo, 13 years ago (diff)

Ticket #1775 - Adicionados os fontes do googlegears ao Contrib

RevLine 
[4070]1diff -aur gears/base/common/js_dom_element.cc gears/base/common/js_dom_element.cc
2--- gears/base/common/js_dom_element.cc 2010-07-08 12:13:09.000000000 -0300
3+++ gears/base/common/js_dom_element.cc 2010-07-09 10:33:19.000000000 -0300
4@@ -170,7 +170,9 @@
5   if (NS_FAILED(nr)) { return false; }
6 
7   // Verify unknown is a DOM HTML element
8+#if !defined(BROWSER_FF36)
9   if (!VerifyNsContent(supports)) { return false; }
10+#endif
11   dom_html_element_ = do_QueryInterface(supports);
12   if (dom_html_element_.get() == NULL) { return false; }
13 
14diff -aur gears/tools/config.mk gears/tools/config.mk
15--- gears/tools/config.mk       2010-07-08 12:13:06.000000000 -0300
16+++ gears/tools/config.mk       2010-07-09 10:41:20.000000000 -0300
17@@ -530,7 +530,7 @@
18 
19 COMPILE_FLAGS_dbg = -g -O0
20 COMPILE_FLAGS_opt = -O2
21-COMPILE_FLAGS = -c -o $@ -fPIC -fmessage-length=0 -Wall -Werror $(COMPILE_FLAGS_$(MODE))
22+COMPILE_FLAGS = -c -o $@ -fPIC -fmessage-length=0 -Wall $(COMPILE_FLAGS_$(MODE))
23 # NS_LITERAL_STRING does not work properly without this compiler option
24 COMPILE_FLAGS += -fshort-wchar
25 
26@@ -663,7 +663,7 @@
27 # SAFARI-TEMP
28 # Need to re-enable -Werror for Safari port.
29 else
30-COMPILE_FLAGS += -Werror
31+#COMPILE_FLAGS += -Werror
32 endif
33 
34 CFLAGS = $(COMPILE_FLAGS)
Note: See TracBrowser for help on using the repository browser.