From nobody Mon Jan 13 13:08:34 2025 X-Original-To: dev-commits-ports-branches@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 4YWsyV5QTHz5kCQw; Mon, 13 Jan 2025 13:08:34 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YWsyV3H9Xz3r9h; Mon, 13 Jan 2025 13:08:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736773714; 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=83II+RiR8hMXnIWRmGJoUdkQ4otPC5SL7kDg1kcgoZA=; b=oYxNHXMY5ifdwrvX/Q8yvG4bS1EUgg4XP4SaqO4rgDQD0WLSRd8O+xz+hSucI/eloetqI6 DwVBxtEorF1VFEDkdCZA+3BdVSfeMjBpkeFXJIALA0oM9vyaPnwv+d8N+2zLtyJ53tMAsR eFMdb2Q26oYlVrzoWJw3JRQPPIeaPh37gYc9PhuebNZzp1m+rnXXusKhesEygBQWhaQXRk USB8t/uVfeFnY45NTQVMqTNxmo5BJfDy6GpHg1sQuoeIQcu7vQeM3a/YIumzisYuYOmbFj 8CPUlp557nB/iZ4amCIpuU2kY5ZF11Sk1LMjfO+9oHZ3BD2zMDZgOEHTA+Cstg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736773714; 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=83II+RiR8hMXnIWRmGJoUdkQ4otPC5SL7kDg1kcgoZA=; b=kk/ek/WYjHUmDlYhUXV3TowGCgGiNvh1/hnE4nis8UXLJAyZ2bxAnxOuvyEACRyja/j3UA zAALA5KBbPsfy75ULVAliwkG9kFCLZ9TvA1xlyvEIq2Ty+uAtqgAjB5Pn3lTeZ5PtlFmyM 5mBWdvFXFsfQGjUdpYH1vTUAsyv0tsdDPUSheGtatxvgRkRmvu/gaFrmXSBJXS2ASr4Ipp uNC08ZXJ0Sdj9ap0LiezVMtawfNM8g+LOCBaXJRLJG59Y8pxALH3eva3T8vmawLOccAKL8 KbuUVdYoMTTTVStAryPIoKsKiBF3cqfqpsaJ6G58vuLjmq1Q3dXuJ4+iXDTK8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736773714; a=rsa-sha256; cv=none; b=IW/YnkHE/BD52PxaEJykFR8Uh0nBFcG1W44PNvGwm7/WbdJbUOb29GAWeSSNaQixlyti3F OjVtWOZvZMuVOOGaCfp3R4v+FbjvPQ4gh8u1L3+A10OUUKaeG6p4IZyFG+OYmDUhXpcDyL XmV2hxqFRor9qFPPuswNvwRai0WhurJ77uwyuYAwuXl0ivAPMOZS1/SYs9ZBa0totSleMV RJZF8qAMvDaFkcRdDznjMVocbCyNBGMiWQWNA6WJMRvpO/dJLB+gaHEWCFf3TPXJqRgYHF d+5reh0wtOWwqRpb/1tTc0f2Z9hB/vp8xXC6uSeGfZApRsO6U5Q4hZWmNzuSnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YWsyV2rBXzX2G; Mon, 13 Jan 2025 13:08:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50DD8Ym1026655; Mon, 13 Jan 2025 13:08:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50DD8YQL026652; Mon, 13 Jan 2025 13:08:34 GMT (envelope-from git) Date: Mon, 13 Jan 2025 13:08:34 GMT Message-Id: <202501131308.50DD8YQL026652@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: "Jason E. Hale" Subject: git: d33f12ae2696 - 2025Q1 - www/qt6-webengine: Speculative build fix for aarch64 List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-branches@freebsd.org Sender: owner-dev-commits-ports-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/2025Q1 X-Git-Reftype: branch X-Git-Commit: d33f12ae2696ec58ecde216757d8dd184ce68d70 Auto-Submitted: auto-generated The branch 2025Q1 has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=d33f12ae2696ec58ecde216757d8dd184ce68d70 commit d33f12ae2696ec58ecde216757d8dd184ce68d70 Author: Jason E. Hale AuthorDate: 2025-01-13 13:05:33 +0000 Commit: Jason E. Hale CommitDate: 2025-01-13 13:08:25 +0000 www/qt6-webengine: Speculative build fix for aarch64 Reported by: pkg-fallout MFH: 2025Q1 (cherry picked from commit 74bc2a40e59c9199f305e667ff77a7797629ac8c) --- ...x_source_libvpx_vpx__ports_aarch64__cpudetect.c | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libvpx_source_libvpx_vpx__ports_aarch64__cpudetect.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libvpx_source_libvpx_vpx__ports_aarch64__cpudetect.c new file mode 100644 index 000000000000..c6211e39fbdd --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libvpx_source_libvpx_vpx__ports_aarch64__cpudetect.c @@ -0,0 +1,27 @@ +--- src/3rdparty/chromium/third_party/libvpx/source/libvpx/vpx_ports/aarch64_cpudetect.c.orig 2024-01-30 07:53:34 UTC ++++ src/3rdparty/chromium/third_party/libvpx/source/libvpx/vpx_ports/aarch64_cpudetect.c +@@ -91,9 +91,23 @@ static int arm_get_cpu_caps(void) { + return flags; + } + +-#elif defined(__linux__) // end defined(VPX_USE_ANDROID_CPU_FEATURES) ++#elif defined(__linux__) || defined(__FreeBSD__) // end defined(VPX_USE_ANDROID_CPU_FEATURES) + + #include ++ ++#if defined(__FreeBSD__) ++static unsigned long getauxval(unsigned long type) ++{ ++ /* Only AT_HWCAP* return unsigned long */ ++ if (type != AT_HWCAP && type != AT_HWCAP2) { ++ return 0; ++ } ++ ++ unsigned long ret = 0; ++ elf_aux_info(type, &ret, sizeof(ret)); ++ return ret; ++} ++#endif + + // Define hwcap values ourselves: building with an old auxv header where these + // hwcap values are not defined should not prevent features from being enabled.