mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2025-01-13 20:01:46 +01:00
mozjs: Treat warning as non-fatal.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
90c4d19aed
commit
7e91228ccc
2 changed files with 13 additions and 0 deletions
|
@ -92,6 +92,7 @@ patch -p1 < $CWD/mozjs52-fix-soname.patch
|
|||
patch -p1 < $CWD/mozjs52-copy-headers.patch
|
||||
patch -p1 < $CWD/mozjs52-disable-mozglue.patch
|
||||
patch -Np1 < $CWD/mozjs52-include-configure-script.patch
|
||||
patch -p1 < $CWD/no-error.diff
|
||||
touch js/src/configure
|
||||
|
||||
cd js/src
|
||||
|
|
12
mozjs/no-error.diff
Normal file
12
mozjs/no-error.diff
Normal file
|
@ -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']:
|
Loading…
Reference in a new issue