summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2017-02-27 17:35:15 -0500
committerIan Stakenvicius <axs@gentoo.org>2017-02-27 18:39:01 -0500
commitc6b9e11e5e556f1eb6a1446b9f789b97af743e19 (patch)
tree04a87c2296adc7713ec8f9387baa3eabc585c796 /dev-lang/spidermonkey/files/spidermonkey-38-jsapi-tests.patch
parentx11-base/xorg-server: Drop dependency on media-libs/freetype. (diff)
downloadgentoo-c6b9e11e5e556f1eb6a1446b9f789b97af743e19.tar.gz
gentoo-c6b9e11e5e556f1eb6a1446b9f789b97af743e19.tar.bz2
gentoo-c6b9e11e5e556f1eb6a1446b9f789b97af743e19.zip
dev-lang/spidermonkey: add mozjs38 release for gnome-3.23
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-lang/spidermonkey/files/spidermonkey-38-jsapi-tests.patch')
-rw-r--r--dev-lang/spidermonkey/files/spidermonkey-38-jsapi-tests.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-lang/spidermonkey/files/spidermonkey-38-jsapi-tests.patch b/dev-lang/spidermonkey/files/spidermonkey-38-jsapi-tests.patch
new file mode 100644
index 00000000000..8b023fd3180
--- /dev/null
+++ b/dev-lang/spidermonkey/files/spidermonkey-38-jsapi-tests.patch
@@ -0,0 +1,16 @@
+--- a/js/src/jsapi-tests/testPreserveJitCode.cpp 2015-09-17 16:12:22.000000000 -0400
++++ b/js/src/jsapi-tests/testPreserveJitCode.cpp 2017-02-27 16:30:28.899191525 -0500
+@@ -16,8 +16,12 @@
+
+ BEGIN_TEST(test_PreserveJitCode)
+ {
++#ifndef JS_CODEGEN_NONE
+ CHECK(testPreserveJitCode(false, 0));
+ CHECK(testPreserveJitCode(true, 1));
++#else
++ printf("*JIT is disabled, therefore CANNOT preserve jit code - skipping.\n");
++#endif
+ return true;
+ }
+
+