Date: Thu, 9 Nov 2023 20:30:01 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: de9a71ced993 - main - www/firefox: fix build on powerpc64* Message-ID: <202311092030.3A9KU1w4052538@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=de9a71ced9937393b5d530855126e83d17910461 commit de9a71ced9937393b5d530855126e83d17910461 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-11-09 20:21:16 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-11-09 20:29:46 +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-119.0/dom/media/flac/FlacDecoder.cpp:21:80: error: no member named 'Unsupported' in 'mozilla::media::DecodeSupport' (platform->SupportsMimeType("audio/flac"_ns) != media::DecodeSupport::Unsupported); ~~~~~~~~~~~~~~~~~~~~~~^ 1 error generated. --- 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 c96cb2b99987..6dc197d9455e 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<PDMFactory> platform = new PDMFactory(); + return StaticPrefs::media_flac_enabled() && -+ (platform->SupportsMimeType("audio/flac"_ns) != media::DecodeSupport::Unsupported); ++ !platform->SupportsMimeType("audio/flac"_ns).isEmpty(); #else return false; #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311092030.3A9KU1w4052538>