pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
webkit-gtk: Limit patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp to OpenBSD
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Oct 1 19:05:29 2018 +0200
Changeset: 242a027785217010c47b2a25533c183867dc5d02
Modified Files:
webkit-gtk/TODO
webkit-gtk/distinfo
webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp
Log Message:
webkit-gtk: Limit patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp to OpenBSD
It is no longer present on FreeBSD ports (so update the comment) and it is not
problematic on NetBSD... just limit it to OpenBSD.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=242a027785217010c47b2a25533c183867dc5d02
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
webkit-gtk/TODO | 3 ---
webkit-gtk/distinfo | 2 +-
.../patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp | 6 +++---
3 files changed, 4 insertions(+), 7 deletions(-)
diffs:
diff --git a/webkit-gtk/TODO b/webkit-gtk/TODO
index cfb002d3f0..ee5f03c5b7 100644
--- a/webkit-gtk/TODO
+++ b/webkit-gtk/TODO
@@ -1,6 +1,3 @@
-- Is patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp relevant
- for NetBSD? (probably not, `&& !defined(__FreeBSD__) && !defined(__NetBSD__)'
- can be probably removed after testing it)
- Review JIT support for NetBSD:
* patches/patch-Source_JavaScriptCore_runtime_MachineContext.h
* patches/patch-Source_WTF_wtf_Platform.h
diff --git a/webkit-gtk/distinfo b/webkit-gtk/distinfo
index 6df8e1d947..d93309a451 100644
--- a/webkit-gtk/distinfo
+++ b/webkit-gtk/distinfo
@@ -8,7 +8,7 @@ SHA1 (patch-CMakeLists.txt) = dacc4c2694c517ea34a3512ffd48731b21afa5b1
SHA1 (patch-Source_JavaScriptCore_assembler_ARMAssembler.h) = 99e46f9d9b26a8d9ba6b29c66d7ce5326c4ffeb6
SHA1 (patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp) = f78e6150ed8901b3fe046b2ef182f50f1c7500a4
SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = e6a23d5ef22bddd0a9606fb0e472960e4cf5673e
-SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = 2f20d6aa8f1ec4122bee9f2f95b736ee4496812f
+SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = 81d9c3a9f5d850d85aaa24d00cc72b5d0261f33a
SHA1 (patch-Source_JavaScriptCore_runtime_MachineContext.h) = 928050c743dc889cb42fa4e74bec5664b8e1318c
SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = f1eee7f9d3012edee1915234c837cff820f97092
SHA1 (patch-Source_WTF_wtf_Platform.h) = 6ab636e109494d555d3ee63d49b1a11482309ab0
diff --git a/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp b/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp
index 11e8d713c5..64c6783ebb 100644
--- a/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp
+++ b/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp
@@ -1,10 +1,10 @@
$NetBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp,v 1.1 2018/04/09 08:33:48 wiz Exp $
-Avoid to (pre)allocate 1GB of memory:
+Avoid to (pre)allocate 1GB of memory on OpenBSD:
<https://bugs.webkit.org/show_bug.cgi?id=61137>
-From FreeBSD and OpenBSD ports.
+From OpenBSD ports.
--- Source/JavaScriptCore/jit/ExecutableAllocator.cpp.orig 2017-08-09 09:13:42.000000000 +0000
+++ Source/JavaScriptCore/jit/ExecutableAllocator.cpp
@@ -13,7 +13,7 @@ From FreeBSD and OpenBSD ports.
#elif CPU(ARM64)
static const size_t fixedExecutableMemoryPoolSize = 64 * 1024 * 1024;
-#elif CPU(X86_64)
-+#elif CPU(X86_64) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
++#elif CPU(X86_64) && !defined(__OpenBSD__)
static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024;
#else
static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
Home |
Main Index |
Thread Index |
Old Index