aboutsummaryrefslogtreecommitdiff
path: root/www/webkit2-gtk3
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2018-11-09 15:47:47 +0000
committerKurt Jaeger <pi@FreeBSD.org>2018-11-09 15:47:47 +0000
commit853f7cd1cbc83dbc5bf4ede1efa5d63ed12e83d0 (patch)
treee92db3366d266e277a8473a69530e0b86e06587e /www/webkit2-gtk3
parentc84c4c7553be556e6b1035d84b5d4c07cfb06051 (diff)
downloadports-853f7cd1cbc83dbc5bf4ede1efa5d63ed12e83d0.tar.gz
ports-853f7cd1cbc83dbc5bf4ede1efa5d63ed12e83d0.zip
Notes
Diffstat (limited to 'www/webkit2-gtk3')
-rw-r--r--www/webkit2-gtk3/files/patch-Source_JavaScriptCore_offlineasm_arm64_rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_offlineasm_arm64_rb b/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_offlineasm_arm64_rb
new file mode 100644
index 000000000000..2d0f3b83d817
--- /dev/null
+++ b/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_offlineasm_arm64_rb
@@ -0,0 +1,11 @@
+--- Source/JavaScriptCore/offlineasm/arm64.rb.orig 2018-06-01 22:16:58 UTC
++++ Source/JavaScriptCore/offlineasm/arm64.rb
+@@ -945,7 +945,7 @@ class Instruction
+ $asm.puts "ldr #{operands[1].arm64Operand(:ptr)}, [#{operands[1].arm64Operand(:ptr)}, #{operands[0].asmLabel}@GOTPAGEOFF]"
+
+ # On Linux, use ELF GOT relocation specifiers.
+- $asm.putStr("#elif OS(LINUX)")
++ $asm.putStr("#elif OS(LINUX) || OS(FREEBSD)")
+ $asm.puts "adrp #{operands[1].arm64Operand(:ptr)}, :got:#{operands[0].asmLabel}"
+ $asm.puts "ldr #{operands[1].arm64Operand(:ptr)}, [#{operands[1].arm64Operand(:ptr)}, :got_lo12:#{operands[0].asmLabel}]"
+