From nobody Tue Nov 14 02:54:36 2023 X-Original-To: dev-commits-ports-all@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 4STrVh3dL8z50tSF; Tue, 14 Nov 2023 02:54:36 +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 4STrVh2v39z4hlQ; Tue, 14 Nov 2023 02:54:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699930476; 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=+jmLQwqRRCRfrwos3qa+zMl/mvSbvoN78Y4wROhvJ8A=; b=r5JQ2nlhHIChlPWVffO2oU9hrUGxOBE9EM03ifiYbMNzb1YHj0shWsj1GH4iXGEZEZ3Dmk abVjXLaMKcRCq4esRawrTribgF3P6OKJ3OmjuH34hd12fBW9wkbiqnBogByNI9O2TOaYoi 6Ao4HhtyTgPsViqNP1BBINEjWAq7o5GqGsKf8+R65Q52uHp781T3BUiHqxYQgLp4QSyV3P Jdpjpw0xECryMl/iDzBKkVXhf7rnRcUeYnmVPgXQjY+BUHkdTRFC/RdDsfmbcZJeCQYamL uirUg90sQGPi6NJ82OdooEdqH/w01Uxsy8V/KeYyIoeJa7njKO+LHgn3fprX7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699930476; 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=+jmLQwqRRCRfrwos3qa+zMl/mvSbvoN78Y4wROhvJ8A=; b=Yfbsvc1iUDHVS355jxJgTSj/SMZB73VYiweqHqCc13vaUXV+3CGd7y9CB7Q/htmarkd8Ah 10Hyy6A8WFyJR6+XAVZp9lmxOANaJ86P1hgVOWI/NL2fqEpq1aON6IY2+9k7ylCVuWgN4T izIM+7YhPHs/Wjxww5lp4/WnP9im3Efa8hPrcAqBfrtrxGKZQrpfF7NyyekGOVcw9anKI/ 0KU/GYGC5kDGo6s1qP932mU4IJNR0wL8kJALG+O9e1wbY9rhZsZho8MULvZOzUi3UPfje2 JCsqHdsMFeDxtkcgkunNdDQy7BsaciPEoklR0sA6tRxCIt9aP1Z78yJyoMHVwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699930476; a=rsa-sha256; cv=none; b=sxZXcYlcmt8mxn6Y3L1tTkCdBl9ZiU1Kx35FURvCd/0IFaceUVVk4Hx9/zG1eIAT1huZF3 gmKIJIX/7x06lvsdbgpDBlM8F4pumnw9qSMdTtcyEzRj4g53qNmoL1djijSM08ixWsrnm2 DyEU2PwVK+yrad3ek3WarpzxJMsgXTJODZacrjpbiQ5XRnRME022tAMd+dZCJKEjJV2L+F r84P4GSI5uNZgPbOyX2GRBet0I/xYZMBKCEUJJC5KdFZye2Hspo5t+RMyOs1mlV0Cn8iPF u37fkdN8MfwjSzkRTAVYC7zYyy4XkR/rmgrRp2c3XEcjo/TqHZTczlMZkzWehA== 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 4STrVh1mx3zXV9; Tue, 14 Nov 2023 02:54:36 +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 3AE2sa6W013903; Tue, 14 Nov 2023 02:54:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AE2saHg013900; Tue, 14 Nov 2023 02:54:36 GMT (envelope-from git) Date: Tue, 14 Nov 2023 02:54:36 GMT Message-Id: <202311140254.3AE2saHg013900@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: 94d830e457f5 - main - www/firefox-esr: fix build on powerpc64* List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 94d830e457f51b283ca24804c172135f72317bb3 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=94d830e457f51b283ca24804c172135f72317bb3 commit 94d830e457f51b283ca24804c172135f72317bb3 Author: Piotr Kubaj AuthorDate: 2023-11-13 10:30:25 +0000 Commit: Piotr Kubaj CommitDate: 2023-11-14 02:54:33 +0000 www/firefox-esr: fix build on powerpc64* In file included from Unified_cpp_dom_media_flac0.cpp:2: /wrkdirs/usr/ports/www/firefox-esr/work/firefox-115.4.0/dom/media/flac/FlacDecoder.cpp:21:10: error: value of type 'media::DecodeSupportSet' (aka 'EnumSet') is not contextually convertible to 'bool' platform->SupportsMimeType("audio/flac"_ns); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/www/firefox-esr/work/firefox-115.4.0/dom/media/flac/FlacDecoder.cpp:20:44: error: invalid operands to binary expression ('StripAtomic' (aka 'bool') and 'media::DecodeSupportSet' (aka 'EnumSet')) return StaticPrefs::media_flac_enabled() && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2 errors generated. --- www/firefox-esr/files/patch-dom_media_flac_FlacDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/firefox-esr/files/patch-dom_media_flac_FlacDecoder.cpp b/www/firefox-esr/files/patch-dom_media_flac_FlacDecoder.cpp index 954b78f5bf37..6dc197d9455e 100644 --- a/www/firefox-esr/files/patch-dom_media_flac_FlacDecoder.cpp +++ b/www/firefox-esr/files/patch-dom_media_flac_FlacDecoder.cpp @@ -17,7 +17,7 @@ Enable FLAC on platforms without ffvpx like powerpc* +#elif defined(MOZ_FFMPEG) + RefPtr platform = new PDMFactory(); + return StaticPrefs::media_flac_enabled() && -+ platform->SupportsMimeType("audio/flac"_ns); ++ !platform->SupportsMimeType("audio/flac"_ns).isEmpty(); #else return false; #endif