diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2020-08-02 17:41:41 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2020-08-02 17:41:41 +0000 |
commit | 73a760c38f36999ec39ff5e96fda522e5f7a3543 (patch) | |
tree | 7e88b1e32c92fc7f4d52a238cf86166ceb30be9b /www | |
parent | de883d94e45fffc4b8558d8aaff3d5d2db757d2e (diff) | |
download | pkgsrc-73a760c38f36999ec39ff5e96fda522e5f7a3543.tar.gz |
Use __builtin___clear_cache on NetBSD Arm64
Diffstat (limited to 'www')
-rw-r--r-- | www/webkit24-gtk/distinfo | 3 | ||||
-rw-r--r-- | www/webkit24-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/www/webkit24-gtk/distinfo b/www/webkit24-gtk/distinfo index 7711da3652f..5221a44ce5e 100644 --- a/www/webkit24-gtk/distinfo +++ b/www/webkit24-gtk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2020/04/13 19:11:55 joerg Exp $ +$NetBSD: distinfo,v 1.9 2020/08/02 17:41:41 jmcneill Exp $ SHA1 (webkitgtk-2.4.11.tar.xz) = e425ae86084ab6335dadb368c9e8f53600665d54 RMD160 (webkitgtk-2.4.11.tar.xz) = e1f72498f911465f5ba152313dd9c62ae8d5eee6 @@ -6,6 +6,7 @@ SHA512 (webkitgtk-2.4.11.tar.xz) = 2e2cf01a52b8593765a0a3c2d7f0ad306121660019eb4 Size (webkitgtk-2.4.11.tar.xz) = 9869100 bytes SHA1 (patch-Source_JavaScriptCore_API_JSStringRef.cpp) = 633d5e3fa945cb443ea8c58337ba6ec78fc093b2 SHA1 (patch-Source_JavaScriptCore_ForwardingHeaders_JavaScriptCore_JSCallbackFunction.h) = 79122450435eb12a57086d18e5410eec131c33b2 +SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 7c134294a9cb27f8d860ec3e3b8dc6ba91289c47 SHA1 (patch-Source_JavaScriptCore_assembler_ARMAssembler.h) = 2ff343ac53b14af0692754a44059e7d2ea969b96 SHA1 (patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp) = 69221390dd5fdac55abf341c5ae3a03267e38ae6 SHA1 (patch-Source_JavaScriptCore_dfg_DFGNode.h) = fdd31fcf6c745394499570397c82fe3dfce02e1d diff --git a/www/webkit24-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h b/www/webkit24-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h new file mode 100644 index 00000000000..de4aa2dd7a4 --- /dev/null +++ b/www/webkit24-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h @@ -0,0 +1,14 @@ +$NetBSD: patch-Source_JavaScriptCore_assembler_ARM64Assembler.h,v 1.1 2020/08/02 17:41:41 jmcneill Exp $ + +--- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2016-04-10 06:48:36.000000000 +0000 ++++ Source/JavaScriptCore/assembler/ARM64Assembler.h +@@ -2756,6 +2756,9 @@ public: + { + #if OS(IOS) + sys_cache_control(kCacheFunctionPrepareForExecution, code, size); ++#elif OS(NETBSD) ++ char* begin = reinterpret_cast<char*>(code); ++ __builtin___clear_cache(begin, begin + size); + #else + #error "The cacheFlush support is missing on this platform." + #endif |