aboutsummaryrefslogtreecommitdiff
path: root/www/webkit-gtk2
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-01-20 14:15:50 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-01-20 14:15:50 +0000
commit3eb1321850a81eb659ed0b2d881cacb161137141 (patch)
tree93155aac30aff1a82c3eec194ca2d649d412eee2 /www/webkit-gtk2
parentbc48b53f2c73e0f85f8d03138fd9b243c0ca023a (diff)
downloadports-3eb1321850a81eb659ed0b2d881cacb161137141.tar.gz
ports-3eb1321850a81eb659ed0b2d881cacb161137141.zip
www/webkit2-gtk3: attempt to unbreak on aarch64
./Source/JavaScriptCore/assembler/ARM64Assembler.h:2760:2: error: "The cacheFlush support is missing on this platform." #error "The cacheFlush support is missing on this platform." ^ ./Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:133:17: error: class member cannot be redeclared static bool shouldBlindForSpecificArch(uintptr_t value) { return value >= 0x00ffffff; } ^ ./Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:132:17: note: previous declaration is here static bool shouldBlindForSpecificArch(uint64_t value) { return value >= 0x00ffffff; } ^ Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=431958
Diffstat (limited to 'www/webkit-gtk2')
-rw-r--r--www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h11
-rw-r--r--www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_MacroAssemblerARM64.h19
2 files changed, 30 insertions, 0 deletions
diff --git a/www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h b/www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
new file mode 100644
index 000000000000..956f3104f434
--- /dev/null
+++ b/www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
@@ -0,0 +1,11 @@
+--- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2016-04-10 06:48:36 UTC
++++ Source/JavaScriptCore/assembler/ARM64Assembler.h
+@@ -2756,6 +2756,8 @@ public:
+ {
+ #if OS(IOS)
+ sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
++#elif OS(FREEBSD) || OS(NETBSD)
++ __clear_cache(code, reinterpret_cast<char*>(code) + size);
+ #else
+ #error "The cacheFlush support is missing on this platform."
+ #endif
diff --git a/www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_MacroAssemblerARM64.h b/www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_MacroAssemblerARM64.h
new file mode 100644
index 000000000000..ebe407021ee0
--- /dev/null
+++ b/www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_MacroAssemblerARM64.h
@@ -0,0 +1,19 @@
+------------------------------------------------------------------------
+r165961 | rgabor@webkit.org | 2014-03-20 18:03:43 +0400 (Thu, 20 Mar 2014) | 15 lines
+
+[...]
+https://bugs.webkit.org/show_bug.cgi?id=130502
+[...]
+Delete shouldBlindForSpecificArch(uintptr_t) because on ARM64 uint64_t
+and uintptr_t is the same with GCC and Clang as well.
+
+--- Source/JavaScriptCore/assembler/MacroAssemblerARM64.h.orig 2016-04-10 06:48:36 UTC
++++ Source/JavaScriptCore/assembler/MacroAssemblerARM64.h
+@@ -130,7 +130,6 @@ public:
+ // FIXME: Get reasonable implementations for these
+ static bool shouldBlindForSpecificArch(uint32_t value) { return value >= 0x00ffffff; }
+ static bool shouldBlindForSpecificArch(uint64_t value) { return value >= 0x00ffffff; }
+- static bool shouldBlindForSpecificArch(uintptr_t value) { return value >= 0x00ffffff; }
+
+ // Integer operations:
+