From nobody Wed Dec 11 17:34:06 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 4Y7jQ72sfYz5gDQn; Wed, 11 Dec 2024 17:34:07 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y7jQ7100kz4HtG; Wed, 11 Dec 2024 17:34:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733938447; 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=Nk48iVeyD0ig2G0M2cbPct8LU4t1ryzePr0A1mmNuVk=; b=s0abIcjmBxPJaPJVxYFlfrLb6tL3CH3Yol9NuJCpXbu279hnQhoSKLx3C6RZTPY6ucliMG GzDYvjJXsR/P15nQvjJSPHCaaXSfhq0Enbo1CWsH10r304juO1cFfqx6OMcUDBcam/SM6j GkJKTkq21nF44ape8boZH5JKF3fH1Pl9nXWoR1qXGxQO8t+U0BET/nyJhJcBbs3vmpO5tm y6Kcu9Q4LYWziJDzHDn8ktikDLdB3T93jK6wKbCZGoH11NsakcnkFymncy0mYWtobwtBAf 2vmBsXrVdM1oQ6h/l/VIhcCXEnmGWI3hHMt4/QvvL/LL4DrjgHYt1Xn52YEZWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733938447; 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=Nk48iVeyD0ig2G0M2cbPct8LU4t1ryzePr0A1mmNuVk=; b=Z4L2p9YH2DBrJ4rlVZYb9QSSbpEVyKtodKsN6sEt3Y2KtZ0GhSGUvveR7YBB0/jVG7MeYt dD2hLyyHnjCe8J3c3bu+zqs4+l30Ypk6JDvz68/R3MpxHykzWqOculzg/AJ3BZ0LzBi9A2 A0LJm4W8k9lz2jhhT6SVikmAs7qjGARBug+QCPh01pAx7bRtJlgtm6SYjuLDpeGRFtht3g inmR4JwPEyqo8dywULZQQZAh9YE6LeC9jdG4t1EuY1v25pF5IHhlr+3ur5UIRN97W3AF/v paTios5Oosx3Nh4qOK6vVv+Mzkjl9iGdReZXVDCkKDMIteV4hrLExG6Wf6TI/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733938447; a=rsa-sha256; cv=none; b=UVSrAtHYIw/7jAln4d8dhkclYj2iiVGyedoTfD6PGgbsGEtqADZ3o18GnGoozHmh82w5BI OP+dpz5LAJVA1mODr16rt+xsNPv7Ra3XPt1IRXYGhy9Zo4CQET1I0t3PdYBvtZbMya1dI9 0DmQIvO2Ci8olXSLIcNO7R+ANS/Qv7n/6xMvLMDCuX6Z4GNDwEgXnjCppVcYzGGAyIcEKs Be9Gqz6Drk9VQKyUjH/POf9e17hKz6i7T6XtjlhQz6chX8QIDUCz6dtZCckIWdVGSVzQu3 z/lhAPZO3EUPLFCqClUZXBeidx3sru18vnpZj29CBkQdMdbp+InhP5livMnkKA== 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 4Y7jQ70bDdzHs3; Wed, 11 Dec 2024 17:34:07 +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 4BBHY62E029007; Wed, 11 Dec 2024 17:34:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BBHY6gB029004; Wed, 11 Dec 2024 17:34:06 GMT (envelope-from git) Date: Wed, 11 Dec 2024 17:34:06 GMT Message-Id: <202412111734.4BBHY6gB029004@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: a171f900541f - main - multimedia/librespot: fix build on powerpc64le 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a171f900541f1370a14d0a218322da21fa7bdf2e Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=a171f900541f1370a14d0a218322da21fa7bdf2e commit a171f900541f1370a14d0a218322da21fa7bdf2e Author: Piotr Kubaj AuthorDate: 2024-12-11 10:27:02 +0000 Commit: Piotr Kubaj CommitDate: 2024-12-11 17:28:58 +0000 multimedia/librespot: fix build on powerpc64le /wrkdirs/usr/ports/multimedia/librespot/work/librespot-0.6.0/cargo-crates/aws-lc-sys-0.22.0/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c:72:28: error: call to undeclared function 'getauxval'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] 72 | OPENSSL_ppc64le_hwcap2 = getauxval(AT_HWCAP2); | ^ 1 error generated. --- ...s-0.22.0_aws-lc_crypto_fipsmodule_cpucap_cpu__ppc64le.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/multimedia/librespot/files/patch-cargo-crates_aws-lc-sys-0.22.0_aws-lc_crypto_fipsmodule_cpucap_cpu__ppc64le.c b/multimedia/librespot/files/patch-cargo-crates_aws-lc-sys-0.22.0_aws-lc_crypto_fipsmodule_cpucap_cpu__ppc64le.c new file mode 100644 index 000000000000..002249cdb7e6 --- /dev/null +++ b/multimedia/librespot/files/patch-cargo-crates_aws-lc-sys-0.22.0_aws-lc_crypto_fipsmodule_cpucap_cpu__ppc64le.c @@ -0,0 +1,14 @@ +--- cargo-crates/aws-lc-sys-0.22.0/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c.orig 2006-07-24 01:21:28 UTC ++++ cargo-crates/aws-lc-sys-0.22.0/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c +@@ -69,7 +69,11 @@ void OPENSSL_cpuid_setup(void) { + + void OPENSSL_cpuid_setup(void) { + #if defined(AT_HWCAP2) ++# if defined(__linux__) + OPENSSL_ppc64le_hwcap2 = getauxval(AT_HWCAP2); ++#elif defined(__FreeBSD__) ++ elf_aux_info(AT_HWCAP2, &OPENSSL_ppc64le_hwcap2, sizeof(OPENSSL_ppc64le_hwcap2)); ++#endif + #else + OPENSSL_ppc64le_hwcap2 = 0; + #endif