Date: Fri, 9 Nov 2018 15:47:47 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484519 - head/www/webkit2-gtk3/files Message-ID: <201811091547.wA9Flluf041398@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Fri Nov 9 15:47:47 2018 New Revision: 484519 URL: https://svnweb.freebsd.org/changeset/ports/484519 Log: www/webkit2-gtk3: fix build on aarch64 PR: 228699 Submitted by: mikael.urankar@gmail.com Reviewed by: greg@unrelenting.technology Added: head/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_offlineasm_arm64_rb (contents, props changed) Added: head/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_offlineasm_arm64_rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_offlineasm_arm64_rb Fri Nov 9 15:47:47 2018 (r484519) @@ -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}]" +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811091547.wA9Flluf041398>