Skip Menu |

This queue is for tickets about the JavaScript-SpiderMonkey CPAN distribution.

Report information
The Basics
Id: 69371
Status: resolved
Priority: 0/
Queue: JavaScript-SpiderMonkey

People
Owner: Nobody in particular
Requestors: POWERMAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.20
Fixed in: (no value)



Subject: not compatible with spidermonkey-1.8+
When built against spidermonkey-1.8 or 1.9 the `make test` fail with: undefined symbol: JS_SetBranchCallback
Patch attached.
Subject: spidermonkey-1.8.patch
diff -uNr JavaScript-SpiderMonkey-0.21.orig/SpiderMonkey.xs JavaScript-SpiderMonkey-0.21/SpiderMonkey.xs --- JavaScript-SpiderMonkey-0.21.orig/SpiderMonkey.xs 2010-05-29 09:49:31.000000000 +0300 +++ JavaScript-SpiderMonkey-0.21/SpiderMonkey.xs 2012-01-12 22:53:28.000000000 +0200 @@ -718,7 +718,7 @@ PJS_Context* pcx = (PJS_Context *) JS_GetContextPrivate(cx); pcx->branch_count = 0; pcx->branch_max = max_branch_operations; - JS_SetBranchCallback(cx, BranchHandler); + JS_SetOperationCallback(cx, BranchHandler); } OUTPUT:
This is now fixed in version 0.22