aboutsummaryrefslogtreecommitdiffstats
path: root/www/qt5-webkit/files
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2018-06-20 02:17:05 +0800
committertcberner <tcberner@FreeBSD.org>2018-06-20 02:17:05 +0800
commit82d3956b5367b08534a5f585c56dd118e24b5e13 (patch)
treeb93403d1154e5e2bcadacaba1a35cca6b33470c8 /www/qt5-webkit/files
parentfeab36f319e1e04f4f335a3543c62b8511345391 (diff)
downloadfreebsd-ports-gnome-82d3956b5367b08534a5f585c56dd118e24b5e13.tar.gz
freebsd-ports-gnome-82d3956b5367b08534a5f585c56dd118e24b5e13.tar.zst
freebsd-ports-gnome-82d3956b5367b08534a5f585c56dd118e24b5e13.zip
www/qt5-webkit: fix "cacheFlush support is missing" for FreeBSD/arm64
Finally fix this regression. PR: 224441 Submitted by: mikael.urankar@gmail.com
Diffstat (limited to 'www/qt5-webkit/files')
-rw-r--r--www/qt5-webkit/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/qt5-webkit/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h b/www/qt5-webkit/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
new file mode 100644
index 000000000000..c282f13aa685
--- /dev/null
+++ b/www/qt5-webkit/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
@@ -0,0 +1,11 @@
+--- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2018-05-28 10:30:34 UTC
++++ Source/JavaScriptCore/assembler/ARM64Assembler.h
+@@ -2683,6 +2683,8 @@ class ARM64Assembler { (public)
+ linuxPageFlush(current, current + page);
+
+ linuxPageFlush(current, end);
++#elif OS(FREEBSD)
++ __clear_cache(code, reinterpret_cast<char*>(code) + size);
+ #else
+ #error "The cacheFlush support is missing on this platform."
+ #endif