svn commit: r545254 - head/www/firefox/files

Piotr Kubaj pkubaj at FreeBSD.org
Tue Aug 18 19:12:47 UTC 2020


Author: pkubaj
Date: Tue Aug 18 19:12:46 2020
New Revision: 545254
URL: https://svnweb.freebsd.org/changeset/ports/545254

Log:
  www/firefox: fix build on powerpc64
  
  Error:
  /tmp/usr/ports/www/firefox/work/firefox-80.0/dom/media/flac/FlacDecoder.cpp:21:37: error: use of undeclared identifier 'NS_LITERAL_CSTRING'

Modified:
  head/www/firefox/files/patch-dom_media_flac_FlacDecoder.cpp

Modified: head/www/firefox/files/patch-dom_media_flac_FlacDecoder.cpp
==============================================================================
--- head/www/firefox/files/patch-dom_media_flac_FlacDecoder.cpp	Tue Aug 18 19:11:02 2020	(r545253)
+++ head/www/firefox/files/patch-dom_media_flac_FlacDecoder.cpp	Tue Aug 18 19:12:46 2020	(r545254)
@@ -19,7 +19,7 @@ index 53fc3c9937f7..b23771ab80fa 100644
 +#elif defined(MOZ_FFMPEG)
 +  RefPtr<PDMFactory> platform = new PDMFactory();
 +  return StaticPrefs::media_flac_enabled() &&
-+         platform->SupportsMimeType(NS_LITERAL_CSTRING("audio/flac"),
++         platform->SupportsMimeType("audio/flac"_ns,
 +                                    /* DecoderDoctorDiagnostics* */ nullptr);
  #else
    // Until bug 1295886 is fixed.


More information about the svn-ports-head mailing list