On 2016-08-08, David Coppa <dco...@gmail.com> wrote:

> This should help thunderbird (we already had this patch for firefox).

And here's the corresponding patch for seamonkey.  I have confirmed
that it builds.  I'm somewhat less certain that it runs--I mean,
basically it does, but visiting any web page other than the seamonkey
default page and the Google start page crashes it.  But since I
don't otherwise run seamonkey, I have no comparison point.

Seamonkey users, please test.

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/seamonkey/Makefile,v
retrieving revision 1.187
diff -u -p -r1.187 Makefile
--- Makefile    17 Mar 2016 19:39:38 -0000      1.187
+++ Makefile    8 Aug 2016 20:30:31 -0000
@@ -16,6 +16,7 @@ EXTRACT_SUFX =                .tar.xz
 MULTI_PACKAGES =       -main -lightning
 PKGNAME-main =         ${PKGNAME}
 PKGNAME-lightning =    lightning-seamonkey-4.5
+REVISION-main =                0
 EPOCH-lightning =      0
 
 HOMEPAGE =     http://www.seamonkey-project.org/
Index: patches/patch-mozilla_js_src_jit_ExecutableAllocator_cpp
===================================================================
RCS file: patches/patch-mozilla_js_src_jit_ExecutableAllocator_cpp
diff -N patches/patch-mozilla_js_src_jit_ExecutableAllocator_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-mozilla_js_src_jit_ExecutableAllocator_cpp    8 Aug 2016 
20:30:31 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- mozilla/js/src/jit/ExecutableAllocator.cpp.orig    Tue Jan 19 03:47:37 2016
++++ mozilla/js/src/jit/ExecutableAllocator.cpp Mon Aug  8 21:59:32 2016
+@@ -88,7 +88,7 @@ ExecutableAllocator::addSizeOfCode(JS::CodeSizes* size
+     }
+ }
+ 
+-#if TARGET_OS_IPHONE
++#if defined(__OpenBSD__) || TARGET_OS_IPHONE
+ bool ExecutableAllocator::nonWritableJitCode = true;
+ #else
+ bool ExecutableAllocator::nonWritableJitCode = false;

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to