diff options
author | maya <maya@pkgsrc.org> | 2018-08-01 15:01:08 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2018-08-01 15:01:08 +0000 |
commit | 577e00fe1ae861f5e859027a9791ee62ed77287d (patch) | |
tree | f6d5e7f9f418a51c38e47b93a880458b154e18a6 /x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_Platform.h | |
parent | 5f9b2f8a038a13b8676857760c1e4546359b5988 (diff) | |
download | pkgsrc-577e00fe1ae861f5e859027a9791ee62ed77287d.tar.gz |
qtwebkit: don't disable JIT on netbsd, declare functions like linux.
this works well enough to browse javascript websites with otter-browser,
which needed paxctl +m, although I didn't try it without these changes.
XXX this package might be crashing from feeding bogus values to
posix_memalign.
Diffstat (limited to 'x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_Platform.h')
-rw-r--r-- | x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_Platform.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_Platform.h b/x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_Platform.h index 9a0818a7762..9ab7015ff6f 100644 --- a/x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_Platform.h +++ b/x11/qt5-qtwebkit/patches/patch-Source_WTF_wtf_Platform.h @@ -1,6 +1,5 @@ -$NetBSD: patch-Source_WTF_wtf_Platform.h,v 1.3 2018/01/17 19:37:33 markd Exp $ +$NetBSD: patch-Source_WTF_wtf_Platform.h,v 1.4 2018/08/01 15:01:08 maya Exp $ -* Disable JIT support for NetBSD, fix segfault of qtwebkit consumers * Use system's malloc for NetBSD, do not use fastmalloc from qt5, fix segfault of qtwebkit consumers @@ -9,16 +8,6 @@ $NetBSD: patch-Source_WTF_wtf_Platform.h,v 1.3 2018/01/17 19:37:33 markd Exp $ --- Source/WTF/wtf/Platform.h.orig 2017-06-04 20:16:06.000000000 +0000 +++ Source/WTF/wtf/Platform.h -@@ -36,6 +36,9 @@ - macros, policy decision macros, and top-level port definitions. ==== */ - #define PLATFORM(WTF_FEATURE) (defined WTF_PLATFORM_##WTF_FEATURE && WTF_PLATFORM_##WTF_FEATURE) - -+#if defined(__NetBSD__) -+#define ENABLE_JIT 0 -+#endif - - /* ==== Platform adaptation macros: these describe properties of the target environment. ==== */ - @@ -691,6 +694,12 @@ #define USE_SYSTEM_MALLOC 1 #endif |