From nobody Fri Sep 16 22:22:43 2022 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 4MTpVC2RQ4z4cGt9; Fri, 16 Sep 2022 22:22:43 +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 4MTpVC1d4Fz3jcw; Fri, 16 Sep 2022 22:22:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663366963; 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=7ox1DPaosA2PCQ6qb8+mRjM2n1I/B4RjPoizd8851a8=; b=DUxb996j7bqvjKTbheuIoHUymGEwtAYIhbbfq6en+17hbNzVmzVYwilo4aF3Kz/f/OdlBL QZQcrJPBlNdyxYc6XYaMSPi4K7hp0HZBqy1ju6uHC5sfGiTgdSRMw0eqj61eIKbtTB1LHV Jv1KelsSStZQeODm01jpYi4miAIp4TlvDpwkEZJ7HKshjrWi7NYAa6Mkpf+29AEbfCSrHE kdP2mYKPuhY3fyTVz5CH+AzRXfcSqbaulT1ckT08OshXlTNsetR6etdhIgSanozz+vs5XK 4RHSgYsM2l4MyhoRCumo6Qib0D7PvrtzZF3bCEdGWEfFv56mD3xYLZGpP9tNtQ== 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 4MTpVC0h4jzVyy; Fri, 16 Sep 2022 22:22:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28GMMh6o075119; Fri, 16 Sep 2022 22:22:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28GMMhUD075118; Fri, 16 Sep 2022 22:22:43 GMT (envelope-from git) Date: Fri, 16 Sep 2022 22:22:43 GMT Message-Id: <202209162222.28GMMhUD075118@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: 0f9ccf810cc7 - main - www/firefox: fix build on powerpc64* 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: 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: 0f9ccf810cc75262b0ac52d4e193633ac85920dc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663366963; 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=7ox1DPaosA2PCQ6qb8+mRjM2n1I/B4RjPoizd8851a8=; b=N3Ttefsv5AUSduW0kVvRnLlwjJcRMak1WClhOa8w4BkXDkyroAC+OmD4zEGIyeLVJMnDQc F6hxr5pzlsrg/2Me/8l7Xw5vGrhpfFbZH1c0HKK2M9oGXOw87fyc7b4/yAvbnRTY2ESILu y2RUAnaQDEQ6z4tnpRwzX9bt5wccU4Tv2DR2/hesCahNjdCeSvRAyzO+EdUPG3vyi8Eqa9 a9oyHyjY+vHIpFf67n1cUsLLxuetK0u9p2j6ZuDwoIoko7dYzScK07vn65KqSHRhM7cmEj 4LO9K0Io88Oa3ZO/Dkq2fazHS3kagrJ/RlWgL4uDaZXV52ZiIvPaul8Qx5A0sA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663366963; a=rsa-sha256; cv=none; b=UmoIZNPcSuGLyNs+GDhwoz3ofG+btwuXw8ebbmWo2vlusDRmF131tePBj1vomzBC1L6TEy DTmayK6L2czIXcDuh+34i6ThpaSAzhFLP7eR2nBA7zglwxnOCLW25NRIxuAb9Q/Ndjx3LK j+IPy8ObRQ+wjE4tMkGYjDoH0GTiZyykDh1F5ZQK4wXK+v9CMy0C9CdsQjbqHxIJL0k7df Z55E3T8pXZeYkj3Jk6rJLxHWkBDUEZILM6/ne5ObAcxHsidY9JWPnyFAv9Xqcn2lz+v0u/ MQ0w3y64cLn6nBhcgFeNpw20MzPT5couKixbjYA4DIAP2gtR4k/ThUZq8rFK8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f9ccf810cc75262b0ac52d4e193633ac85920dc commit 0f9ccf810cc75262b0ac52d4e193633ac85920dc Author: Piotr Kubaj AuthorDate: 2022-09-16 21:02:30 +0000 Commit: Piotr Kubaj CommitDate: 2022-09-16 21:02:30 +0000 www/firefox: fix build on powerpc64* In file included from Unified_cpp_dom_media_flac0.cpp:2: /wrkdirs/usr/ports/www/firefox/work/firefox-105.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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- www/firefox/files/patch-dom_media_flac_FlacDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/firefox/files/patch-dom_media_flac_FlacDecoder.cpp b/www/firefox/files/patch-dom_media_flac_FlacDecoder.cpp index 954b78f5bf37..c96cb2b99987 100644 --- a/www/firefox/files/patch-dom_media_flac_FlacDecoder.cpp +++ b/www/firefox/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) != media::DecodeSupport::Unsupported); #else return false; #endif