Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2025 19:22:27 GMT
From:      Christoph Moench-Tegeder <cmt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 990c72ab0c0c - 2025Q4 - www/firefox: update to 145.0 (rc1)
Message-ID:  <202511031922.5A3JMRjw035268@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch 2025Q4 has been updated by cmt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=990c72ab0c0c29966be1d37ff01fd87b1be83ecc

commit 990c72ab0c0c29966be1d37ff01fd87b1be83ecc
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2025-11-03 19:20:08 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2025-11-03 19:22:03 +0000

    www/firefox: update to 145.0 (rc1)
    
    Release Notes (soon):
      https://www.firefox.com/en-US/firefox/145.0/releasenotes/
    
    (cherry picked from commit 6597d89ee803c06425d91c83abe27b565df3e3df)
---
 www/firefox/Makefile                               |     4 +-
 www/firefox/distinfo                               |     6 +-
 www/firefox/files/patch-libwebrtc-generated        | 25195 +++++++++++++------
 ...rd__party_libwebrtc_build_config_BUILDCONFIG.gn |    63 +-
 ..._desktop__capture_linux_wayland__egl__dmabuf.cc |    21 +-
 5 files changed, 17025 insertions(+), 8264 deletions(-)

diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 1bf4b7ab3de6..fb3679d8f266 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	firefox
-DISTVERSION=	144.0.2
+DISTVERSION=	145.0
 PORTEPOCH=	2
 CATEGORIES=	www wayland
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \
@@ -11,7 +11,7 @@ COMMENT=	Web browser based on the browser portion of Mozilla
 WWW=		https://www.firefox.com/
 
 BUILD_DEPENDS=	nspr>=4.32:devel/nspr \
-		nss>=3.116:security/nss \
+		nss>=3.117:security/nss \
 		icu>=76.1:devel/icu \
 		libevent>=2.1.8:devel/libevent \
 		harfbuzz>=10.1.0:print/harfbuzz \
diff --git a/www/firefox/distinfo b/www/firefox/distinfo
index 985b123dc0a0..564ad7fefde4 100644
--- a/www/firefox/distinfo
+++ b/www/firefox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1761589296
-SHA256 (firefox-144.0.2.source.tar.xz) = eac4722ed259008d73006c4894c18d2871702c661d14e27505812351df62806b
-SIZE (firefox-144.0.2.source.tar.xz) = 646304416
+TIMESTAMP = 1762193608
+SHA256 (firefox-145.0.source.tar.xz) = 10cf7faf60ebbbf41923977a17b46ad176720c53e8a550c540fe5fd8d1b7aaaf
+SIZE (firefox-145.0.source.tar.xz) = 656102840
diff --git a/www/firefox/files/patch-libwebrtc-generated b/www/firefox/files/patch-libwebrtc-generated
index 36653d2767b8..c09d5d546918 100644
--- a/www/firefox/files/patch-libwebrtc-generated
+++ b/www/firefox/files/patch-libwebrtc-generated
@@ -1,13 +1,21 @@
-commit 0eb76f55073b3e60ff23c617561d9ec3fe7d3587
+commit 2cc9257c2e654c532598271ed04efddda1e5f082
 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
 
-    regenerate FreeBSD libwebrtc patch for gecko 144
+    regenerate FreeBSD libwebrtc patch for gecko 145
 
 diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
-index 536af3b634ce..8dd2dcdb638b 100644
+index 34349a80d52b..fa28d93f2ce7 100644
 --- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
 +++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+ 
