From nobody Fri Jun 14 14:37:05 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W120x5tWHz5NxtW; Fri, 14 Jun 2024 14:37:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W120x5C6rz4c6N; Fri, 14 Jun 2024 14:37:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718375825; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=57222EfeYR4Eqml7Fe8S6VCasI244j17vwsi2A+m4E8=; b=vCV6Lkr3ngWfZ7qHAwuR9RR4BN9cRMM+rixPNfkZ4Yz4rYnyBpM+C9SLuCIj1utlKmfyeP DGf11bhxxcjoUeMqvxIaIIvZaPP3UoULValo83z94WjTZRabY4H8UVDpFqvj9X62H+8+iU 9qlgwcX+43FVOkOrOKiTmmKj/38U7fHRUMqUAYWCOzlxf2DImVz46SL15brAI5UMSmHVj3 4vwDSyUF37Htpx6Xpb9MnyLicfS+mk4T5rRSwagM0P1tSGWLMyQc+y6J/sEss+f57mZV4n uxxPaSeAz5/fBSxn2thHSIxWHFPCD+VO72FY6cbAJl6HU5zC6XbSBjz0AXn6OA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718375825; a=rsa-sha256; cv=none; b=XusbfdZO6V/UPBOrWNGwYTLo7iBTsKvaBHd7/xiuKymn6T27I9O81rZ3mb6IyAHxhkx0Ac ooKGnGaBAloD/1fqDCLVyCpZMsn1pR0pphDP3Avwm2iT5d0yiIzms+aCBb77i3jlkmRY8z MiDyNC1FpFS1bKIfg6ukP3aoDPqHS4A9nXRZLuoaOizhwQWSCw6rBRu7VNY1M9SAeo/XHm UDbX6jow7arPDsovv2uvW6CMIcePiWP/eC8F/PgDCDPXhjNIj2WT5tNtFflh22Z4t3iORx 0wvYI6e7isLfnx82xKZh+dteERZc/+Mo426jwCdAo8ZFdaOAA9cpGUjYsU/J3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718375825; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=57222EfeYR4Eqml7Fe8S6VCasI244j17vwsi2A+m4E8=; b=tyf3jEHCwEjkMWbNDR4xjm6l+KG/GYayKKtTdGb/5zEiQzNbwhLq0OBOVNqtOuYtiWk7AI eIOh94o57Uc/0kyab0qTbx0EzqiGek6pNXXk012X1rCC3gyzq3RUEClTXqqkRXvUbN3+9l WATzvTZ8VA2IbO+bmq1QT8YwTpCSeZCDBPG8hg+rye4iWf/veeVfFkfwm6jop8CbTWZUtC +4QqzgV4N78jlfp/beey1BK/k9Hh6nF5PnFYFFTekitCcqWJRv5K1AtpzzFIuunsK/58Jp dfpBSJTFoReJNWQB+mC6Of0MNzidAQ6y7fBHqGK1bucrJ8D9Wzg3NfUMrmAcbA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W120x4hBRzPRb; Fri, 14 Jun 2024 14:37:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45EEb5uX096313; Fri, 14 Jun 2024 14:37:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45EEb5W4096310; Fri, 14 Jun 2024 14:37:05 GMT (envelope-from git) Date: Fri, 14 Jun 2024 14:37:05 GMT Message-Id: <202406141437.45EEb5W4096310@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: a852acb91b28 - main - www/deno: Fix build on aarch64 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a852acb91b2829636236f6e098c35e494a3f8c32 Auto-Submitted: auto-generated The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=a852acb91b2829636236f6e098c35e494a3f8c32 commit a852acb91b2829636236f6e098c35e494a3f8c32 Author: Mikael Urankar AuthorDate: 2024-06-14 12:43:46 +0000 Commit: Mikael Urankar CommitDate: 2024-06-14 14:36:59 +0000 www/deno: Fix build on aarch64 --- www/deno/files/patch-cargo-crates_v8_build.rs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/www/deno/files/patch-cargo-crates_v8_build.rs b/www/deno/files/patch-cargo-crates_v8_build.rs index b8f21f3d635b..0c9baab260d1 100644 --- a/www/deno/files/patch-cargo-crates_v8_build.rs +++ b/www/deno/files/patch-cargo-crates_v8_build.rs @@ -1,6 +1,21 @@ --- cargo-crates/v8-0.92.0/build.rs.orig 2020-07-22 09:53:02 UTC +++ cargo-crates/v8-0.92.0/build.rs -@@ -268,6 +268,8 @@ fn platform() -> String { +@@ -199,10 +199,10 @@ fn build_v8(is_asan: bool) { + } + // cross-compilation setup + if target_arch == "aarch64" { +- gn_args.push(r#"target_cpu="arm64""#.to_string()); +- gn_args.push("use_sysroot=true".to_string()); +- maybe_install_sysroot("arm64"); +- maybe_install_sysroot("amd64"); ++ // gn_args.push(r#"target_cpu="arm64""#.to_string()); ++ gn_args.push("use_sysroot=false".to_string()); ++ // maybe_install_sysroot("arm64"); ++ // maybe_install_sysroot("amd64"); + } + if target_arch == "arm" { + gn_args.push(r#"target_cpu="arm""#.to_string()); +@@ -326,6 +326,8 @@ fn host_platform() -> String { "mac" } else if cfg!(target_os = "windows") { "windows"