aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2015-02-22 03:06:11 +0800
committersbruno <sbruno@FreeBSD.org>2015-02-22 03:06:11 +0800
commitcfb7269ea93a83599b0b30ee813e86c4eedefa03 (patch)
tree3d091587f07ed0497700868027279a9126b834b2 /www
parent154a919d8913a1a970f85eef1e4d0070b18fd7fa (diff)
downloadfreebsd-ports-gnome-cfb7269ea93a83599b0b30ee813e86c4eedefa03.tar.gz
freebsd-ports-gnome-cfb7269ea93a83599b0b30ee813e86c4eedefa03.tar.zst
freebsd-ports-gnome-cfb7269ea93a83599b0b30ee813e86c4eedefa03.zip
Add support for armv6 by adding __clear_cache support to ASM in the javascript
assembler. This mirrors similar patches to other webkit ports. PR: 197483 Submitted by: mikael.urankar@gmail.com Reviewed by: rakuco@FreeBSD.org (for kde@)
Diffstat (limited to 'www')
-rw-r--r--www/webkit-qt5/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/webkit-qt5/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h b/www/webkit-qt5/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h
new file mode 100644
index 000000000000..94579033ef52
--- /dev/null
+++ b/www/webkit-qt5/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h
@@ -0,0 +1,11 @@
+--- Source/JavaScriptCore/assembler/ARMAssembler.h.orig 2015-01-19 21:25:28.000000000 +0000
++++ Source/JavaScriptCore/assembler/ARMAssembler.h 2015-01-19 21:25:57.000000000 +0000
+@@ -1121,6 +1121,8 @@ namespace JSC {
+ linuxPageFlush(current, end);
+ #elif OS(WINCE)
+ CacheRangeFlush(code, size, CACHE_SYNC_ALL);
++#elif CPU(ARM_TRADITIONAL) && OS(FREEBSD) && COMPILER(CLANG)
++ __clear_cache(code, reinterpret_cast<char*>(code) + size);
+ #else
+ #error "The cacheFlush support is missing on this platform."
+ #endif