++CXXFLAGS += [
++    "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
  DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
  DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
  DEFINES["RTC_ENABLE_VP9"] = True
@@ -30,13 +38,17 @@ index 536af3b634ce..8dd2dcdb638b 100644
  
  FINAL_LIBRARY = "xul"
  
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
  if CONFIG["MOZ_DEBUG"] == "1":
  
      DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
 -
 -if CONFIG["OS_TARGET"] == "Android":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["ANDROID"] = True
 -    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
 -    DEFINES["HAVE_SYS_UIO_H"] = True
@@ -55,6 +67,10 @@ index 536af3b634ce..8dd2dcdb638b 100644
 -
 -if CONFIG["OS_TARGET"] == "Darwin":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["WEBRTC_MAC"] = True
 -    DEFINES["WEBRTC_POSIX"] = True
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -62,6 +78,10 @@ index 536af3b634ce..8dd2dcdb638b 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_AURA"] = "1"
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
@@ -77,6 +97,10 @@ index 536af3b634ce..8dd2dcdb638b 100644
 -
 -if CONFIG["OS_TARGET"] == "OpenBSD":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
 -    DEFINES["WEBRTC_BSD"] = True
@@ -89,6 +113,10 @@ index 536af3b634ce..8dd2dcdb638b 100644
 -
 -if CONFIG["OS_TARGET"] == "WINNT":
 -
+-    CXXFLAGS += [
+-        "-std:c++20"
+-    ]
+-
 -    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
 -    DEFINES["NOMINMAX"] = True
 -    DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -119,7 +147,7 @@ index 536af3b634ce..8dd2dcdb638b 100644
  
  if CONFIG["TARGET_CPU"] == "aarch64":
  
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
      DEFINES["WEBRTC_HAS_NEON"] = True
      DEFINES["__ARM_NEON__"] = "1"
  
@@ -580,10 +608,18 @@ index 7071eaa2c55c..d06057bdb4c7 100644
 -
  Library("async_dns_resolver_gn")
 diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
-index f45b24581d13..8d009c9065e7 100644
+index 9d1275357cc4..63a660cb0be8 100644
 --- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
 +++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+ 
++CXXFLAGS += [
++    "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
  DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
  DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
  DEFINES["RTC_ENABLE_VP9"] = True
@@ -606,13 +642,17 @@ index f45b24581d13..8d009c9065e7 100644
  
  FINAL_LIBRARY = "xul"
  
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
  if CONFIG["MOZ_DEBUG"] == "1":
  
      DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
 -
 -if CONFIG["OS_TARGET"] == "Android":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["ANDROID"] = True
 -    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
 -    DEFINES["HAVE_SYS_UIO_H"] = True
@@ -631,6 +671,10 @@ index f45b24581d13..8d009c9065e7 100644
 -
 -if CONFIG["OS_TARGET"] == "Darwin":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["WEBRTC_MAC"] = True
 -    DEFINES["WEBRTC_POSIX"] = True
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -638,6 +682,10 @@ index f45b24581d13..8d009c9065e7 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_AURA"] = "1"
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
@@ -653,6 +701,10 @@ index f45b24581d13..8d009c9065e7 100644
 -
 -if CONFIG["OS_TARGET"] == "OpenBSD":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
 -    DEFINES["WEBRTC_BSD"] = True
@@ -665,6 +717,10 @@ index f45b24581d13..8d009c9065e7 100644
 -
 -if CONFIG["OS_TARGET"] == "WINNT":
 -
+-    CXXFLAGS += [
+-        "-std:c++20"
+-    ]
+-
 -    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
 -    DEFINES["NOMINMAX"] = True
 -    DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -695,7 +751,7 @@ index f45b24581d13..8d009c9065e7 100644
  
  if CONFIG["TARGET_CPU"] == "aarch64":
  
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
      DEFINES["WEBRTC_HAS_NEON"] = True
      DEFINES["__ARM_NEON__"] = "1"
  
@@ -782,10 +838,18 @@ index f45b24581d13..8d009c9065e7 100644
  
  Library("aec3_config_gn")
 diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
-index 876aa9af22a9..af845805eb4a 100644
+index 0da503561773..35a17e7b8dd2 100644
 --- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
 +++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+ 
++CXXFLAGS += [
++    "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
  DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
  DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
  DEFINES["RTC_ENABLE_VP9"] = True
@@ -809,13 +873,17 @@ index 876aa9af22a9..af845805eb4a 100644
  
  FINAL_LIBRARY = "xul"
  
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
  if CONFIG["MOZ_DEBUG"] == "1":
  
      DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
 -
 -if CONFIG["OS_TARGET"] == "Android":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["ANDROID"] = True
 -    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
 -    DEFINES["HAVE_SYS_UIO_H"] = True
@@ -834,6 +902,10 @@ index 876aa9af22a9..af845805eb4a 100644
 -
 -if CONFIG["OS_TARGET"] == "Darwin":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["WEBRTC_MAC"] = True
 -    DEFINES["WEBRTC_POSIX"] = True
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -841,6 +913,10 @@ index 876aa9af22a9..af845805eb4a 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_AURA"] = "1"
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
@@ -854,12 +930,12 @@ index 876aa9af22a9..af845805eb4a 100644
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
 -    DEFINES["__STDC_FORMAT_MACROS"] = True
 -
--    OS_LIBS += [
--        "rt"
--    ]
--
 -if CONFIG["OS_TARGET"] == "OpenBSD":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
 -    DEFINES["WEBRTC_BSD"] = True
@@ -872,6 +948,10 @@ index 876aa9af22a9..af845805eb4a 100644
 -
 -if CONFIG["OS_TARGET"] == "WINNT":
 -
+-    CXXFLAGS += [
+-        "-std:c++20"
+-    ]
+-
 -    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
 -    DEFINES["NOMINMAX"] = True
 -    DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -909,7 +989,7 @@ index 876aa9af22a9..af845805eb4a 100644
  
  if CONFIG["TARGET_CPU"] == "aarch64":
  
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
      DEFINES["WEBRTC_HAS_NEON"] = True
      DEFINES["__ARM_NEON__"] = "1"
  
@@ -967,10 +1047,10 @@ index 876aa9af22a9..af845805eb4a 100644
 -
 -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
 -
-     CXXFLAGS += [
-         "-msse2"
-     ]
- 
+-    CXXFLAGS += [
+-        "-msse2"
+-    ]
+-
 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
 -
 -    DEFINES["_GNU_SOURCE"] = True
@@ -981,10 +1061,10 @@ index 876aa9af22a9..af845805eb4a 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
 -
--    CXXFLAGS += [
--        "-msse2"
--    ]
--
+     CXXFLAGS += [
+         "-msse2"
+     ]
+ 
 -    DEFINES["_GNU_SOURCE"] = True
 +    DEFINES["WEBRTC_ENABLE_AVX2"] = True
  
@@ -1179,10 +1259,18 @@ index 4adeb31f19ea..dcaf6e34ca7f 100644
 -
  Library("audio_device_gn")
 diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
-index b48e1554ff0c..4a0992b45863 100644
+index e3f1eeca0543..a66627db589f 100644
 --- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
 +++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+ 
++CXXFLAGS += [
++    "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
  DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
  DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
  DEFINES["RTC_ENABLE_VP9"] = True
@@ -1205,13 +1293,17 @@ index b48e1554ff0c..4a0992b45863 100644
  
  FINAL_LIBRARY = "xul"
  
-@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
  if CONFIG["MOZ_DEBUG"] == "1":
  
      DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
 -
 -if CONFIG["OS_TARGET"] == "Android":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["ANDROID"] = True
 -    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
 -    DEFINES["HAVE_SYS_UIO_H"] = True
@@ -1230,6 +1322,10 @@ index b48e1554ff0c..4a0992b45863 100644
 -
 -if CONFIG["OS_TARGET"] == "Darwin":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["WEBRTC_MAC"] = True
 -    DEFINES["WEBRTC_POSIX"] = True
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -1237,6 +1333,10 @@ index b48e1554ff0c..4a0992b45863 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_AURA"] = "1"
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
@@ -1252,6 +1352,10 @@ index b48e1554ff0c..4a0992b45863 100644
 -
 -if CONFIG["OS_TARGET"] == "OpenBSD":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
 -    DEFINES["WEBRTC_BSD"] = True
@@ -1264,6 +1368,10 @@ index b48e1554ff0c..4a0992b45863 100644
 -
 -if CONFIG["OS_TARGET"] == "WINNT":
 -
+-    CXXFLAGS += [
+-        "-std:c++20"
+-    ]
+-
 -    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
 -    DEFINES["NOMINMAX"] = True
 -    DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -1301,7 +1409,7 @@ index b48e1554ff0c..4a0992b45863 100644
  
  if CONFIG["TARGET_CPU"] == "aarch64":
  
-@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
      DEFINES["WEBRTC_HAS_NEON"] = True
      DEFINES["__ARM_NEON__"] = "1"
  
@@ -1359,10 +1467,10 @@ index b48e1554ff0c..4a0992b45863 100644
 -
 -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
 -
-     CXXFLAGS += [
-         "-msse2"
-     ]
- 
+-    CXXFLAGS += [
+-        "-msse2"
+-    ]
+-
 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
 -
 -    DEFINES["_GNU_SOURCE"] = True
@@ -1373,10 +1481,10 @@ index b48e1554ff0c..4a0992b45863 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
 -
--    CXXFLAGS += [
--        "-msse2"
--    ]
--
+     CXXFLAGS += [
+         "-msse2"
+     ]
+ 
 -    DEFINES["_GNU_SOURCE"] = True
 +    DEFINES["WEBRTC_ENABLE_AVX2"] = True
  
@@ -1757,10 +1865,18 @@ index e09b103e5937..e4f8ac284c15 100644
 -
  Library("audio_mixer_api_gn")
 diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
-index f4aae5e715d8..d7a94ce58f8f 100644
+index e051e02a6d30..a4acafe34678 100644
 --- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
 +++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+ 
++CXXFLAGS += [
++    "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
  DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
  DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
  DEFINES["RTC_ENABLE_VP9"] = True
@@ -1783,13 +1899,17 @@ index f4aae5e715d8..d7a94ce58f8f 100644
  
  FINAL_LIBRARY = "xul"
  
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
  if CONFIG["MOZ_DEBUG"] == "1":
  
      DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
 -
 -if CONFIG["OS_TARGET"] == "Android":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["ANDROID"] = True
 -    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
 -    DEFINES["HAVE_SYS_UIO_H"] = True
@@ -1808,6 +1928,10 @@ index f4aae5e715d8..d7a94ce58f8f 100644
 -
 -if CONFIG["OS_TARGET"] == "Darwin":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["WEBRTC_MAC"] = True
 -    DEFINES["WEBRTC_POSIX"] = True
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -1815,6 +1939,10 @@ index f4aae5e715d8..d7a94ce58f8f 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_AURA"] = "1"
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
@@ -1828,12 +1956,12 @@ index f4aae5e715d8..d7a94ce58f8f 100644
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
 -    DEFINES["__STDC_FORMAT_MACROS"] = True
 -
--    OS_LIBS += [
--        "rt"
--    ]
--
 -if CONFIG["OS_TARGET"] == "OpenBSD":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
 -    DEFINES["WEBRTC_BSD"] = True
@@ -1846,6 +1974,10 @@ index f4aae5e715d8..d7a94ce58f8f 100644
 -
 -if CONFIG["OS_TARGET"] == "WINNT":
 -
+-    CXXFLAGS += [
+-        "-std:c++20"
+-    ]
+-
 -    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
 -    DEFINES["NOMINMAX"] = True
 -    DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -1883,7 +2015,7 @@ index f4aae5e715d8..d7a94ce58f8f 100644
  
  if CONFIG["TARGET_CPU"] == "aarch64":
  
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
      DEFINES["WEBRTC_HAS_NEON"] = True
      DEFINES["__ARM_NEON__"] = "1"
  
@@ -1941,10 +2073,10 @@ index f4aae5e715d8..d7a94ce58f8f 100644
 -
 -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
 -
-     CXXFLAGS += [
-         "-msse2"
-     ]
- 
+-    CXXFLAGS += [
+-        "-msse2"
+-    ]
+-
 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
 -
 -    DEFINES["_GNU_SOURCE"] = True
@@ -1955,10 +2087,10 @@ index f4aae5e715d8..d7a94ce58f8f 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
 -
--    CXXFLAGS += [
--        "-msse2"
--    ]
--
+     CXXFLAGS += [
+         "-msse2"
+     ]
+ 
 -    DEFINES["_GNU_SOURCE"] = True
 +    DEFINES["WEBRTC_ENABLE_AVX2"] = True
  
@@ -1970,10 +2102,18 @@ index f4aae5e715d8..d7a94ce58f8f 100644
  
  Library("audio_processing_gn")
 diff --git third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
-index 7e5b71d14cb2..28ea7419731a 100644
+index 0914f0e18b89..a56412ac2f5a 100644
 --- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
 +++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+ 
++CXXFLAGS += [
++    "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
  DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
  DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
  DEFINES["RTC_ENABLE_VP9"] = True
@@ -1996,13 +2136,17 @@ index 7e5b71d14cb2..28ea7419731a 100644
  
  FINAL_LIBRARY = "xul"
  
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
  if CONFIG["MOZ_DEBUG"] == "1":
  
      DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
 -
 -if CONFIG["OS_TARGET"] == "Android":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["ANDROID"] = True
 -    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
 -    DEFINES["HAVE_SYS_UIO_H"] = True
@@ -2017,6 +2161,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
 -
 -if CONFIG["OS_TARGET"] == "Darwin":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["WEBRTC_MAC"] = True
 -    DEFINES["WEBRTC_POSIX"] = True
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -2024,6 +2172,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_AURA"] = "1"
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
@@ -2039,6 +2191,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
 -
 -if CONFIG["OS_TARGET"] == "OpenBSD":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
 -    DEFINES["WEBRTC_BSD"] = True
@@ -2051,6 +2207,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
 -
 -if CONFIG["OS_TARGET"] == "WINNT":
 -
+-    CXXFLAGS += [
+-        "-std:c++20"
+-    ]
+-
 -    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
 -    DEFINES["NOMINMAX"] = True
 -    DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -2081,7 +2241,7 @@ index 7e5b71d14cb2..28ea7419731a 100644
  
  if CONFIG["TARGET_CPU"] == "aarch64":
  
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
      DEFINES["WEBRTC_HAS_NEON"] = True
      DEFINES["__ARM_NEON__"] = "1"
  
@@ -2139,10 +2299,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
 -
 -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
 -
--    CXXFLAGS += [
--        "-msse2"
--    ]
--
+     CXXFLAGS += [
+         "-msse2"
+     ]
+ 
 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
 -
 -    DEFINES["_GNU_SOURCE"] = True
@@ -2153,10 +2313,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
 -
-     CXXFLAGS += [
-         "-msse2"
-     ]
- 
+-    CXXFLAGS += [
+-        "-msse2"
+-    ]
+-
 -    DEFINES["_GNU_SOURCE"] = True
 +    DEFINES["WEBRTC_ENABLE_AVX2"] = True
  
@@ -2168,10 +2328,18 @@ index 7e5b71d14cb2..28ea7419731a 100644
  
  Library("audio_processing_statistics_gn")
 diff --git third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
-index dd674794a7ea..5cc994ae13d3 100644
+index 87b27f4ee9fd..08b604c3e8ad 100644
 --- third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
 +++ third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+ 
++CXXFLAGS += [
++    "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
  DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
  DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
  DEFINES["RTC_ENABLE_VP9"] = True
@@ -2195,13 +2363,17 @@ index dd674794a7ea..5cc994ae13d3 100644
  
  FINAL_LIBRARY = "xul"
  
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
  if CONFIG["MOZ_DEBUG"] == "1":
  
      DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
 -
 -if CONFIG["OS_TARGET"] == "Android":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["ANDROID"] = True
 -    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
 -    DEFINES["HAVE_SYS_UIO_H"] = True
@@ -2220,6 +2392,10 @@ index dd674794a7ea..5cc994ae13d3 100644
 -
 -if CONFIG["OS_TARGET"] == "Darwin":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["WEBRTC_MAC"] = True
 -    DEFINES["WEBRTC_POSIX"] = True
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -2227,6 +2403,10 @@ index dd674794a7ea..5cc994ae13d3 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_AURA"] = "1"
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
@@ -2240,12 +2420,12 @@ index dd674794a7ea..5cc994ae13d3 100644
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
 -    DEFINES["__STDC_FORMAT_MACROS"] = True
 -
--    OS_LIBS += [
--        "rt"
--    ]
--
 -if CONFIG["OS_TARGET"] == "OpenBSD":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["USE_GLIB"] = "1"
 -    DEFINES["USE_OZONE"] = "1"
 -    DEFINES["WEBRTC_BSD"] = True
@@ -2258,6 +2438,10 @@ index dd674794a7ea..5cc994ae13d3 100644
 -
 -if CONFIG["OS_TARGET"] == "WINNT":
 -
+-    CXXFLAGS += [
+-        "-std:c++20"
+-    ]
+-
 -    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
 -    DEFINES["NOMINMAX"] = True
 -    DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -2295,7 +2479,7 @@ index dd674794a7ea..5cc994ae13d3 100644
  
  if CONFIG["TARGET_CPU"] == "aarch64":
  
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
      DEFINES["WEBRTC_HAS_NEON"] = True
      DEFINES["__ARM_NEON__"] = "1"
  
@@ -2353,10 +2537,10 @@ index dd674794a7ea..5cc994ae13d3 100644
 -
 -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
 -
-     CXXFLAGS += [
-         "-msse2"
-     ]
- 
+-    CXXFLAGS += [
+-        "-msse2"
+-    ]
+-
 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
 -
 -    DEFINES["_GNU_SOURCE"] = True
@@ -2367,10 +2551,10 @@ index dd674794a7ea..5cc994ae13d3 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
 -
--    CXXFLAGS += [
--        "-msse2"
--    ]
--
+     CXXFLAGS += [
+         "-msse2"
+     ]
+ 
 -    DEFINES["_GNU_SOURCE"] = True
 +    DEFINES["WEBRTC_ENABLE_AVX2"] = True
  
@@ -2382,7 +2566,7 @@ index dd674794a7ea..5cc994ae13d3 100644
  
  Library("builtin_audio_processing_builder_gn")
 diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build
-index 106400ba7d20..d6be6247afbe 100644
+index 62ebaabf6d01..d6be6247afbe 100644
 --- third_party/libwebrtc/api/audio/echo_control_gn/moz.build
 +++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build
 @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -2408,7 +2592,7 @@ index 106400ba7d20..d6be6247afbe 100644
  
  FINAL_LIBRARY = "xul"
  
-@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
  if CONFIG["MOZ_DEBUG"] == "1":
  
      DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -2453,10 +2637,6 @@ index 106400ba7d20..d6be6247afbe 100644
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
 -    DEFINES["__STDC_FORMAT_MACROS"] = True
 -
--    OS_LIBS += [
--        "rt"
--    ]
--
 -if CONFIG["OS_TARGET"] == "OpenBSD":
 -
 -    DEFINES["USE_GLIB"] = "1"
@@ -2508,7 +2688,7 @@ index 106400ba7d20..d6be6247afbe 100644
  
  if CONFIG["TARGET_CPU"] == "aarch64":
  
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
      DEFINES["WEBRTC_HAS_NEON"] = True
      DEFINES["__ARM_NEON__"] = "1"
  
@@ -2534,7 +2714,7 @@ index 106400ba7d20..d6be6247afbe 100644
  
  if CONFIG["TARGET_CPU"] == "x86":
  
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
  
      DEFINES["WEBRTC_ENABLE_AVX2"] = True
  
@@ -2576,10 +2756,18 @@ index 106400ba7d20..d6be6247afbe 100644
 -
  Library("echo_control_gn")
 diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
-index 3b39cbbb06a1..56d960820e9a 100644
+index eb476bf4e811..0ca908fc006c 100644
 --- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
 +++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+ 
++CXXFLAGS += [
++    "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
  DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
  DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
  DEFINES["RTC_ENABLE_VP9"] = True
@@ -2602,13 +2790,17 @@ index 3b39cbbb06a1..56d960820e9a 100644
  
  FINAL_LIBRARY = "xul"
  
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
  if CONFIG["MOZ_DEBUG"] == "1":
  
      DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
 -
 -if CONFIG["OS_TARGET"] == "Android":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["ANDROID"] = True
 -    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
 -    DEFINES["HAVE_SYS_UIO_H"] = True
@@ -2627,6 +2819,10 @@ index 3b39cbbb06a1..56d960820e9a 100644
 -
 -if CONFIG["OS_TARGET"] == "Darwin":
 -
+-    CXXFLAGS += [
+-        "-std=gnu++20"
+-    ]
+-
 -    DEFINES["WEBRTC_MAC"] = True
 -    DEFINES["WEBRTC_POSIX"] = True
 -    DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -2634,6 +2830,10 @@ index 3b39cbbb06a1..56d960820e9a 100644
 -
 -if CONFIG["OS_TARGET"] == "Linux":
 -
+-    CXXFLAGS += [
*** 51287 LINES SKIPPED ***


home | help

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