Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2020 19:12:47 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545254 - head/www/firefox/files
Message-ID:  <202008181912.07IJCli8082637@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008181912.07IJCli8082637>