summaryrefslogtreecommitdiffstats
path: root/abs/extra/js52/mozjs52-disable-wformat.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-10-04 19:34:21 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-10-04 19:34:21 (GMT)
commit6c3bc4d1980df372e7898ce079f30bd4f4fe63a8 (patch)
treecedbe28148d6e1bb7b511e7cf830e5ba3fe10979 /abs/extra/js52/mozjs52-disable-wformat.patch
parent446610273b6078848d9405bfc38b44640a0dc572 (diff)
downloadlinhes_pkgbuild-6c3bc4d1980df372e7898ce079f30bd4f4fe63a8.zip
linhes_pkgbuild-6c3bc4d1980df372e7898ce079f30bd4f4fe63a8.tar.gz
linhes_pkgbuild-6c3bc4d1980df372e7898ce079f30bd4f4fe63a8.tar.bz2
js52: 52.9.0
Diffstat (limited to 'abs/extra/js52/mozjs52-disable-wformat.patch')
-rw-r--r--abs/extra/js52/mozjs52-disable-wformat.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra/js52/mozjs52-disable-wformat.patch b/abs/extra/js52/mozjs52-disable-wformat.patch
new file mode 100644
index 0000000..71e9ac3
--- /dev/null
+++ b/abs/extra/js52/mozjs52-disable-wformat.patch
@@ -0,0 +1,12 @@
+diff -u -r firefox-52.9.0esr/js/src/jsapi-tests/moz.build firefox-52.9.0esr-noerror/js/src/jsapi-tests/moz.build
+--- firefox-52.9.0esr/js/src/jsapi-tests/moz.build 2017-04-11 02:13:16.000000000 +0000
++++ firefox-52.9.0esr-noerror/js/src/jsapi-tests/moz.build 2019-06-20 20:10:31.092230735 +0000
+@@ -147,7 +147,7 @@
+ OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']
+
+ if CONFIG['GNU_CXX']:
+- CXXFLAGS += ['-Wno-shadow', '-Werror=format']
++ CXXFLAGS += ['-Wno-shadow']
+
+ # This is intended as a temporary workaround to enable VS2015.
+ if CONFIG['_MSC_VER']: