]> git.draconx.ca Git - gentoo-fixes.git/blobdiff - www-client/firefox/files/firefox-52.9.0-less-werror.patch
Resurrect firefox-52.9.0 ebuild.
[gentoo-fixes.git] / www-client / firefox / files / firefox-52.9.0-less-werror.patch
diff --git a/www-client/firefox/files/firefox-52.9.0-less-werror.patch b/www-client/firefox/files/firefox-52.9.0-less-werror.patch
new file mode 100644 (file)
index 0000000..7e624e3
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/js/src/moz.build b/js/src/moz.build
+index 1162cb70c..595ea9842 100644
+--- a/js/src/moz.build
++++ b/js/src/moz.build
+@@ -785,7 +785,7 @@ if CONFIG['JS_HAS_CTYPES']:
+         DEFINES['FFI_BUILDING'] = True
+ if CONFIG['GNU_CXX']:
+-    CXXFLAGS += ['-Wno-shadow', '-Werror=format']
++    CXXFLAGS += ['-Wno-shadow']
+ # Suppress warnings in third-party code.
+ if CONFIG['CLANG_CXX']: