diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-11-09 20:21:16 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-11-09 20:29:46 +0000 |
commit | de9a71ced9937393b5d530855126e83d17910461 (patch) | |
tree | 469aacc7a2b4ea28d7f12d736a44767eb52364ac | |
parent | d12bc36e7698f3737de1ac228bd49eab10cf1bb0 (diff) | |
download | ports-de9a71ced9937393b5d530855126e83d17910461.tar.gz ports-de9a71ced9937393b5d530855126e83d17910461.zip |
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.
-rw-r--r-- | www/firefox/files/patch-dom_media_flac_FlacDecoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |