diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-12-16 13:56:54 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-12-16 13:56:54 +0000 |
commit | 842cbbe2deac7546b6e860bf413e03b6ad565c82 (patch) | |
tree | 7ba1d41ce26c78ae7727b6be4b1e229e1512df06 /sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jscntxt.cpp.p | |
parent | 77e33af042e8cae74fab188ecd94e6adbcd844fc (diff) | |
download | toolchains-842cbbe2deac7546b6e860bf413e03b6ad565c82.tar.gz toolchains-842cbbe2deac7546b6e860bf413e03b6ad565c82.tar.bz2 |
make spidermonkey 1.8.5 build without JIT on RISC OS
add support for spidermonkey 1.7.0 source
Diffstat (limited to 'sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jscntxt.cpp.p')
-rw-r--r-- | sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jscntxt.cpp.p | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jscntxt.cpp.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jscntxt.cpp.p new file mode 100644 index 0000000..d61d860 --- /dev/null +++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jscntxt.cpp.p @@ -0,0 +1,11 @@ +--- js/src/jscntxt.cpp.orig 2012-11-08 14:49:30.000000000 +0000 ++++ js/src/jscntxt.cpp 2012-11-08 14:50:19.000000000 +0000 +@@ -179,7 +179,7 @@ + #elif defined(XP_OS2) + DosFreeMem(base); + #else +-#ifdef SOLARIS ++#if defined(SOLARIS) || defined(__riscos__) + munmap((caddr_t)base, CAPACITY_BYTES); + #else + munmap(base, CAPACITY_BYTES); |