Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/webkit24-gtk Use __builtin___clear_cache on NetBSD...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24c009eb5ace
branches:  trunk
changeset: 436420:24c009eb5ace
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sun Aug 02 17:41:41 2020 +0000

description:
Use __builtin___clear_cache on NetBSD Arm64

diffstat:

 www/webkit24-gtk/distinfo                                                       |   3 +-
 www/webkit24-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h |  14 ++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 107433822289 -r 24c009eb5ace www/webkit24-gtk/distinfo
--- a/www/webkit24-gtk/distinfo Sun Aug 02 13:27:32 2020 +0000
+++ b/www/webkit24-gtk/distinfo Sun Aug 02 17:41:41 2020 +0000
@@ -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 @@
 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 -r 107433822289 -r 24c009eb5ace www/webkit24-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit24-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h   Sun Aug 02 17:41:41 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index