pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/webkit-gtk webkit-gtk: Update to 2.24.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/ba23f014ecbe
branches: trunk
changeset: 331198:ba23f014ecbe
user: leot <leot%pkgsrc.org@localhost>
date: Wed Mar 13 20:49:40 2019 +0000
description:
webkit-gtk: Update to 2.24.0
pkgsrc changes:
- Remove patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp: logic
changed upstream and there is no longer a function that check for a VFP.
Changes:
2.24.0
------
- Added support fot content filtering.
- Variation fonts support.
- Fully emoji rendering support.
- Added navigation and pinch zoom gestures for touchpads.
- Support for JPEG2000 images (please note that in pkgsrc at the
moment it is disabled to avoid a dependency on openjpeg)
- Script dialogs are now modal to the current web view only.
- New API to convert URI to format for display.
diffstat:
www/webkit-gtk/Makefile | 5 +-
www/webkit-gtk/PLIST | 11 +-
www/webkit-gtk/distinfo | 39 +++++----
www/webkit-gtk/patches/patch-CMakeLists.txt | 18 ++--
www/webkit-gtk/patches/patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh | 18 ++++
www/webkit-gtk/patches/patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh | 15 +++
www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h | 10 +-
www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARMAssembler.h | 30 -------
www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h | 30 +++++++
www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp | 32 --------
www/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp | 8 +-
www/webkit-gtk/patches/patch-Source_JavaScriptCore_offlineasm_arm64.rb | 16 ++-
www/webkit-gtk/patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h | 20 ++--
www/webkit-gtk/patches/patch-Source_WTF_wtf_FileSystem.cpp | 16 ++++
www/webkit-gtk/patches/patch-Source_WTF_wtf_Platform.h | 29 +++----
www/webkit-gtk/patches/patch-Source_WTF_wtf_RAMSize.cpp | 37 +++-----
www/webkit-gtk/patches/patch-Source_WebCore_Scripts_check-xcfilelists.sh | 18 ++++
www/webkit-gtk/patches/patch-Source_WebCore_Scripts_generate-unified-sources.sh | 15 +++
www/webkit-gtk/patches/patch-Source_WebCore_platform_FileSystem.cpp | 16 ----
www/webkit-gtk/patches/patch-Source_WebKit_NetworkProcess_cache_NetworkCacheFileSystem.cpp | 23 +++--
www/webkit-gtk/patches/patch-Source_WebKit_PlatformGTK.cmake | 8 +-
www/webkit-gtk/patches/patch-Source_WebKit_Scripts_check-xcfilelists.sh | 18 ++++
www/webkit-gtk/patches/patch-Source_WebKit_Scripts_generate-unified-sources.sh | 15 +++
23 files changed, 258 insertions(+), 189 deletions(-)
diffs (truncated from 784 to 300 lines):
diff -r 56cc46b2e297 -r ba23f014ecbe www/webkit-gtk/Makefile
--- a/www/webkit-gtk/Makefile Wed Mar 13 19:33:40 2019 +0000
+++ b/www/webkit-gtk/Makefile Wed Mar 13 20:49:40 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.158 2019/03/01 18:53:17 leot Exp $
+# $NetBSD: Makefile,v 1.159 2019/03/13 20:49:40 leot Exp $
-DISTNAME= webkitgtk-2.22.7
+DISTNAME= webkitgtk-2.24.0
PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/}
CATEGORIES= www
MASTER_SITES= https://www.webkitgtk.org/releases/
@@ -41,6 +41,7 @@
CMAKE_ARGS+= -DENABLE_GEOLOCATION=OFF
CMAKE_ARGS+= -DUSE_GSTREAMER_GL=OFF
CMAKE_ARGS+= -DUSE_LIBHYPHEN=OFF
+CMAKE_ARGS+= -DUSE_OPENJPEG=OFF
REPLACE_PERL+= Source/JavaScriptCore/create_hash_table
REPLACE_PERL+= Source/WebCore/bindings/scripts/*.pl
diff -r 56cc46b2e297 -r ba23f014ecbe www/webkit-gtk/PLIST
--- a/www/webkit-gtk/PLIST Wed Mar 13 19:33:40 2019 +0000
+++ b/www/webkit-gtk/PLIST Wed Mar 13 20:49:40 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.47 2019/03/01 18:53:17 leot Exp $
+@comment $NetBSD: PLIST,v 1.48 2019/03/13 20:49:40 leot Exp $
bin/WebKitWebDriver
include/webkitgtk-4.0/JavaScriptCore/JSBase.h
include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h
@@ -13,6 +13,7 @@
include/webkitgtk-4.0/jsc/JSCContext.h
include/webkitgtk-4.0/jsc/JSCDefines.h
include/webkitgtk-4.0/jsc/JSCException.h
+include/webkitgtk-4.0/jsc/JSCOptions.h
include/webkitgtk-4.0/jsc/JSCValue.h
include/webkitgtk-4.0/jsc/JSCVersion.h
include/webkitgtk-4.0/jsc/JSCVirtualMachine.h
@@ -32,6 +33,7 @@
include/webkitgtk-4.0/webkit2/WebKitCookieManager.h
include/webkitgtk-4.0/webkit2/WebKitCredential.h
include/webkitgtk-4.0/webkit2/WebKitDefines.h
+include/webkitgtk-4.0/webkit2/WebKitDeviceInfoPermissionRequest.h
include/webkitgtk-4.0/webkit2/WebKitDownload.h
include/webkitgtk-4.0/webkit2/WebKitEditingCommands.h
include/webkitgtk-4.0/webkit2/WebKitEditorState.h
@@ -69,7 +71,9 @@
include/webkitgtk-4.0/webkit2/WebKitURIRequest.h
include/webkitgtk-4.0/webkit2/WebKitURIResponse.h
include/webkitgtk-4.0/webkit2/WebKitURISchemeRequest.h
+include/webkitgtk-4.0/webkit2/WebKitURIUtilities.h
include/webkitgtk-4.0/webkit2/WebKitUserContent.h
+include/webkitgtk-4.0/webkit2/WebKitUserContentFilterStore.h
include/webkitgtk-4.0/webkit2/WebKitUserContentManager.h
include/webkitgtk-4.0/webkit2/WebKitUserMediaPermissionRequest.h
include/webkitgtk-4.0/webkit2/WebKitVersion.h
@@ -208,10 +212,10 @@
${PLIST.introspection}lib/girepository-1.0/WebKit2WebExtension-4.0.typelib
lib/libjavascriptcoregtk-4.0.so
lib/libjavascriptcoregtk-4.0.so.18
-lib/libjavascriptcoregtk-4.0.so.18.11.8
+lib/libjavascriptcoregtk-4.0.so.18.13.3
lib/libwebkit2gtk-4.0.so
lib/libwebkit2gtk-4.0.so.37
-lib/libwebkit2gtk-4.0.so.37.33.8
+lib/libwebkit2gtk-4.0.so.37.37.2
lib/pkgconfig/javascriptcoregtk-4.0.pc
lib/pkgconfig/webkit2gtk-4.0.pc
lib/pkgconfig/webkit2gtk-web-extension-4.0.pc
@@ -220,7 +224,6 @@
libexec/webkit2gtk-4.0/WebKitNetworkProcess
libexec/webkit2gtk-4.0/WebKitPluginProcess
libexec/webkit2gtk-4.0/WebKitPluginProcess2
-libexec/webkit2gtk-4.0/WebKitStorageProcess
libexec/webkit2gtk-4.0/WebKitWebProcess
libexec/webkit2gtk-4.0/jsc
${PLIST.introspection}share/gir-1.0/JavaScriptCore-4.0.gir
diff -r 56cc46b2e297 -r ba23f014ecbe www/webkit-gtk/distinfo
--- a/www/webkit-gtk/distinfo Wed Mar 13 19:33:40 2019 +0000
+++ b/www/webkit-gtk/distinfo Wed Mar 13 20:49:40 2019 +0000
@@ -1,30 +1,35 @@
-$NetBSD: distinfo,v 1.117 2019/03/01 18:53:17 leot Exp $
+$NetBSD: distinfo,v 1.118 2019/03/13 20:49:40 leot Exp $
-SHA1 (webkitgtk-2.22.7.tar.xz) = 5f45147f6fc4b6a0dd3c545bf857679313230507
-RMD160 (webkitgtk-2.22.7.tar.xz) = ec7badb02357401ed264e1055c6a2ace84aa9a10
-SHA512 (webkitgtk-2.22.7.tar.xz) = c11f60b14f279752bb75efce4b69cbfd75e854bfb16772edc3b24d28eff2fb65090e03f24c1cfaf1f27668e017d877e04d5210560da70568029c5af33a916126
-Size (webkitgtk-2.22.7.tar.xz) = 16777676 bytes
-SHA1 (patch-CMakeLists.txt) = 93466370f447c6be9008512aa1fc2dc0bd2b843b
-SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = a41e02c7a1f9bfb91a2af36ec0410e1bf2b9a745
-SHA1 (patch-Source_JavaScriptCore_assembler_ARMAssembler.h) = bae08310572c2e23c69cbf6aa9760a67345dcfe3
-SHA1 (patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp) = ab75ef8714e5071fcd094735717a2f5d0321c747
+SHA1 (webkitgtk-2.24.0.tar.xz) = 737fc7a6f5b5b5e2844c8488e60196d61802a952
+RMD160 (webkitgtk-2.24.0.tar.xz) = 6527bf43374911dd82943757ae2ba622d1792722
+SHA512 (webkitgtk-2.24.0.tar.xz) = 7a1444b22fb59ecdd638344acf3525f1ef9204215a568e185f2ac7f4e43cf89c7be307be31d51ec46231bbf5e9470e48d56395873d7368aca8022ff5c4100dab
+Size (webkitgtk-2.24.0.tar.xz) = 17894000 bytes
+SHA1 (patch-CMakeLists.txt) = 571c65d258b6e12503971145777a8d442578145f
+SHA1 (patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh) = 5bb44be142b474d517b2b1459f0edc7d2453aa61
+SHA1 (patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh) = 308a7c8f687253b4fc75de0c66016dd18666e697
+SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = f80d9811f108a72efe16f0e39b97f503d7738840
+SHA1 (patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h) = 985c19ffb6a16df031bd284f7e79041adb8cd311
SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = e6a23d5ef22bddd0a9606fb0e472960e4cf5673e
-SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = 36d29a5db03c2413ae93224ac391f3ff248983e8
-SHA1 (patch-Source_JavaScriptCore_offlineasm_arm64.rb) = 784baf6f3baba2986fbcb7aa10e7abed8f8c6336
+SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = d600887955128cecece21ba401f6f53ba5cfbeb6
+SHA1 (patch-Source_JavaScriptCore_offlineasm_arm64.rb) = 8c05dafa317667bbf55504d05eeb8ae06fba4e93
SHA1 (patch-Source_JavaScriptCore_runtime_MachineContext.h) = 23bc86a389f8009ec829c3ee0fe3effe3f20b012
-SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = f1eee7f9d3012edee1915234c837cff820f97092
-SHA1 (patch-Source_WTF_wtf_Platform.h) = 5cf36cf7cca8a39d75a788ca988758927b421d95
-SHA1 (patch-Source_WTF_wtf_RAMSize.cpp) = aa36df14e9715a47a386c37082a540390e30efa4
+SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = a5454eb891ad1f9d8285c28af2e9efb4ff439e6b
+SHA1 (patch-Source_WTF_wtf_FileSystem.cpp) = 9d6204ce6663f3b32d195e307540c5cc5e7a7988
+SHA1 (patch-Source_WTF_wtf_Platform.h) = 584720f4e248ff7e51166c267d08954786c28ab7
+SHA1 (patch-Source_WTF_wtf_RAMSize.cpp) = 21e442fc0025f7eb0a90f491d4bdfd35e26baadb
SHA1 (patch-Source_WTF_wtf_StackBounds.cpp) = 22a71daac8443f079ad8bcc7285cfd7319c972b3
+SHA1 (patch-Source_WebCore_Scripts_check-xcfilelists.sh) = 2a7ff15a2ec01a77481f85a6ca613bb7a3c18355
+SHA1 (patch-Source_WebCore_Scripts_generate-unified-sources.sh) = 740eb33931b6f9cb8008748323235f23466328dc
SHA1 (patch-Source_WebCore_inspector_InspectorFrontendHost.cpp) = daf6351a1a0b5a49592a2bb6db0d54620c7b09e3
-SHA1 (patch-Source_WebCore_platform_FileSystem.cpp) = adef1a42c4e210f0a3dcb82807e2d2039684a0ec
SHA1 (patch-Source_WebCore_platform_graphics_filters_FEMorphology.cpp) = 16b36d2d91fd7f43156b9ee09bcafd19602ebbd9
SHA1 (patch-Source_WebCore_rendering_shapes_RasterShape.cpp) = 551e47698dee50d097b11e3218f13bb3447edfea
SHA1 (patch-Source_WebKit_CMakeLists.txt) = 228cc4734de3b08a3877ac839b1ffa2fbf2d3aa8
-SHA1 (patch-Source_WebKit_NetworkProcess_cache_NetworkCacheFileSystem.cpp) = 810dfbd5be6a6a2fd2c70795ed257d973fc3e4fe
-SHA1 (patch-Source_WebKit_PlatformGTK.cmake) = 91a7e63ebeac06cca21547aa7025a55a4d174b6d
+SHA1 (patch-Source_WebKit_NetworkProcess_cache_NetworkCacheFileSystem.cpp) = 8c19692e78b1cfb021b95435508a10bc6542b173
+SHA1 (patch-Source_WebKit_PlatformGTK.cmake) = 61d2b4942b83d3f3c1b642d122f109ba90bbff9d
SHA1 (patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp) = 9c58253868e06b3dd3cac936651ba7e6a1437fc6
SHA1 (patch-Source_WebKit_Platform_classifier_ResourceLoadStatisticsClassifier.cpp) = 920376ec8697780637f376b2fff312b7e214a7f6
+SHA1 (patch-Source_WebKit_Scripts_check-xcfilelists.sh) = 7804dfff27dc1c26c74aae4aa7856d9bc6b895c0
+SHA1 (patch-Source_WebKit_Scripts_generate-unified-sources.sh) = def930cf3f706ac657b2f8835c8c0278ade8f663
SHA1 (patch-Source_bmalloc_bmalloc_BPlatform.h) = ad6c6f93732a4bb355ac2b65bff8968aae0460ba
SHA1 (patch-Source_bmalloc_bmalloc_VMAllocate.h) = 7bbf23f5ac92173dcce9743c5a115bdf0bf7c0ea
SHA1 (patch-Source_cmake_OptionsCommon.cmake) = 03b72552414e7114bfa7ddc2d68fd97009a5ff7d
diff -r 56cc46b2e297 -r ba23f014ecbe www/webkit-gtk/patches/patch-CMakeLists.txt
--- a/www/webkit-gtk/patches/patch-CMakeLists.txt Wed Mar 13 19:33:40 2019 +0000
+++ b/www/webkit-gtk/patches/patch-CMakeLists.txt Wed Mar 13 20:49:40 2019 +0000
@@ -1,20 +1,20 @@
-$NetBSD: patch-CMakeLists.txt,v 1.7 2018/12/23 22:22:47 roy Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.8 2019/03/13 20:49:40 leot Exp $
- Fix support for arm
- Fix support for ppc, from FreeBSD.
---- CMakeLists.txt.orig 2018-12-13 01:57:34.000000000 +0000
+--- CMakeLists.txt.orig 2019-02-12 11:20:53.000000000 +0000
+++ CMakeLists.txt
-@@ -85,6 +85,8 @@ else ()
+@@ -86,7 +86,7 @@ else ()
endif ()
- if (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
+ if (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(^aarch64|^arm64)")
+ set(WTF_CPU_ARM64 1)
+-elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
++elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(^arm|^earm)")
set(WTF_CPU_ARM 1)
-+elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^earm")
-+ set(WTF_CPU_ARM 1)
- elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^aarch64")
- set(WTF_CPU_ARM64 1)
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^mips64")
-@@ -95,9 +97,9 @@ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR
+ set(WTF_CPU_MIPS64 1)
+@@ -96,9 +96,9 @@ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR
set(WTF_CPU_X86_64 1)
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)")
set(WTF_CPU_X86 1)
diff -r 56cc46b2e297 -r ba23f014ecbe www/webkit-gtk/patches/patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/patches/patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh Wed Mar 13 20:49:40 2019 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh,v 1.1 2019/03/13 20:49:40 leot Exp $
+
+Avoid unportable `==' test(1) operator.
+
+--- Source/JavaScriptCore/Scripts/check-xcfilelists.sh.orig 2019-02-12 11:21:03.000000000 +0000
++++ Source/JavaScriptCore/Scripts/check-xcfilelists.sh
+@@ -1,8 +1,8 @@
+ #!/bin/sh
+
+-[ "${WK_DISABLE_CHECK_XCFILELISTS}" == "1" ] && { echo "### Not running because WK_DISABLE_CHECK_XCFILELISTS is set"; exit 0; }
+-[ "${DEPLOYMENT_LOCATION}" == "YES" ] && { echo "### Not running because DEPLOYMENT_LOCATION is YES"; exit 0; }
+-[ "${USE_INTERNAL_SDK}" == "YES" ] || { echo "### Not running because USE_INTERNAL_SDK is not YES"; exit 0; }
++[ "${WK_DISABLE_CHECK_XCFILELISTS}" = "1" ] && { echo "### Not running because WK_DISABLE_CHECK_XCFILELISTS is set"; exit 0; }
++[ "${DEPLOYMENT_LOCATION}" = "YES" ] && { echo "### Not running because DEPLOYMENT_LOCATION is YES"; exit 0; }
++[ "${USE_INTERNAL_SDK}" = "YES" ] || { echo "### Not running because USE_INTERNAL_SDK is not YES"; exit 0; }
+
+ SCRIPT="${BUILD_SCRIPTS_DIR}/generate-xcfilelists"
+ [ -f "${SCRIPT}" ] || SCRIPT="${PROJECT_DIR}/../../Tools/Scripts/generate-xcfilelists"
diff -r 56cc46b2e297 -r ba23f014ecbe www/webkit-gtk/patches/patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/patches/patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh Wed Mar 13 20:49:40 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh,v 1.1 2019/03/13 20:49:40 leot Exp $
+
+Avoid unportable `==' test(1) operator.
+
+--- Source/JavaScriptCore/Scripts/generate-unified-sources.sh.orig 2019-02-12 11:21:03.000000000 +0000
++++ Source/JavaScriptCore/Scripts/generate-unified-sources.sh
+@@ -7,7 +7,7 @@ ARGS=("$@")
+ cd $SRCROOT
+
+ if [ -z "${BUILD_SCRIPTS_DIR}" ]; then
+- if [ "${DEPLOYMENT_LOCATION}" == "YES" ]; then
++ if [ "${DEPLOYMENT_LOCATION}" = "YES" ]; then
+ BUILD_SCRIPTS_DIR="${SDKROOT}${WK_ALTERNATE_WEBKIT_SDK_PATH}/usr/local/include/wtf/Scripts"
+ else
+ BUILD_SCRIPTS_DIR="${BUILT_PRODUCTS_DIR}/usr/local/include/wtf/Scripts"
diff -r 56cc46b2e297 -r ba23f014ecbe www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
--- a/www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h Wed Mar 13 19:33:40 2019 +0000
+++ b/www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h Wed Mar 13 20:49:40 2019 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-Source_JavaScriptCore_assembler_ARM64Assembler.h,v 1.2 2018/12/23 22:18:14 roy Exp $
+$NetBSD: patch-Source_JavaScriptCore_assembler_ARM64Assembler.h,v 1.3 2019/03/13 20:49:40 leot Exp $
- Bump m_compareRegister to hold values of JSC::ARM64Assembler::RegisterID
- Add support for FreeBSD and NetBSD.
Based on patch from FreeBSD ports but using __builtin___clear_cache()
instead of __clear_cache() (the former is also available in gcc).
---- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2018-12-13 01:57:37.000000000 +0000
+--- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2019-02-12 11:21:03.000000000 +0000
+++ Source/JavaScriptCore/assembler/ARM64Assembler.h
-@@ -456,7 +456,7 @@ public:
+@@ -462,7 +462,7 @@ public:
JumpLinkType m_linkType : 8;
Condition m_condition : 4;
unsigned m_bitNumber : 6;
@@ -16,9 +16,9 @@
bool m_is64Bit : 1;
} realTypes;
struct CopyTypes {
-@@ -2863,6 +2863,8 @@ public:
+@@ -2874,6 +2874,8 @@ public:
{
- #if OS(IOS)
+ #if OS(IOS_FAMILY)
sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
+#elif OS(FREEBSD) || OS(NETBSD)
+ __builtin___clear_cache(code, reinterpret_cast<char*>(code) + size);
diff -r 56cc46b2e297 -r ba23f014ecbe www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARMAssembler.h
--- a/www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARMAssembler.h Wed Mar 13 19:33:40 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-$NetBSD: patch-Source_JavaScriptCore_assembler_ARMAssembler.h,v 1.7 2018/10/24 18:31:07 leot Exp $
-
-Add support for NetBSD.
-
---- Source/JavaScriptCore/assembler/ARMAssembler.h.orig 2016-01-20 12:12:59.000000000 +0000
-+++ Source/JavaScriptCore/assembler/ARMAssembler.h
-@@ -29,6 +29,11 @@
-
- #if ENABLE(ASSEMBLER) && CPU(ARM_TRADITIONAL)
-
-+#if OS(NETBSD)
-+#include <sys/types.h>
-+#include <machine/sysarch.h>
-+#endif
-+
- #include "AssemblerBufferWithConstantPool.h"
- #include "JITCompilationEffort.h"
- #include <wtf/Assertions.h>
-@@ -1128,6 +1133,11 @@ namespace JSC {
- linuxPageFlush(current, current + page);
-
- linuxPageFlush(current, end);
-+#elif OS(NETBSD)
-+ struct arm_sync_icache_args arg;
-+ arg.addr = reinterpret_cast<uintptr_t>(code);
-+ arg.len = size;
-+ sysarch(ARM_SYNC_ICACHE, (void *)&arg);
- #else
- #error "The cacheFlush support is missing on this platform."
- #endif
diff -r 56cc46b2e297 -r ba23f014ecbe www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h Wed Mar 13 20:49:40 2019 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h,v 1.1 2019/03/13 20:49:40 leot Exp $
+
+Add support for NetBSD.
+
+--- Source/JavaScriptCore/assembler/ARMv7Assembler.h.orig 2019-02-12 11:21:03.000000000 +0000
++++ Source/JavaScriptCore/assembler/ARMv7Assembler.h
+@@ -28,6 +28,11 @@
+
+ #if ENABLE(ASSEMBLER) && CPU(ARM_THUMB2)
+
++#if OS(NETBSD)
++#include <sys/types.h>
++#include <machine/sysarch.h>
++#endif
++
+ #include "AssemblerBuffer.h"
+ #include "AssemblerCommon.h"
+ #include <limits.h>
+@@ -2488,6 +2493,11 @@ public:
+ linuxPageFlush(current, current + page);
+
+ linuxPageFlush(current, end);
++#elif OS(NETBSD)
++ struct arm_sync_icache_args arg;
Home |
Main Index |
Thread Index |
Old Index