head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 2022.08.07.18.08.08; author nia; state dead; branches; next 1.2; commitid r5kK3hAj2SLAvYOD; 1.2 date 2022.08.05.08.41.25; author nia; state Exp; branches; next 1.1; commitid NUMw8kWYAutWqFOD; 1.1 date 2022.07.21.23.56.39; author nia; state Exp; branches; next ; commitid 2e6YFtZYdY2TYOMD; desc @@ 1.3 log @firefox102: Sync fixes with www/firefox @ text @$NetBSD: patch-libwebrtc.diff,v 1.2 2022/08/05 08:41:25 nia Exp $ Generated by scripts in http://ftp.netbsd.org/pub/NetBSD/misc/ryoon/firefox-103.0-create-libwebrtc.diff and modified by hand. diff -ur firefox-103.0.orig/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build --- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build 2022-07-26 23:57:28.491578328 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("resource_adaptation_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/array_view_gn/moz.build firefox-103.0/third_party/libwebrtc/api/array_view_gn/moz.build --- third_party/libwebrtc/api/array_view_gn/moz.build 2022-07-19 03:44:30.000000000 +0900 +++ third_party/libwebrtc/api/array_view_gn/moz.build 2022-07-26 23:57:28.411454920 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("array_view_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build --- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build 2022-07-26 23:57:28.532316610 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aec3_config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build --- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build 2022-07-26 23:57:28.536379004 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aec3_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build --- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build 2022-07-26 23:57:28.530954587 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -201,4 +204,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_frame_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build --- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build 2022-07-26 23:57:28.533672041 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_mixer_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio/echo_control_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio/echo_control_gn/moz.build --- third_party/libwebrtc/api/audio/echo_control_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build 2022-07-26 23:57:28.535017252 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("echo_control_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build firefox-103.0/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 2022-07-19 03:44:30.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build 2022-07-26 23:57:28.421062907 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_decoder_L16_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build 2022-07-26 23:57:28.419696306 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_L16_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build 2022-07-26 23:57:28.418328723 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -150,7 +153,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -203,4 +206,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_codecs_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build 2022-07-27 05:57:44.377840164 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -173,7 +176,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -219,7 +222,7 @@@@ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" -if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "aarch64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" @@@@ -233,7 +236,7 @@@@ DEFINES["_GNU_SOURCE"] = True -if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): CXXFLAGS += [ "-msse2" @@@@ -247,7 +250,7 @@@@ "m" ] -if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86_64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" @@@@ -257,4 +260,13 @@@@ "m" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("builtin_audio_decoder_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build 2022-07-27 05:59:29.468036073 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -173,7 +176,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -219,7 +222,7 @@@@ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" -if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "aarch64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" @@@@ -229,11 +232,11 @@@@ "m" ] -if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "arm" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_GNU_SOURCE"] = True -if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): CXXFLAGS += [ "-msse2" @@@@ -247,7 +250,7 @@@@ "m" ] -if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86_64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" @@@@ -257,4 +260,13 @@@@ "m" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("builtin_audio_encoder_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build 2022-07-26 23:57:28.435824464 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_decoder_g711_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build 2022-07-26 23:57:28.434461038 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_g711_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build 2022-07-26 23:57:28.414231985 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_decoder_g722_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build 2022-07-26 23:57:28.415589128 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_g722_config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build 2022-07-26 23:57:28.416953495 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_g722_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build 2022-07-26 23:57:28.433096721 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_decoder_ilbc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build 2022-07-26 23:57:28.431729889 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_ilbc_config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build 2022-07-19 03:44:30.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build 2022-07-26 23:57:28.430376954 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_ilbc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build 2022-07-26 23:57:28.429013368 +0900 @@@@ -68,7 +68,7 @@@@ "unwind" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -87,4 +87,13 @@@@ DEFINES["USE_X11"] = "1" +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_decoder_isac_fix_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build 2022-07-26 23:57:28.425215741 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -187,4 +190,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_decoder_isac_float_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build 2022-07-27 06:00:49.201236097 +0900 @@@@ -65,14 +65,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -205,7 +208,7 @@@@ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" -if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "aarch64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" @@@@ -215,11 +218,11 @@@@ "m" ] -if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "arm" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_GNU_SOURCE"] = True -if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" @@@@ -229,7 +232,7 @@@@ "m" ] -if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86_64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" @@@@ -239,4 +242,13 @@@@ "m" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_decoder_isac_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build 2022-07-19 03:44:35.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build 2022-07-26 23:57:28.426439905 +0900 @@@@ -68,7 +68,7 @@@@ "unwind" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -87,4 +87,13 @@@@ DEFINES["USE_X11"] = "1" +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_isac_fix_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build 2022-07-19 03:44:30.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build 2022-07-26 23:57:28.427788583 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -187,4 +190,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_isac_float_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build 2022-07-27 01:28:58.591097294 +0900 @@@@ -65,14 +65,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -205,7 +208,7 @@@@ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" -if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "aarch64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" @@@@ -219,7 +222,7 @@@@ DEFINES["_GNU_SOURCE"] = True -if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" @@@@ -229,7 +232,7 @@@@ "m" ] -if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86_64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" @@@@ -239,4 +242,13 @@@@ "m" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_isac_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build 2022-07-26 23:57:28.437188209 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -201,4 +204,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_decoder_multiopus_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build 2022-07-26 23:57:28.444009384 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_decoder_opus_config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build 2022-07-26 23:57:28.439927924 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_decoder_opus_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build 2022-07-26 23:57:28.442660165 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -201,4 +204,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_multiopus_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build 2022-07-26 23:57:28.441295357 +0900 @@@@ -72,14 +72,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -152,7 +155,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -205,4 +208,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_opus_config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build 2022-07-26 23:57:28.438559971 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_opus_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio_options_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio_options_api_gn/moz.build --- third_party/libwebrtc/api/audio_options_api_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/api/audio_options_api_gn/moz.build 2022-07-26 23:57:28.526891883 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_options_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build firefox-103.0/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build --- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build 2022-07-19 03:44:30.000000000 +0900 +++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build 2022-07-26 23:57:28.404683419 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("bitrate_allocation_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/call_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/call_api_gn/moz.build --- third_party/libwebrtc/api/call_api_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/call_api_gn/moz.build 2022-07-26 23:57:28.483415339 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("call_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/callfactory_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/callfactory_api_gn/moz.build --- third_party/libwebrtc/api/callfactory_api_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/callfactory_api_gn/moz.build 2022-07-26 23:57:28.506478955 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("callfactory_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build firefox-103.0/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build --- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build 2022-07-19 03:44:30.000000000 +0900 +++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build 2022-07-26 23:57:28.410105230 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("frame_decryptor_interface_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build firefox-103.0/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build --- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build 2022-07-26 23:57:28.408751994 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("frame_encryptor_interface_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/crypto/options_gn/moz.build firefox-103.0/third_party/libwebrtc/api/crypto/options_gn/moz.build --- third_party/libwebrtc/api/crypto/options_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/crypto/options_gn/moz.build 2022-07-26 23:57:28.407404699 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("options_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/fec_controller_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/fec_controller_api_gn/moz.build --- third_party/libwebrtc/api/fec_controller_api_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build 2022-07-26 23:57:28.472594398 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("fec_controller_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build firefox-103.0/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build --- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build 2022-07-26 23:57:28.525528838 +0900 @@@@ -64,14 +64,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -193,4 +196,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("frame_transformer_interface_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/function_view_gn/moz.build firefox-103.0/third_party/libwebrtc/api/function_view_gn/moz.build --- third_party/libwebrtc/api/function_view_gn/moz.build 2022-07-19 03:44:30.000000000 +0900 +++ third_party/libwebrtc/api/function_view_gn/moz.build 2022-07-26 23:57:28.475291243 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("function_view_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build --- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build 2022-07-26 23:57:28.473941082 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("jingle_logging_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/media_stream_interface_gn/moz.build firefox-103.0/third_party/libwebrtc/api/media_stream_interface_gn/moz.build --- third_party/libwebrtc/api/media_stream_interface_gn/moz.build 2022-07-19 03:44:35.000000000 +0900 +++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build 2022-07-26 23:57:28.490217888 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("media_stream_interface_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build --- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build 2022-07-26 23:57:28.486134275 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("default_neteq_controller_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build --- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build 2022-07-26 23:57:28.487499143 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("neteq_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build --- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build 2022-07-26 23:57:28.484767854 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -146,7 +149,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -191,4 +194,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("neteq_controller_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build firefox-103.0/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build --- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build 2022-07-26 23:57:28.488859242 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("tick_timer_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build --- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build 2022-07-26 23:57:28.528237395 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("network_state_predictor_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/numerics/numerics_gn/moz.build firefox-103.0/third_party/libwebrtc/api/numerics/numerics_gn/moz.build --- third_party/libwebrtc/api/numerics/numerics_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/numerics/numerics_gn/moz.build 2022-07-26 23:57:28.505127813 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("numerics_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/priority_gn/moz.build firefox-103.0/third_party/libwebrtc/api/priority_gn/moz.build --- third_party/libwebrtc/api/priority_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/priority_gn/moz.build 2022-07-26 23:57:28.406022248 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("priority_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/refcountedbase_gn/moz.build firefox-103.0/third_party/libwebrtc/api/refcountedbase_gn/moz.build --- third_party/libwebrtc/api/refcountedbase_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/api/refcountedbase_gn/moz.build 2022-07-26 23:57:28.471252774 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("refcountedbase_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/rtc_error_gn/moz.build firefox-103.0/third_party/libwebrtc/api/rtc_error_gn/moz.build --- third_party/libwebrtc/api/rtc_error_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/rtc_error_gn/moz.build 2022-07-26 23:57:28.524171364 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_error_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build firefox-103.0/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build --- third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build 2022-07-26 23:57:28.518758399 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -201,4 +204,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_event_log_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/rtp_headers_gn/moz.build firefox-103.0/third_party/libwebrtc/api/rtp_headers_gn/moz.build --- third_party/libwebrtc/api/rtp_headers_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/rtp_headers_gn/moz.build 2022-07-26 23:57:28.522815613 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_headers_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build firefox-103.0/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build --- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build 2022-07-26 23:57:28.503766782 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_packet_info_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/rtp_parameters_gn/moz.build firefox-103.0/third_party/libwebrtc/api/rtp_parameters_gn/moz.build --- third_party/libwebrtc/api/rtp_parameters_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build 2022-07-26 23:57:28.529596803 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -144,7 +147,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -197,4 +200,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_parameters_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build firefox-103.0/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build --- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build 2022-07-26 23:57:28.520105734 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_transceiver_direction_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/scoped_refptr_gn/moz.build firefox-103.0/third_party/libwebrtc/api/scoped_refptr_gn/moz.build --- third_party/libwebrtc/api/scoped_refptr_gn/moz.build 2022-07-19 03:44:30.000000000 +0900 +++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build 2022-07-26 23:57:28.517400114 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("scoped_refptr_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/simulated_network_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/simulated_network_api_gn/moz.build --- third_party/libwebrtc/api/simulated_network_api_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/simulated_network_api_gn/moz.build 2022-07-26 23:57:28.492925192 +0900 @@@@ -64,14 +64,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -193,4 +196,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("simulated_network_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build firefox-103.0/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build --- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build 2022-07-26 23:57:28.521457618 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("task_queue_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build firefox-103.0/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build --- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build 2022-07-26 23:57:28.502406863 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("bitrate_settings_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build firefox-103.0/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build --- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build 2022-07-26 23:57:28.494283378 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("field_trial_based_config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build firefox-103.0/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build --- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build 2022-07-26 23:57:28.495646412 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("goog_cc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/transport/network_control_gn/moz.build firefox-103.0/third_party/libwebrtc/api/transport/network_control_gn/moz.build --- third_party/libwebrtc/api/transport/network_control_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/transport/network_control_gn/moz.build 2022-07-26 23:57:28.497003526 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("network_control_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build firefox-103.0/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build --- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build 2022-07-26 23:57:28.501050491 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("dependency_descriptor_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build firefox-103.0/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build --- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build 2022-07-26 23:57:28.499694489 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_source_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build firefox-103.0/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build --- third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build 2022-07-26 23:57:28.498351893 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_key_value_config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/transport_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/transport_api_gn/moz.build --- third_party/libwebrtc/api/transport_api_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/transport_api_gn/moz.build 2022-07-26 23:57:28.516049192 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("transport_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/units/data_rate_gn/moz.build firefox-103.0/third_party/libwebrtc/api/units/data_rate_gn/moz.build --- third_party/libwebrtc/api/units/data_rate_gn/moz.build 2022-07-19 03:44:35.000000000 +0900 +++ third_party/libwebrtc/api/units/data_rate_gn/moz.build 2022-07-26 23:57:28.476645811 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("data_rate_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/units/data_size_gn/moz.build firefox-103.0/third_party/libwebrtc/api/units/data_size_gn/moz.build --- third_party/libwebrtc/api/units/data_size_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/api/units/data_size_gn/moz.build 2022-07-26 23:57:28.480715779 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("data_size_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/units/frequency_gn/moz.build firefox-103.0/third_party/libwebrtc/api/units/frequency_gn/moz.build --- third_party/libwebrtc/api/units/frequency_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/units/frequency_gn/moz.build 2022-07-26 23:57:28.482070719 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("frequency_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/units/time_delta_gn/moz.build firefox-103.0/third_party/libwebrtc/api/units/time_delta_gn/moz.build --- third_party/libwebrtc/api/units/time_delta_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/units/time_delta_gn/moz.build 2022-07-26 23:57:28.477999949 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("time_delta_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/units/timestamp_gn/moz.build firefox-103.0/third_party/libwebrtc/api/units/timestamp_gn/moz.build --- third_party/libwebrtc/api/units/timestamp_gn/moz.build 2022-07-19 03:44:35.000000000 +0900 +++ third_party/libwebrtc/api/units/timestamp_gn/moz.build 2022-07-26 23:57:28.479354438 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("timestamp_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build --- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build 2022-07-26 23:57:28.459033642 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("builtin_video_bitrate_allocator_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build --- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build 2022-07-26 23:57:28.450862608 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("encoded_frame_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/encoded_image_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/encoded_image_gn/moz.build --- third_party/libwebrtc/api/video/encoded_image_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build 2022-07-26 23:57:28.469909837 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("encoded_image_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build --- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build 2022-07-26 23:57:28.463106195 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("recordable_encoded_frame_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build --- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build 2022-07-26 23:57:28.461753901 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_adaptation_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build --- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build 2022-07-26 23:57:28.468552533 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_bitrate_allocation_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build --- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build 2022-07-26 23:57:28.465818539 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_bitrate_allocator_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build --- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build 2022-07-26 23:57:28.460392129 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_bitrate_allocator_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build --- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build 2022-07-26 23:57:28.457664286 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_codec_constants_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_frame_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_frame_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/api/video/video_frame_gn/moz.build 2022-07-26 23:57:28.449501457 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -202,4 +205,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_frame_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build 2022-07-26 23:57:28.464474570 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_frame_i010_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build 2022-07-26 23:57:28.456317592 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_frame_i420_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build 2022-07-26 23:57:28.454950039 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_frame_metadata_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build 2022-07-26 23:57:28.453587465 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_frame_nv12_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build 2022-07-26 23:57:28.446766872 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_frame_type_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build --- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build 2022-07-26 23:57:28.448134946 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -150,7 +153,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -203,4 +206,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_rtp_headers_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build --- third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build 2022-07-26 23:57:28.467186342 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_stream_encoder_create_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build --- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build 2022-07-26 23:57:28.452214963 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_stream_encoder_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build --- third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build 2022-07-26 23:57:28.510582045 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("bitstream_parser_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build --- third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build 2022-07-26 23:57:28.509222647 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("builtin_video_decoder_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build --- third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build 2022-07-26 23:57:28.507848582 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("builtin_video_encoder_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build --- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build 2022-07-26 23:57:28.514694743 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -210,4 +213,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_software_fallback_wrappers_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build --- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build 2022-07-26 23:57:28.511954507 +0900 @@@@ -75,14 +75,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_codecs_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build --- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build 2022-07-26 23:57:28.513323453 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("vp8_temporal_layers_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/audio/audio_gn/moz.build firefox-103.0/third_party/libwebrtc/audio/audio_gn/moz.build --- third_party/libwebrtc/audio/audio_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/audio/audio_gn/moz.build 2022-07-26 23:57:28.697560502 +0900 @@@@ -81,14 +81,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -169,7 +172,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -222,4 +225,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build firefox-103.0/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build --- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build 2022-07-26 23:57:28.698930770 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_frame_operations_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build firefox-103.0/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build --- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build 2022-07-26 23:57:28.649602168 +0900 @@@@ -77,14 +77,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -165,7 +168,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -218,4 +221,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("resource_adaptation_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build firefox-103.0/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build --- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build 2022-07-26 23:57:28.653697013 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_sender_interface_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build firefox-103.0/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build --- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build 2022-07-26 23:57:28.655064616 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("bitrate_allocator_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build firefox-103.0/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build --- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build 2022-07-26 23:57:28.642696746 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("bitrate_configurator_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/call_gn/moz.build firefox-103.0/third_party/libwebrtc/call/call_gn/moz.build --- third_party/libwebrtc/call/call_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/call/call_gn/moz.build 2022-07-26 23:57:28.641329684 +0900 @@@@ -72,14 +72,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -213,4 +216,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("call_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/call_interfaces_gn/moz.build firefox-103.0/third_party/libwebrtc/call/call_interfaces_gn/moz.build --- third_party/libwebrtc/call/call_interfaces_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/call/call_interfaces_gn/moz.build 2022-07-26 23:57:28.644081872 +0900 @@@@ -73,14 +73,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -214,4 +217,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("call_interfaces_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/fake_network_gn/moz.build firefox-103.0/third_party/libwebrtc/call/fake_network_gn/moz.build --- third_party/libwebrtc/call/fake_network_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/call/fake_network_gn/moz.build 2022-07-26 23:57:28.657808508 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("fake_network_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build firefox-103.0/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build --- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build 2022-07-19 03:44:30.000000000 +0900 +++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build 2022-07-26 23:57:28.648210730 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_interfaces_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/rtp_receiver_gn/moz.build firefox-103.0/third_party/libwebrtc/call/rtp_receiver_gn/moz.build --- third_party/libwebrtc/call/rtp_receiver_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build 2022-07-26 23:57:28.645456909 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_receiver_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/rtp_sender_gn/moz.build firefox-103.0/third_party/libwebrtc/call/rtp_sender_gn/moz.build --- third_party/libwebrtc/call/rtp_sender_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/call/rtp_sender_gn/moz.build 2022-07-26 23:57:28.646833900 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_sender_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/simulated_network_gn/moz.build firefox-103.0/third_party/libwebrtc/call/simulated_network_gn/moz.build --- third_party/libwebrtc/call/simulated_network_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/call/simulated_network_gn/moz.build 2022-07-26 23:57:28.656436357 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("simulated_network_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build firefox-103.0/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build --- third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build 2022-07-26 23:57:28.650965173 +0900 @@@@ -64,14 +64,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -193,4 +196,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("simulated_packet_receiver_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/call/video_stream_api_gn/moz.build firefox-103.0/third_party/libwebrtc/call/video_stream_api_gn/moz.build --- third_party/libwebrtc/call/video_stream_api_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/call/video_stream_api_gn/moz.build 2022-07-26 23:57:28.652342414 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -210,4 +213,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_stream_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build 2022-07-26 23:57:28.389681612 +0900 @@@@ -73,14 +73,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_GNU_SOURCE"] = True @@@@ -146,7 +149,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -178,4 +181,13 @@@@ "-msse2" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("common_audio_avx2_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build 2022-07-26 23:57:28.385504173 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -136,7 +139,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -181,4 +184,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("common_audio_c_arm_asm_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build 2022-07-27 06:50:22.209964177 +0900 @@@@ -110,14 +110,17 @@@@ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -214,7 +217,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -266,7 +269,7 @@@@ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" ] -if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "aarch64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_GNU_SOURCE"] = True @@@@ -275,11 +278,11 @@@@ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" ] -if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "arm" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_GNU_SOURCE"] = True -if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): CFLAGS += [ "-msse2" @@@@ -292,7 +295,7 @@@@ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" ] -if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86_64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_GNU_SOURCE"] = True @@@@ -301,4 +304,13 @@@@ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("common_audio_c_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build 2022-07-26 23:57:28.388340258 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("common_audio_cc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/common_audio_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/common_audio_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build 2022-07-26 23:57:28.403338097 +0900 @@@@ -80,14 +80,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -220,4 +223,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("common_audio_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build 2022-07-26 23:57:28.391036401 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_GNU_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -186,4 +189,13 @@@@ DEFINES["WEBRTC_ARCH_ARM64"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("common_audio_neon_c_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build 2022-07-26 23:57:28.396441902 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -185,4 +188,13 @@@@ DEFINES["WEBRTC_ARCH_ARM64"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("common_audio_neon_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build 2022-07-26 23:57:28.392388185 +0900 @@@@ -72,14 +72,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -195,4 +198,13 @@@@ "-msse2" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("common_audio_sse2_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build --- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build 2022-07-19 03:44:30.000000000 +0900 +++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build 2022-07-26 23:57:28.395096380 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("fir_filter_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build --- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build 2022-07-26 23:57:28.393731372 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("fir_filter_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build --- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build 2022-07-26 23:57:28.401963832 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -146,7 +149,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -191,4 +194,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("sinc_resampler_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build --- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build 2022-07-26 23:57:28.399249084 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -174,7 +177,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -251,4 +254,13 @@@@ "-msse2" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("fft_size_128_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build --- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build 2022-07-26 23:57:28.400610034 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("fft_size_256_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build firefox-103.0/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build --- third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build 2022-07-27 06:47:31.932062190 +0900 @@@@ -63,14 +63,17 @@@@ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -202,7 +205,7 @@@@ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" ] -if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "aarch64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_GNU_SOURCE"] = True @@@@ -210,11 +213,11 @@@@ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" ] -if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "arm" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_GNU_SOURCE"] = True -if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): CFLAGS += [ "-msse2" @@@@ -226,7 +229,7 @@@@ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" ] -if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86_64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_GNU_SOURCE"] = True @@@@ -234,4 +237,13 @@@@ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("spl_sqrt_floor_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_video/common_video_gn/moz.build firefox-103.0/third_party/libwebrtc/common_video/common_video_gn/moz.build --- third_party/libwebrtc/common_video/common_video_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/common_video/common_video_gn/moz.build 2022-07-26 23:57:28.374935395 +0900 @@@@ -81,14 +81,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -169,7 +172,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -222,4 +225,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("common_video_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_video/frame_counts_gn/moz.build firefox-103.0/third_party/libwebrtc/common_video/frame_counts_gn/moz.build --- third_party/libwebrtc/common_video/frame_counts_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build 2022-07-26 23:57:28.372197423 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("frame_counts_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build firefox-103.0/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build --- third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build 2022-07-26 23:57:28.373557713 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("generic_frame_descriptor_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build firefox-103.0/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build --- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build 2022-07-26 23:57:28.701678500 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -150,7 +153,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -203,4 +206,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_event_audio_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build firefox-103.0/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build --- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build 2022-07-26 23:57:28.700314664 +0900 @@@@ -73,14 +73,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -214,4 +217,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_event_bwe_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build firefox-103.0/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build --- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build 2022-07-26 23:57:28.704393859 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_event_pacing_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build firefox-103.0/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build --- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build 2022-07-26 23:57:28.705758487 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -159,7 +162,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -212,4 +215,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_event_rtp_rtcp_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build firefox-103.0/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build --- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build 2022-07-26 23:57:28.707122774 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -201,4 +204,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_event_video_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build firefox-103.0/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build --- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build 2022-07-26 23:57:28.703036275 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_stream_config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/media/rtc_constants_gn/moz.build firefox-103.0/third_party/libwebrtc/media/rtc_constants_gn/moz.build --- third_party/libwebrtc/media/rtc_constants_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/media/rtc_constants_gn/moz.build 2022-07-26 23:57:28.537736198 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_constants_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build firefox-103.0/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build --- third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build 2022-07-26 23:57:28.540462357 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_encoder_simulcast_proxy_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build firefox-103.0/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build --- third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build 2022-07-26 23:57:28.545917942 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_h264_profile_id_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build firefox-103.0/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build --- third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build 2022-07-26 23:57:28.539099332 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_internal_video_codecs_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/media/rtc_media_base_gn/moz.build firefox-103.0/third_party/libwebrtc/media/rtc_media_base_gn/moz.build --- third_party/libwebrtc/media/rtc_media_base_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build 2022-07-26 23:57:28.541833106 +0900 @@@@ -73,14 +73,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -214,4 +217,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_media_base_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/media/rtc_media_config_gn/moz.build firefox-103.0/third_party/libwebrtc/media/rtc_media_config_gn/moz.build --- third_party/libwebrtc/media/rtc_media_config_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build 2022-07-26 23:57:28.547262712 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_media_config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build firefox-103.0/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build --- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build 2022-07-26 23:57:28.544556671 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_simulcast_encoder_adapter_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build firefox-103.0/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build --- third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build 2022-07-26 23:57:28.543188366 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_vp9_profile_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build 2022-07-26 23:57:28.203823715 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_coding_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build 2022-07-26 23:57:28.184971933 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_coding_module_typedefs_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build 2022-07-26 23:57:28.213441932 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_coding_opus_common_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build 2022-07-26 23:57:28.212074369 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_encoder_cng_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build 2022-07-26 23:57:28.220299494 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_network_adaptor_config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build 2022-07-26 23:57:28.182172617 +0900 @@@@ -77,14 +77,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -217,4 +220,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_network_adaptor_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build 2022-07-26 23:57:28.198490470 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("default_neteq_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build 2022-07-26 23:57:28.210707126 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("g711_c_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build 2022-07-26 23:57:28.217578074 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -201,4 +204,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("g711_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build 2022-07-26 23:57:28.201081055 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("g722_c_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build 2022-07-26 23:57:28.190459628 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -201,4 +204,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("g722_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build 2022-07-26 23:57:28.189075133 +0900 @@@@ -135,14 +135,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -222,7 +225,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -275,4 +278,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("ilbc_c_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build 2022-07-26 23:57:28.205198642 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("ilbc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build 2022-07-26 23:57:28.209349742 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("isac_bwinfo_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build 2022-07-26 23:57:28.216203628 +0900 @@@@ -89,14 +89,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("isac_c_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build 2022-07-26 23:57:28.218930509 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("isac_common_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build 2022-07-26 23:57:28.187588317 +0900 @@@@ -65,7 +65,7 @@@@ "unwind" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -84,4 +84,13 @@@@ DEFINES["USE_X11"] = "1" +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("isac_fix_c_arm_asm_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build 2022-07-26 23:57:28.180696951 +0900 @@@@ -94,7 +94,7 @@@@ "unwind" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -113,4 +113,13 @@@@ DEFINES["USE_X11"] = "1" +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("isac_fix_c_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build 2022-07-26 23:57:28.193103794 +0900 @@@@ -69,7 +69,7 @@@@ "unwind" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -88,4 +88,13 @@@@ DEFINES["USE_X11"] = "1" +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("isac_fix_common_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build 2022-07-26 23:57:28.199722819 +0900 @@@@ -69,7 +69,7 @@@@ "unwind" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -88,4 +88,13 @@@@ DEFINES["USE_X11"] = "1" +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("isac_fix_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build 2022-07-26 23:57:28.202441805 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -146,7 +149,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -188,4 +191,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("isac_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build 2022-07-26 23:57:28.195716040 +0900 @@@@ -72,7 +72,7 @@@@ "unwind" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -91,4 +91,13 @@@@ DEFINES["USE_X11"] = "1" +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("isac_neon_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build 2022-07-26 23:57:28.223047755 +0900 @@@@ -66,14 +66,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -142,7 +145,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -195,4 +198,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("isac_vad_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build 2022-07-26 23:57:28.207988882 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("legacy_encoded_audio_frame_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build 2022-07-26 23:57:28.206615237 +0900 @@@@ -99,14 +99,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -186,7 +189,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -239,4 +242,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("neteq_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build 2022-07-26 23:57:28.186348613 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("pcm16b_c_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build 2022-07-26 23:57:28.194473852 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -202,4 +205,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("pcm16b_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build 2022-07-26 23:57:28.214812942 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("red_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build 2022-07-26 23:57:28.221676034 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_cng_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build 2022-07-26 23:57:28.183593680 +0900 @@@@ -73,14 +73,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -226,4 +229,13 @@@@ DEFINES["WEBRTC_CODEC_ISAC"] = True DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_multiopus_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build 2022-07-26 23:57:28.197108810 +0900 @@@@ -73,14 +73,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -233,4 +236,13 @@@@ DEFINES["WEBRTC_CODEC_ISAC"] = True DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_opus_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build 2022-07-26 23:57:28.191860664 +0900 @@@@ -72,14 +72,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -159,7 +162,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -225,4 +228,13 @@@@ DEFINES["WEBRTC_CODEC_ISAC"] = True DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_opus_wrapper_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build 2022-07-26 23:57:28.343282090 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_device_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build 2022-07-26 23:57:28.348792588 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_device_buffer_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build 2022-07-26 23:57:28.344642890 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_device_default_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build 2022-07-26 23:57:28.347410307 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_device_generic_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build 2022-07-26 23:57:28.341912433 +0900 @@@@ -64,14 +64,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -193,4 +196,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_device_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build 2022-07-26 23:57:28.346026543 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -159,7 +162,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -212,4 +215,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_device_impl_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build --- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build 2022-07-26 23:57:28.307244658 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_frame_manipulator_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build --- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build 2022-07-26 23:57:28.305861275 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -210,4 +213,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_mixer_impl_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build 2022-07-26 23:57:28.247954105 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("adaptive_fir_filter_erl_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build 2022-07-26 23:57:28.246587514 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -146,7 +149,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -191,4 +194,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("adaptive_fir_filter_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build 2022-07-26 23:57:28.250683060 +0900 @@@@ -77,14 +77,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_GNU_SOURCE"] = True @@@@ -150,7 +153,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -182,4 +185,13 @@@@ "-msse2" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aec3_avx2_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build 2022-07-26 23:57:28.243755215 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aec3_common_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build 2022-07-26 23:57:28.239681851 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -146,7 +149,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -191,4 +194,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aec3_fft_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build 2022-07-26 23:57:28.245218227 +0900 @@@@ -121,14 +121,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -208,7 +211,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -261,4 +264,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aec3_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build 2022-07-26 23:57:28.242396799 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("fft_data_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build 2022-07-26 23:57:28.238310751 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("matched_filter_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build 2022-07-26 23:57:28.241040047 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("render_buffer_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build 2022-07-26 23:57:28.249319815 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("vector_math_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build 2022-07-26 23:57:28.278263722 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aec_dump_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build 2022-07-26 23:57:28.276887953 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("null_aec_dump_factory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build 2022-07-26 23:57:28.274097553 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aec_dump_interface_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build 2022-07-26 23:57:28.234180410 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -217,4 +220,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aecm_core_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build 2022-07-26 23:57:28.258967556 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("agc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build 2022-07-26 23:57:28.263069044 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("gain_control_interface_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build 2022-07-26 23:57:28.261708353 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("gain_map_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build 2022-07-26 23:57:28.257585917 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("legacy_agc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build 2022-07-26 23:57:28.260349466 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("level_estimation_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build 2022-07-26 23:57:28.285177349 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("adaptive_digital_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build 2022-07-26 23:57:28.289331615 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("biquad_filter_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build 2022-07-26 23:57:28.287946890 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("common_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build 2022-07-26 23:57:28.282395796 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -210,4 +213,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("fixed_digital_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build 2022-07-26 23:57:28.292085206 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("gain_applier_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build 2022-07-26 23:57:28.293461035 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("level_estimation_agc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build 2022-07-26 23:57:28.286564709 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("noise_level_estimator_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build 2022-07-26 23:57:28.283790540 +0900 @@@@ -75,14 +75,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -215,4 +218,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rnn_vad_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build 2022-07-26 23:57:28.290716300 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rnn_vad_with_level_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/api_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/api_gn/moz.build 2022-07-26 23:57:28.236939191 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build 2022-07-26 23:57:28.235562330 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("apm_logging_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build 2022-07-26 23:57:28.296225005 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -210,4 +213,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_buffer_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build 2022-07-26 23:57:28.253421762 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_frame_proxies_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build 2022-07-26 23:57:28.279631495 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_frame_view_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build 2022-07-26 23:57:28.275504861 +0900 @@@@ -82,14 +82,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -169,7 +172,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -222,4 +225,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_processing_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build 2022-07-26 23:57:28.281005049 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_processing_statistics_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/config_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/config_gn/moz.build 2022-07-26 23:57:28.252052747 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build 2022-07-26 23:57:28.271342560 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("high_pass_filter_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build 2022-07-26 23:57:28.297626562 +0900 @@@@ -80,14 +80,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -220,4 +223,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("ns_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build 2022-07-26 23:57:28.254819191 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("optionally_built_submodule_creators_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build 2022-07-26 23:57:28.272718939 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rms_level_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build 2022-07-26 23:57:28.264434984 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("transient_suppressor_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build 2022-07-26 23:57:28.265826422 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("transient_suppressor_impl_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build 2022-07-26 23:57:28.269963074 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("cascaded_biquad_filter_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build 2022-07-26 23:57:28.268587486 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -144,7 +147,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -197,4 +200,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("legacy_delay_estimator_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build 2022-07-26 23:57:28.267207480 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("pffft_wrapper_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build 2022-07-26 23:57:28.294850118 +0900 @@@@ -74,14 +74,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -214,4 +217,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("vad_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build 2022-07-26 23:57:28.256200140 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("voice_detection_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build 2022-07-26 23:57:28.370843065 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -210,4 +213,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("congestion_controller_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build 2022-07-26 23:57:28.359789809 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("alr_detector_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build 2022-07-26 23:57:28.357033122 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -210,4 +213,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("delay_based_bwe_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build 2022-07-26 23:57:28.366695912 +0900 @@@@ -74,14 +74,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -215,4 +218,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("estimators_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build 2022-07-26 23:57:28.358413730 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -210,4 +213,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("goog_cc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build 2022-07-26 23:57:28.361162722 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("link_capacity_estimator_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build 2022-07-26 23:57:28.363922684 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("loss_based_controller_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build 2022-07-26 23:57:28.365303422 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("probe_controller_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build 2022-07-26 23:57:28.362543409 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("pushback_controller_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build 2022-07-26 23:57:28.369466254 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("control_handler_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build 2022-07-26 23:57:28.368086318 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -210,4 +213,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("transport_feedback_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build 2022-07-26 23:57:28.336407165 +0900 @@@@ -54,14 +54,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_GNU_SOURCE"] = True @@@@ -116,7 +119,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -145,4 +148,13 @@@@ "-msse2" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("desktop_capture_differ_sse2_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build 2022-07-26 23:57:28.333639277 +0900 @@@@ -81,14 +81,17 @@@@ "/third_party/libwebrtc/modules/desktop_capture/mac/window_list_utils.cc" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -282,7 +285,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -456,4 +459,13 @@@@ "/third_party/libwebrtc/modules/desktop_capture/linux/x_window_property.cc" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("desktop_capture_generic_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build 2022-07-26 23:57:28.335071922 +0900 @@@@ -46,14 +46,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -245,4 +248,13 @@@@ "Xtst" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("desktop_capture_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build 2022-07-26 23:57:28.331970269 +0900 @@@@ -63,4 +63,13 @@@@ DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("desktop_capture_objc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build --- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build 2022-07-26 23:57:28.337777032 +0900 @@@@ -54,14 +54,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -175,4 +178,13 @@@@ DEFINES["USE_X11"] = "1" +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("primitives_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/module_api_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/module_api_gn/moz.build --- third_party/libwebrtc/modules/module_api_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/module_api_gn/moz.build 2022-07-26 23:57:28.228651027 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("module_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/module_api_public_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/module_api_public_gn/moz.build --- third_party/libwebrtc/modules/module_api_public_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/modules/module_api_public_gn/moz.build 2022-07-26 23:57:28.232793120 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("module_api_public_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/module_fec_api_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/module_fec_api_gn/moz.build --- third_party/libwebrtc/modules/module_fec_api_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build 2022-07-26 23:57:28.340539339 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("module_fec_api_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build --- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build 2022-07-26 23:57:28.351553171 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("interval_budget_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build --- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build 2022-07-26 23:57:28.350179828 +0900 @@@@ -73,14 +73,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -214,4 +217,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("pacing_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build --- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build 2022-07-26 23:57:28.299022768 +0900 @@@@ -79,14 +79,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -220,4 +223,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("remote_bitrate_estimator_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build --- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build 2022-07-26 23:57:28.225842804 +0900 @@@@ -109,14 +109,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -197,7 +200,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -250,4 +253,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_rtcp_format_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build --- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build 2022-07-26 23:57:28.227292280 +0900 @@@@ -121,14 +121,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -209,7 +212,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -262,4 +265,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_rtcp_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build --- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build 2022-07-26 23:57:28.224408886 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_video_header_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build --- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build 2022-07-26 23:57:28.354288478 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("fft_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build --- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build 2022-07-26 23:57:28.355656091 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("g711_3p_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build --- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build 2022-07-26 23:57:28.352918581 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("g722_3p_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/utility/utility_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/utility/utility_gn/moz.build --- third_party/libwebrtc/modules/utility/utility_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/utility/utility_gn/moz.build 2022-07-26 23:57:28.339170343 +0900 @@@@ -72,14 +72,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -159,7 +162,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -212,4 +215,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("utility_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build --- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build 2022-07-26 23:57:28.230043857 +0900 @@@@ -64,14 +64,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -173,7 +176,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -226,4 +229,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_capture_internal_impl_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build --- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build 2022-07-26 23:57:28.231430666 +0900 @@@@ -72,14 +72,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -213,4 +216,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_capture_module_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build --- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build 2022-07-26 23:57:28.310020260 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("chain_diff_calculator_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build --- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build 2022-07-26 23:57:28.316914271 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("codec_globals_headers_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build --- third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build 2022-07-26 23:57:28.325240716 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aom_av1_decoder_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build --- third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build 2022-07-26 23:57:28.323860951 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aom_av1_encoder_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build --- third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build 2022-07-26 23:57:28.329391987 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("nack_module_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build --- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build 2022-07-26 23:57:28.314163696 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("encoded_frame_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build --- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build 2022-07-26 23:57:28.321063718 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("frame_dependencies_calculator_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build --- third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build 2022-07-26 23:57:28.319683150 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -208,4 +211,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("nack_module_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build --- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build 2022-07-26 23:57:28.326619921 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -210,4 +213,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_codec_interface_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build --- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build 2022-07-26 23:57:28.322478409 +0900 @@@@ -88,14 +88,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -176,7 +179,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -229,4 +232,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_coding_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build --- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build 2022-07-26 23:57:28.308646956 +0900 @@@@ -77,14 +77,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -165,7 +168,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -218,4 +221,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_coding_utility_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build 2022-07-26 23:57:28.330779437 +0900 @@@@ -73,14 +73,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -214,4 +217,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_h264_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build 2022-07-26 23:57:28.315550695 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -159,7 +162,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -212,4 +215,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_multiplex_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build 2022-07-26 23:57:28.318300639 +0900 @@@@ -72,14 +72,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -213,4 +216,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_vp8_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build 2022-07-26 23:57:28.312790121 +0900 @@@@ -73,14 +73,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -214,4 +217,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_vp8_temporal_layers_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build 2022-07-26 23:57:28.328006901 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -211,4 +214,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_vp9_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build 2022-07-26 23:57:28.311401158 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -157,7 +160,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -210,4 +213,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_vp9_helpers_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build --- third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build 2022-07-26 23:57:28.300380112 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("denoiser_filter_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build --- third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build 2022-07-26 23:57:28.301764547 +0900 @@@@ -74,14 +74,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -215,4 +218,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_processing_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build --- third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build 2022-07-26 23:57:28.304482401 +0900 @@@@ -65,14 +65,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_GNU_SOURCE"] = True @@@@ -138,7 +141,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -169,4 +172,13 @@@@ DEFINES["WEBRTC_ARCH_ARM64"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_processing_neon_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build firefox-103.0/third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build --- third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build 2022-07-26 23:57:28.303131910 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_GNU_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -194,4 +197,13 @@@@ "-msse2" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_processing_sse2_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/moz.build firefox-103.0/third_party/libwebrtc/moz.build --- third_party/libwebrtc/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/moz.build 2022-07-27 02:04:01.689119002 +0900 @@@@ -480,7 +480,7 @@@@ "/third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn" ] -if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "aarch64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DIRS += [ "/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn", @@@@ -495,7 +495,7 @@@@ "/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn" ] -if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "arm" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DIRS += [ "/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn", @@@@ -514,7 +514,7 @@@@ "/third_party/libwebrtc/rtc_base/system/asm_defines_gn" ] -if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "ppc64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DIRS += [ "/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn", @@@@ -523,7 +523,7 @@@@ "/third_party/libwebrtc/modules/audio_coding/isac_gn" ] -if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DIRS += [ "/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn", @@@@ -540,7 +540,7 @@@@ "/third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn" ] -if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86_64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DIRS += [ "/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn", diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build --- third_party/libwebrtc/rtc_base/atomicops_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/atomicops_gn/moz.build 2022-07-26 23:57:28.564868179 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("atomicops_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build --- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build 2022-07-26 23:57:28.574356061 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("audio_format_to_string_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/checks_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/checks_gn/moz.build --- third_party/libwebrtc/rtc_base/checks_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/rtc_base/checks_gn/moz.build 2022-07-26 23:57:28.549962653 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("checks_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build --- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build 2022-07-26 23:57:28.579788172 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("compile_assert_c_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build --- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build 2022-07-26 23:57:28.570299478 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("criticalsection_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build --- third_party/libwebrtc/rtc_base/deprecation_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/rtc_base/deprecation_gn/moz.build 2022-07-26 23:57:28.548607783 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("deprecation_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build --- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build 2022-07-26 23:57:28.563521294 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("divide_round_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build 2022-07-26 23:57:28.593448554 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("alr_experiment_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build 2022-07-26 23:57:28.601643263 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("balanced_degradation_settings_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build 2022-07-26 23:57:28.589344372 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("cpu_speed_experiment_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build 2022-07-26 23:57:28.587975527 +0900 @@@@ -70,14 +70,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -150,7 +153,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -203,4 +206,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("field_trial_parser_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build 2022-07-26 23:57:28.594817740 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("jitter_upper_bound_experiment_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build 2022-07-26 23:57:28.600277703 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("keyframe_interval_settings_experiment_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build 2022-07-26 23:57:28.598906904 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("min_video_bitrate_experiment_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build 2022-07-26 23:57:28.596182318 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("quality_rampup_experiment_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build 2022-07-26 23:57:28.597543349 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("quality_scaler_settings_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build 2022-07-26 23:57:28.590714440 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("quality_scaling_experiment_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build 2022-07-26 23:57:28.592077515 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rate_control_settings_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build 2022-07-26 23:57:28.586599377 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtt_mult_experiment_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build 2022-07-26 23:57:28.603012790 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("stable_target_rate_experiment_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build --- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build 2022-07-26 23:57:28.631212211 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("gtest_prod_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build --- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build 2022-07-26 23:57:28.609790813 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("ignore_wundef_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/logging_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/logging_gn/moz.build --- third_party/libwebrtc/rtc_base/logging_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/logging_gn/moz.build 2022-07-26 23:57:28.616649277 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("logging_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build --- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build 2022-07-26 23:57:28.554012673 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("macromagic_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build --- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build 2022-07-26 23:57:28.578433302 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("aligned_malloc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build --- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build 2022-07-26 23:57:28.585233397 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("sent_packet_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build --- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build 2022-07-26 23:57:28.582507819 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("platform_thread_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build --- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build 2022-07-26 23:57:28.566226284 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("platform_thread_types_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build --- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build 2022-07-26 23:57:28.604360756 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("protobuf_utils_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build --- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build 2022-07-26 23:57:28.562174590 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rate_limiter_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/refcount_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/refcount_gn/moz.build --- third_party/libwebrtc/rtc_base/refcount_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build 2022-07-26 23:57:28.608435022 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("refcount_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build --- third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build 2022-07-26 23:57:28.556735286 +0900 @@@@ -80,14 +80,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -217,4 +220,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_base_approved_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build --- third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build 2022-07-26 23:57:28.611196137 +0900 @@@@ -94,14 +94,17 @@@@ "/third_party/libwebrtc/rtc_base/mac_ifaddrs_converter.cc" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -197,7 +200,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -250,4 +253,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_base_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build --- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build 2022-07-26 23:57:28.575724015 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_event_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build --- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build 2022-07-26 23:57:28.583873939 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -202,4 +205,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_numerics_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build --- third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build 2022-07-26 23:57:28.572998717 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_task_queue_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build --- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build 2022-07-26 23:57:28.577072753 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("safe_compare_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build --- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build 2022-07-26 23:57:28.552669115 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("safe_conversions_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build --- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build 2022-07-26 23:57:28.581140046 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("safe_minmax_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build --- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build 2022-07-26 23:57:28.555358826 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("sanitizer_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build --- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build 2022-07-26 23:57:28.551323273 +0900 @@@@ -71,14 +71,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("stringutils_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build --- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build 2022-07-26 23:57:28.633950333 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("mutex_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build --- third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build 2022-07-26 23:57:28.632589783 +0900 @@@@ -71,14 +71,17 @@@@ "/third_party/libwebrtc/rtc_base/synchronization/rw_lock_posix.cc" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -216,4 +219,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rw_lock_wrapper_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build --- third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build 2022-07-26 23:57:28.638054265 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("sequence_checker_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build --- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build 2022-07-26 23:57:28.635314891 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("yield_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build --- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build 2022-07-26 23:57:28.636679999 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("yield_policy_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build --- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build 2022-07-26 23:57:28.624642558 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("arch_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build --- third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build 2022-07-26 23:57:28.623293169 +0900 @@@@ -59,7 +59,7 @@@@ "unwind" ] -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -74,4 +74,13 @@@@ DEFINES["USE_X11"] = "1" +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("asm_defines_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build --- third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build 2022-07-26 23:57:28.627151230 +0900 @@@@ -53,4 +53,13 @@@@ DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("cocoa_threading_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build --- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build 2022-07-26 23:57:28.619377491 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("file_wrapper_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build --- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build 2022-07-26 23:57:28.629854066 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("ignore_warnings_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build --- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build 2022-07-26 23:57:28.620726459 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("inline_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build --- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build 2022-07-26 23:57:28.622073774 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtc_export_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build --- third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build 2022-07-26 23:57:28.618004167 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -184,4 +187,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("thread_registry_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build --- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build 2022-07-26 23:57:28.628500339 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("unused_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build --- third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build 2022-07-26 23:57:28.625991096 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("warn_current_thread_is_deadlocked_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build --- third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build 2022-07-19 03:44:34.000000000 +0900 +++ third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build 2022-07-26 23:57:28.558097689 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("pending_task_safety_flag_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build --- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build 2022-07-26 23:57:28.560813489 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -207,4 +210,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("repeating_task_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build --- third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build 2022-07-26 23:57:28.559448461 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("to_queued_task_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build --- third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build 2022-07-26 23:57:28.613919181 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("base64_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build --- third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build 2022-07-26 23:57:28.612558370 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -139,7 +142,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -192,4 +195,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("sigslot_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build --- third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build 2022-07-26 23:57:28.571645571 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("thread_checker_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build --- third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build 2022-07-26 23:57:28.605733168 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("timestamp_extrapolator_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build --- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build 2022-07-26 23:57:28.615282896 +0900 @@@@ -69,14 +69,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -202,4 +205,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("timeutils_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build --- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build 2022-07-26 23:57:28.607083048 +0900 @@@@ -59,14 +59,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -131,7 +134,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -176,4 +179,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("type_traits_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build --- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build 2022-07-26 23:57:28.567577777 +0900 @@@@ -63,14 +63,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -180,4 +183,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("unit_base_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build firefox-103.0/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build --- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build 2022-07-26 23:57:28.568940781 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -143,7 +146,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -196,4 +199,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("weak_ptr_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/sdk/base_objc_gn/moz.build firefox-103.0/third_party/libwebrtc/sdk/base_objc_gn/moz.build --- third_party/libwebrtc/sdk/base_objc_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/sdk/base_objc_gn/moz.build 2022-07-26 23:57:28.382785828 +0900 @@@@ -71,4 +71,13 @@@@ DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("base_objc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/sdk/helpers_objc_gn/moz.build firefox-103.0/third_party/libwebrtc/sdk/helpers_objc_gn/moz.build --- third_party/libwebrtc/sdk/helpers_objc_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/sdk/helpers_objc_gn/moz.build 2022-07-26 23:57:28.381619833 +0900 @@@@ -66,4 +66,13 @@@@ DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("helpers_objc_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build firefox-103.0/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build --- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build 2022-07-26 23:57:28.694799898 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("field_trial_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build firefox-103.0/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build --- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build 2022-07-26 23:57:28.693446812 +0900 @@@@ -67,14 +67,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -200,4 +203,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("metrics_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build firefox-103.0/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build --- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build 2022-07-26 23:57:28.696175526 +0900 @@@@ -77,14 +77,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -168,7 +171,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -221,4 +224,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("system_wrappers_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build firefox-103.0/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build --- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build 2022-07-26 23:57:28.384141489 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rtp_test_utils_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build 2022-07-19 03:44:32.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build 2022-07-26 23:57:28.688072239 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("algorithm_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build 2022-07-26 23:57:28.686758907 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("container_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build 2022-07-26 23:57:28.660442134 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("atomic_hook_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build 2022-07-26 23:57:28.664370707 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("base_internal_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build 2022-07-26 23:57:28.661756738 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("config_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build 2022-07-26 23:57:28.663064118 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("core_headers_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build 2022-07-26 23:57:28.659131909 +0900 @@@@ -48,7 +48,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -107,7 +107,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -160,4 +160,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("log_severity_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build 2022-07-26 23:57:28.665695851 +0900 @@@@ -48,7 +48,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -107,7 +107,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -160,4 +160,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("raw_logging_internal_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build 2022-07-26 23:57:28.684142814 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("compressed_tuple_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build 2022-07-26 23:57:28.681522363 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("flat_hash_map_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build 2022-07-26 23:57:28.682828501 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("inlined_vector_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build 2022-07-26 23:57:28.680215904 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("inlined_vector_internal_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build 2022-07-19 03:44:25.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build 2022-07-26 23:57:28.685448311 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("memory_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build 2022-07-26 23:57:28.667013260 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("type_traits_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build 2022-07-19 03:44:29.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build 2022-07-26 23:57:28.668338103 +0900 @@@@ -48,7 +48,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -107,7 +107,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -160,4 +160,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("int128_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build 2022-07-26 23:57:28.672321789 +0900 @@@@ -50,7 +50,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -109,7 +109,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -162,4 +162,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("internal_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build 2022-07-26 23:57:28.670991606 +0900 @@@@ -63,7 +63,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -122,7 +122,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -175,4 +175,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("strings_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build 2022-07-26 23:57:28.677578321 +0900 @@@@ -48,7 +48,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -107,7 +107,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -160,4 +160,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("bad_optional_access_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build 2022-07-26 23:57:28.678902353 +0900 @@@@ -48,7 +48,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -107,7 +107,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -160,4 +160,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("bad_variant_access_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build 2022-07-19 03:44:31.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build 2022-07-26 23:57:28.673630883 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("optional_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build 2022-07-26 23:57:28.676254931 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("span_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build 2022-07-19 03:44:33.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build 2022-07-26 23:57:28.674939766 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("variant_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build 2022-07-26 23:57:28.669648800 +0900 @@@@ -44,7 +44,7 @@@@ DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -97,7 +97,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -142,4 +142,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("utility_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build --- third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build 2022-07-26 23:57:28.690709542 +0900 @@@@ -49,7 +49,7 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -115,7 +115,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -168,4 +168,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("pffft_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build firefox-103.0/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build --- third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build 2022-07-19 03:44:26.000000000 +0900 +++ third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build 2022-07-26 23:57:28.689392614 +0900 @@@@ -49,7 +49,7 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" @@@@ -110,7 +110,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -163,4 +163,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("rnn_vad_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build firefox-103.0/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build --- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build 2022-07-26 23:57:28.377712089 +0900 @@@@ -75,14 +75,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -216,4 +219,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_adaptation_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build firefox-103.0/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build --- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build 2022-07-26 23:57:28.379076907 +0900 @@@@ -68,14 +68,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -209,4 +212,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("frame_dumping_decoder_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/video/video_gn/moz.build firefox-103.0/third_party/libwebrtc/video/video_gn/moz.build --- third_party/libwebrtc/video/video_gn/moz.build 2022-07-19 03:44:27.000000000 +0900 +++ third_party/libwebrtc/video/video_gn/moz.build 2022-07-26 23:57:28.376335599 +0900 @@@@ -97,14 +97,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -185,7 +188,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -238,4 +241,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build firefox-103.0/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build --- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build 2022-07-19 03:44:36.000000000 +0900 +++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build 2022-07-26 23:57:28.380451012 +0900 @@@@ -73,14 +73,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -214,4 +217,13 @@@@ DEFINES["_GNU_SOURCE"] = True +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("video_stream_encoder_impl_gn") diff -ur firefox-103.0.orig/third_party/libwebrtc/webrtc_gn/moz.build firefox-103.0/third_party/libwebrtc/webrtc_gn/moz.build --- third_party/libwebrtc/webrtc_gn/moz.build 2022-07-19 03:44:37.000000000 +0900 +++ third_party/libwebrtc/webrtc_gn/moz.build 2022-07-26 23:57:28.692092514 +0900 @@@@ -64,14 +64,17 @@@@ DEFINES["__STDC_CONSTANT_MACROS"] = True DEFINES["__STDC_FORMAT_MACROS"] = True -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["USE_UDEV"] = True - DEFINES["WEBRTC_LINUX"] = True + if CONFIG["OS_TARGET"] == "Linux": + DEFINES["WEBRTC_LINUX"] = True + else: + DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" DEFINES["_LARGEFILE64_SOURCE"] = True @@@@ -171,7 +174,7 @@@@ DEFINES["_DEBUG"] = True -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True @@@@ -239,4 +242,13 @@@@ "m" ] +if CONFIG["CPU_ARCH"] == "x86": + CFLAGS += [ + "-msse2" + ] + + CXXFLAGS += [ + "-msse2" + ] + Library("webrtc_gn") @ 1.2 log @firefox102: update to 102.1.0 Security Vulnerabilities fixed in Firefox ESR 102.1 #CVE-2022-36319: Mouse Position spoofing with CSS transforms #CVE-2022-36318: Directory indexes for bundled resources reflected URL parameters #CVE-2022-36314: Opening local .lnk files could cause unexpected network loads #CVE-2022-2505: Memory safety bugs fixed in Firefox 103 and 102.1 @ text @d1 1 a1 1 $NetBSD: patch-libwebrtc.diff,v 1.7 2022/08/03 17:09:26 ryoon Exp $ @ 1.1 log @Add a package for Firefox 102 ESR @ text @d1 1 a1 1 $NetBSD: patch-libwebrtc.diff,v 1.5 2022/07/04 14:34:08 ryoon Exp $ d3 5 a7 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build --- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build 2022-06-23 07:13:54.673949403 +0900 d27 2 a28 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d37 3 a39 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d51 3 a53 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/array_view_gn/moz.build firefox-102.0/third_party/libwebrtc/api/array_view_gn/moz.build --- third_party/libwebrtc/api/array_view_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/api/array_view_gn/moz.build 2022-06-23 07:13:54.683864356 +0900 d73 2 a74 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d83 3 a85 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d97 3 a99 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build --- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build 2022-06-23 07:13:54.675378802 +0900 d119 2 a120 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d129 3 a131 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d143 3 a145 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build --- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build 2022-06-23 07:13:54.678225748 +0900 d165 2 a166 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d175 3 a177 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d189 3 a191 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build --- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build 2022-06-23 07:13:54.679649416 +0900 d211 2 a212 11 DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -170,7 +173,7 @@@@ d221 3 a223 3 @@@@ -202,4 +205,13 @@@@ "-msse2" ] d235 3 a237 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build --- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build 2022-06-23 07:13:54.676787302 +0900 d257 2 a258 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d267 3 a269 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d281 3 a283 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio/echo_control_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio/echo_control_gn/moz.build --- third_party/libwebrtc/api/audio/echo_control_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build 2022-06-23 07:13:54.681052746 +0900 d303 2 a304 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d313 3 a315 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d327 3 a329 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build firefox-102.0/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 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build 2022-06-23 07:13:54.641157043 +0900 d349 2 a350 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d359 3 a361 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d373 3 a375 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build 2022-06-23 07:13:54.639734127 +0900 d395 2 a396 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d405 3 a407 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d419 3 a421 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build 2022-06-23 07:13:54.644047601 +0900 d441 2 a442 11 DEFINES["_GNU_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -172,7 +175,7 @@@@ d451 3 a453 3 @@@@ -204,4 +207,13 @@@@ "-msse2" ] d465 3 a467 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build 2022-06-23 07:13:54.648362718 +0900 d486 2 a487 2 DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0" DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1" d490 4 a493 1 DEFINES["_FORTIFY_SOURCE"] = "2" d495 1 a495 2 -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): d497 3 a499 1 DEFINES["_FORTIFY_SOURCE"] = "2" d501 2 a502 1 @@@@ -189,7 +192,7 @@@@ d504 3 a506 1 DEFINES["_DEBUG"] = True d508 1 a508 2 -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): d510 2 a511 1 DEFINES["_DEBUG"] = True d513 1 a513 1 @@@@ -234,4 +237,13 @@@@ d515 11 d538 3 a540 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build 2022-06-23 07:13:54.642621228 +0900 d559 12 a572 1 @@@@ -173,7 +176,7 @@@@ d574 2 a575 1 DEFINES["_FORTIFY_SOURCE"] = "2" d577 5 a581 2 -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): d583 2 a584 1 DEFINES["_FORTIFY_SOURCE"] = "2" d586 1 a586 1 @@@@ -189,7 +192,7 @@@@ d588 2 a589 1 DEFINES["_DEBUG"] = True d591 5 a595 2 -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): d597 2 a598 1 DEFINES["_DEBUG"] = True d600 4 a603 2 @@@@ -234,4 +237,13 @@@@ "-msse2" d616 3 a618 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build 2022-06-23 07:13:54.646904896 +0900 d638 2 a639 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d648 3 a650 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d662 3 a664 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build 2022-06-23 07:13:54.645477601 +0900 d684 2 a685 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d694 3 a696 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d708 3 a710 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build 2022-06-23 07:13:54.631204701 +0900 d730 2 a731 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d740 3 a742 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d754 3 a756 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build 2022-06-23 07:13:54.632609423 +0900 d776 2 a777 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d786 3 a788 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d800 3 a802 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build 2022-06-23 07:13:54.634030296 +0900 d822 2 a823 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d832 3 a834 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d846 3 a848 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build 2022-06-23 07:13:54.638308024 +0900 d868 2 a869 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d878 3 a880 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d892 3 a894 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build 2022-06-23 07:13:54.635443795 +0900 d914 2 a915 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d924 3 a926 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d938 3 a940 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build 2022-06-23 07:13:54.636874357 +0900 d960 2 a961 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d970 3 a972 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d984 15 a998 6 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build 2022-06-23 07:13:54.624250467 +0900 @@@@ -66,4 +66,13 @@@@ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" DEFINES["_DEBUG"] = True d1010 3 a1012 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build 2022-06-17 06:35:00.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build 2022-06-23 07:13:54.629770943 +0900 d1032 2 a1033 11 DEFINES["_GNU_SOURCE"] = True @@@@ -146,7 +149,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -162,7 +165,7 @@@@ d1042 3 a1044 3 @@@@ -194,4 +197,13 @@@@ "-msse2" ] d1056 3 a1058 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build 2022-06-23 07:13:54.623057381 +0900 d1077 12 a1090 1 @@@@ -163,7 +166,7 @@@@ d1092 2 a1093 1 DEFINES["_FORTIFY_SOURCE"] = "2" d1095 5 a1099 2 -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): d1101 2 a1102 1 DEFINES["_FORTIFY_SOURCE"] = "2" d1104 1 a1104 1 @@@@ -179,7 +182,7 @@@@ d1106 2 a1107 1 DEFINES["_DEBUG"] = True d1109 5 a1113 2 -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): d1115 2 a1116 1 DEFINES["_DEBUG"] = True a1117 1 @@@@ -214,4 +217,13 @@@@ d1120 3 d1134 15 a1148 6 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build 2022-06-23 07:13:54.626873763 +0900 @@@@ -66,4 +66,13 @@@@ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" DEFINES["_DEBUG"] = True d1160 3 a1162 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build 2022-06-23 07:13:54.625666561 +0900 d1182 2 a1183 11 DEFINES["_GNU_SOURCE"] = True @@@@ -146,7 +149,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -162,7 +165,7 @@@@ d1192 3 a1194 3 @@@@ -194,4 +197,13 @@@@ "-msse2" ] d1206 3 a1208 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build 2022-06-23 07:13:54.628351543 +0900 d1227 12 a1240 1 @@@@ -163,7 +166,7 @@@@ d1242 2 a1243 1 DEFINES["_FORTIFY_SOURCE"] = "2" d1245 3 a1247 2 -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): d1249 1 a1249 1 DEFINES["_FORTIFY_SOURCE"] = "2" d1251 2 a1252 1 @@@@ -179,7 +182,7 @@@@ d1254 5 a1258 1 DEFINES["_DEBUG"] = True d1260 2 a1261 4 -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_DEBUG"] = True a1262 1 @@@@ -214,4 +217,13 @@@@ d1265 3 d1279 3 a1281 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build 2022-06-23 07:13:54.649789302 +0900 d1301 2 a1302 11 DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -170,7 +173,7 @@@@ d1311 3 a1313 3 @@@@ -202,4 +205,13 @@@@ "-msse2" ] d1325 3 a1327 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build 2022-06-23 07:13:54.655483674 +0900 d1347 2 a1348 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d1357 3 a1359 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d1371 3 a1373 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build 2022-06-23 07:13:54.652646237 +0900 d1393 2 a1394 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d1403 3 a1405 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d1417 3 a1419 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build 2022-06-23 07:13:54.651218661 +0900 d1439 2 a1440 11 DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -170,7 +173,7 @@@@ d1449 3 a1451 3 @@@@ -202,4 +205,13 @@@@ "-msse2" ] d1463 3 a1465 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build 2022-06-23 07:13:54.656914055 +0900 d1485 2 a1486 11 DEFINES["_GNU_SOURCE"] = True @@@@ -158,7 +161,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -174,7 +177,7 @@@@ d1495 3 a1497 3 @@@@ -206,4 +209,13 @@@@ "-msse2" ] d1509 3 a1511 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build --- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build 2022-06-23 07:13:54.654070326 +0900 d1531 2 a1532 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d1541 3 a1543 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d1555 3 a1557 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio_options_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio_options_api_gn/moz.build --- third_party/libwebrtc/api/audio_options_api_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/api/audio_options_api_gn/moz.build 2022-06-23 07:13:54.707885897 +0900 d1577 2 a1578 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d1587 3 a1589 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d1601 3 a1603 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build firefox-102.0/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build --- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build 2022-06-23 07:13:54.672527658 +0900 d1623 2 a1624 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d1633 3 a1635 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d1647 3 a1649 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/call_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/call_api_gn/moz.build --- third_party/libwebrtc/api/call_api_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/api/call_api_gn/moz.build 2022-06-23 07:13:54.703647353 +0900 d1669 2 a1670 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d1679 3 a1681 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d1693 3 a1695 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/callfactory_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/callfactory_api_gn/moz.build --- third_party/libwebrtc/api/callfactory_api_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/callfactory_api_gn/moz.build 2022-06-23 07:13:54.621614416 +0900 d1715 2 a1716 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d1725 3 a1727 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d1739 3 a1741 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build firefox-102.0/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build --- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build 2022-06-23 07:13:54.696577012 +0900 d1761 2 a1762 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d1771 3 a1773 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d1785 3 a1787 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build firefox-102.0/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build --- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build 2022-06-23 07:13:54.697983398 +0900 d1807 2 a1808 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d1817 3 a1819 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d1831 3 a1833 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/crypto/options_gn/moz.build firefox-102.0/third_party/libwebrtc/api/crypto/options_gn/moz.build --- third_party/libwebrtc/api/crypto/options_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/api/crypto/options_gn/moz.build 2022-06-23 07:13:54.699407397 +0900 d1853 2 a1854 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d1863 3 a1865 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d1877 3 a1879 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/fec_controller_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/fec_controller_api_gn/moz.build --- third_party/libwebrtc/api/fec_controller_api_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build 2022-06-23 07:13:54.688074296 +0900 d1899 2 a1900 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d1909 3 a1911 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d1923 3 a1925 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build firefox-102.0/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build --- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build 2022-06-23 07:13:54.700822599 +0900 d1945 2 a1946 11 DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -170,7 +173,7 @@@@ d1955 3 a1957 3 @@@@ -192,4 +195,13 @@@@ "android_support" ] d1969 3 a1971 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/function_view_gn/moz.build firefox-102.0/third_party/libwebrtc/api/function_view_gn/moz.build --- third_party/libwebrtc/api/function_view_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/api/function_view_gn/moz.build 2022-06-23 07:13:54.686673901 +0900 d1991 2 a1992 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d2001 3 a2003 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d2015 3 a2017 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build --- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build 2022-06-23 07:13:54.580337655 +0900 d2037 2 a2038 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d2047 3 a2049 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d2061 3 a2063 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/media_stream_interface_gn/moz.build firefox-102.0/third_party/libwebrtc/api/media_stream_interface_gn/moz.build --- third_party/libwebrtc/api/media_stream_interface_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build 2022-06-23 07:13:54.570426730 +0900 d2083 2 a2084 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d2093 3 a2095 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d2107 3 a2109 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build --- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build 2022-06-23 07:13:54.692325634 +0900 d2129 2 a2130 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d2139 3 a2141 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d2153 3 a2155 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build --- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build 2022-06-17 06:35:41.000000000 +0900 _+++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build 2022-06-23 07:13:54.693753120 +0900 d2175 2 a2176 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d2185 3 a2187 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d2199 3 a2201 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build --- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build 2022-06-23 07:13:54.689477446 +0900 d2221 2 a2222 11 DEFINES["_GNU_SOURCE"] = True @@@@ -152,7 +155,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -168,7 +171,7 @@@@ d2231 3 a2233 3 @@@@ -190,4 +193,13 @@@@ "android_support" ] d2245 3 a2247 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build firefox-102.0/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build --- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build 2022-06-23 07:13:54.690901856 +0900 d2267 2 a2268 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d2277 3 a2279 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d2291 3 a2293 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build --- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build 2022-06-23 07:13:54.581739082 +0900 d2313 2 a2314 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d2323 3 a2325 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d2337 3 a2339 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/numerics/numerics_gn/moz.build firefox-102.0/third_party/libwebrtc/api/numerics/numerics_gn/moz.build --- third_party/libwebrtc/api/numerics/numerics_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/numerics/numerics_gn/moz.build 2022-06-23 07:13:54.571854386 +0900 d2359 2 a2360 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d2369 3 a2371 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d2383 3 a2385 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/priority_gn/moz.build firefox-102.0/third_party/libwebrtc/api/priority_gn/moz.build --- third_party/libwebrtc/api/priority_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/api/priority_gn/moz.build 2022-06-23 07:13:54.659737036 +0900 d2405 2 a2406 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d2415 3 a2417 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d2429 3 a2431 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/refcountedbase_gn/moz.build firefox-102.0/third_party/libwebrtc/api/refcountedbase_gn/moz.build --- third_party/libwebrtc/api/refcountedbase_gn/moz.build 2022-06-17 06:35:00.000000000 +0900 _+++ third_party/libwebrtc/api/refcountedbase_gn/moz.build 2022-06-23 07:13:54.706471126 +0900 d2451 2 a2452 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d2461 3 a2463 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d2475 3 a2477 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/rtc_error_gn/moz.build firefox-102.0/third_party/libwebrtc/api/rtc_error_gn/moz.build --- third_party/libwebrtc/api/rtc_error_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/rtc_error_gn/moz.build 2022-06-23 07:13:54.658338044 +0900 d2497 2 a2498 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d2507 3 a2509 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d2521 3 a2523 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build firefox-102.0/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build --- third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build 2022-06-23 07:13:54.661156126 +0900 d2543 2 a2544 11 DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -170,7 +173,7 @@@@ d2553 3 a2555 3 @@@@ -202,4 +205,13 @@@@ "-msse2" ] d2567 3 a2569 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/rtp_headers_gn/moz.build firefox-102.0/third_party/libwebrtc/api/rtp_headers_gn/moz.build --- third_party/libwebrtc/api/rtp_headers_gn/moz.build 2022-06-17 06:35:41.000000000 +0900 _+++ third_party/libwebrtc/api/rtp_headers_gn/moz.build 2022-06-23 07:13:54.695171498 +0900 d2589 2 a2590 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d2599 3 a2601 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d2613 3 a2615 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build firefox-102.0/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build --- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build 2022-06-23 07:13:54.608824085 +0900 d2635 2 a2636 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d2645 3 a2647 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d2659 3 a2661 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/rtp_parameters_gn/moz.build firefox-102.0/third_party/libwebrtc/api/rtp_parameters_gn/moz.build --- third_party/libwebrtc/api/rtp_parameters_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build 2022-06-23 07:13:54.702243943 +0900 d2681 2 a2682 11 DEFINES["_GNU_SOURCE"] = True @@@@ -150,7 +153,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -166,7 +169,7 @@@@ d2691 3 a2693 3 @@@@ -198,4 +201,13 @@@@ "-msse2" ] d2705 3 a2707 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build firefox-102.0/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build --- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build 2022-06-17 06:35:41.000000000 +0900 _+++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build 2022-06-23 07:13:54.662563654 +0900 d2727 2 a2728 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d2737 3 a2739 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d2751 3 a2753 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/scoped_refptr_gn/moz.build firefox-102.0/third_party/libwebrtc/api/scoped_refptr_gn/moz.build --- third_party/libwebrtc/api/scoped_refptr_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build 2022-06-23 07:13:54.682456908 +0900 d2773 2 a2774 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d2783 3 a2785 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d2797 3 a2799 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/simulated_network_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/simulated_network_api_gn/moz.build --- third_party/libwebrtc/api/simulated_network_api_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/api/simulated_network_api_gn/moz.build 2022-06-23 07:13:54.685273787 +0900 d2819 2 a2820 11 DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -170,7 +173,7 @@@@ d2829 3 a2831 3 @@@@ -192,4 +195,13 @@@@ "android_support" ] d2843 3 a2845 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build firefox-102.0/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build --- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build 2022-06-23 07:13:54.705063447 +0900 d2865 2 a2866 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d2875 3 a2877 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d2889 3 a2891 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build firefox-102.0/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build --- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build 2022-06-23 07:13:54.613113674 +0900 d2911 2 a2912 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d2921 3 a2923 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d2935 3 a2937 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build firefox-102.0/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build --- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build 2022-06-23 07:13:54.610262951 +0900 d2957 2 a2958 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d2967 3 a2969 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d2981 3 a2983 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build firefox-102.0/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build --- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build 2022-06-23 07:13:54.611694053 +0900 d3003 2 a3004 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d3013 3 a3015 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d3027 3 a3029 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/transport/network_control_gn/moz.build firefox-102.0/third_party/libwebrtc/api/transport/network_control_gn/moz.build --- third_party/libwebrtc/api/transport/network_control_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build 2022-06-23 07:13:54.618796495 +0900 d3049 2 a3050 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d3059 3 a3061 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d3073 3 a3075 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build firefox-102.0/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build --- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build 2022-06-23 07:13:54.615956713 +0900 d3095 2 a3096 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d3105 3 a3107 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d3119 3 a3121 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build firefox-102.0/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build --- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build 2022-06-23 07:13:54.614527264 +0900 d3141 2 a3142 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d3151 3 a3153 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d3165 3 a3167 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build firefox-102.0/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build --- third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build 2022-06-23 07:13:54.617366435 +0900 d3187 2 a3188 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d3197 3 a3199 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d3211 3 a3213 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/transport_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/transport_api_gn/moz.build --- third_party/libwebrtc/api/transport_api_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/api/transport_api_gn/moz.build 2022-06-23 07:13:54.620213401 +0900 d3233 2 a3234 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d3243 3 a3245 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d3257 3 a3259 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/units/data_rate_gn/moz.build firefox-102.0/third_party/libwebrtc/api/units/data_rate_gn/moz.build --- third_party/libwebrtc/api/units/data_rate_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/api/units/data_rate_gn/moz.build 2022-06-23 07:13:54.573268476 +0900 d3279 2 a3280 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d3289 3 a3291 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d3303 3 a3305 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/units/data_size_gn/moz.build firefox-102.0/third_party/libwebrtc/api/units/data_size_gn/moz.build --- third_party/libwebrtc/api/units/data_size_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/api/units/data_size_gn/moz.build 2022-06-23 07:13:54.578934696 +0900 d3325 2 a3326 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d3335 3 a3337 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d3349 3 a3351 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/units/frequency_gn/moz.build firefox-102.0/third_party/libwebrtc/api/units/frequency_gn/moz.build --- third_party/libwebrtc/api/units/frequency_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/api/units/frequency_gn/moz.build 2022-06-23 07:13:54.574686043 +0900 d3371 2 a3372 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d3381 3 a3383 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d3395 3 a3397 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/units/time_delta_gn/moz.build firefox-102.0/third_party/libwebrtc/api/units/time_delta_gn/moz.build --- third_party/libwebrtc/api/units/time_delta_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/api/units/time_delta_gn/moz.build 2022-06-23 07:13:54.577518091 +0900 d3417 2 a3418 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d3427 3 a3429 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d3441 3 a3443 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/units/timestamp_gn/moz.build firefox-102.0/third_party/libwebrtc/api/units/timestamp_gn/moz.build --- third_party/libwebrtc/api/units/timestamp_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/api/units/timestamp_gn/moz.build 2022-06-23 07:13:54.576100774 +0900 d3463 2 a3464 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d3473 3 a3475 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d3487 3 a3489 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build --- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build 2022-06-23 07:13:54.595997555 +0900 d3509 2 a3510 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d3519 3 a3521 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d3533 3 a3535 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build --- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build 2022-06-23 07:13:54.594558999 +0900 d3555 2 a3556 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d3565 3 a3567 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d3579 3 a3581 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/encoded_image_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/encoded_image_gn/moz.build --- third_party/libwebrtc/api/video/encoded_image_gn/moz.build 2022-06-17 06:35:41.000000000 +0900 _+++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build 2022-06-23 07:13:54.601701756 +0900 d3601 2 a3602 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d3611 3 a3613 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d3625 3 a3627 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build --- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build 2022-06-23 07:13:54.598835053 +0900 d3647 2 a3648 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d3657 3 a3659 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d3671 3 a3673 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build --- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build 2022-06-23 07:13:54.603131295 +0900 d3693 2 a3694 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d3703 3 a3705 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d3717 3 a3719 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build --- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build 2022-06-23 07:13:54.604557769 +0900 d3739 2 a3740 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d3749 3 a3751 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d3763 3 a3765 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build --- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build 2022-06-23 07:13:54.588873012 +0900 d3785 2 a3786 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d3795 3 a3797 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d3809 3 a3811 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build --- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build 2022-06-17 06:35:00.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build 2022-06-23 07:13:54.590297081 +0900 d3831 2 a3832 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d3841 3 a3843 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d3855 3 a3857 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build --- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build 2022-06-17 06:35:15.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build 2022-06-23 07:13:54.583142833 +0900 d3877 2 a3878 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d3887 3 a3889 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d3901 3 a3903 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_frame_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_frame_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_frame_gn/moz.build 2022-06-23 07:13:54.591722903 +0900 d3923 2 a3924 11 DEFINES["_GNU_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -171,7 +174,7 @@@@ d3933 3 a3935 3 @@@@ -203,4 +206,13 @@@@ "-msse2" ] d3947 3 a3949 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build 2022-06-23 07:13:54.584589113 +0900 d3969 2 a3970 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d3979 3 a3981 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d3993 3 a3995 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build 2022-06-23 07:13:54.597427806 +0900 d4015 2 a4016 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d4025 3 a4027 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d4039 3 a4041 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build 2022-06-23 07:13:54.587463601 +0900 d4061 2 a4062 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d4071 3 a4073 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d4085 3 a4087 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build 2022-06-23 07:13:54.586031527 +0900 d4107 2 a4108 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d4117 3 a4119 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d4131 3 a4133 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build --- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build 2022-06-23 07:13:54.593127786 +0900 d4153 2 a4154 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d4163 3 a4165 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d4177 3 a4179 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build --- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build 2022-06-23 07:13:54.605991856 +0900 d4199 2 a4200 11 DEFINES["_GNU_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -172,7 +175,7 @@@@ d4209 3 a4211 3 @@@@ -204,4 +207,13 @@@@ "-msse2" ] d4223 3 a4225 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build --- third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build 2022-06-23 07:13:54.600267518 +0900 d4245 2 a4246 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d4255 3 a4257 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d4269 3 a4271 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build --- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build 2022-06-17 06:35:00.000000000 +0900 _+++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build 2022-06-23 07:13:54.607404915 +0900 d4291 2 a4292 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d4301 3 a4303 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d4315 3 a4317 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build --- third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build 2022-06-23 07:13:54.669698015 +0900 d4337 2 a4338 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d4347 3 a4349 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d4361 3 a4363 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build --- third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build 2022-06-23 07:13:54.671124028 +0900 d4383 2 a4384 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d4393 3 a4395 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d4407 3 a4409 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build --- third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build 2022-06-23 07:13:54.663993684 +0900 d4429 2 a4430 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d4439 3 a4441 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d4453 3 a4455 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build --- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build 2022-06-17 06:35:00.000000000 +0900 _+++ third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build 2022-06-23 07:13:54.665428533 +0900 d4475 2 a4476 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d4485 3 a4487 3 @@@@ -211,4 +214,13 @@@@ "-msse2" ] d4499 3 a4501 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build --- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build 2022-06-23 07:13:54.666862721 +0900 d4521 2 a4522 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d4531 3 a4533 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d4545 3 a4547 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build --- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build 2022-06-17 06:35:00.000000000 +0900 _+++ third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build 2022-06-23 07:13:54.668294014 +0900 d4567 2 a4568 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d4577 3 a4579 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d4591 3 a4593 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/audio/audio_gn/moz.build firefox-102.0/third_party/libwebrtc/audio/audio_gn/moz.build --- third_party/libwebrtc/audio/audio_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/audio/audio_gn/moz.build 2022-06-23 07:13:54.797540208 +0900 d4613 2 a4614 11 DEFINES["_GNU_SOURCE"] = True @@@@ -175,7 +178,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -191,7 +194,7 @@@@ d4623 3 a4625 3 @@@@ -223,4 +226,13 @@@@ "-msse2" ] d4637 3 a4639 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build firefox-102.0/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build --- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build 2022-06-23 07:13:54.796100189 +0900 d4659 2 a4660 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d4669 3 a4671 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d4683 3 a4685 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build firefox-102.0/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build --- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build 2022-06-23 07:13:54.751683333 +0900 d4705 2 a4706 11 DEFINES["_GNU_SOURCE"] = True @@@@ -171,7 +174,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -187,7 +190,7 @@@@ d4715 3 a4717 3 @@@@ -219,4 +222,13 @@@@ "-msse2" ] d4729 3 a4731 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build firefox-102.0/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build --- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build 2022-06-23 07:13:54.761712139 +0900 d4751 2 a4752 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d4761 3 a4763 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d4775 3 a4777 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build firefox-102.0/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build --- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build 2022-06-23 07:13:54.750234798 +0900 d4797 2 a4798 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d4807 3 a4809 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d4821 3 a4823 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build firefox-102.0/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build --- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build 2022-06-23 07:13:54.747371642 +0900 d4843 2 a4844 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d4853 3 a4855 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d4867 3 a4869 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/call_gn/moz.build firefox-102.0/third_party/libwebrtc/call/call_gn/moz.build --- third_party/libwebrtc/call/call_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/call/call_gn/moz.build 2022-06-23 07:13:54.755999041 +0900 d4889 2 a4890 11 DEFINES["_GNU_SOURCE"] = True @@@@ -166,7 +169,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -182,7 +185,7 @@@@ d4899 3 a4901 3 @@@@ -214,4 +217,13 @@@@ "-msse2" ] d4913 3 a4915 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/call_interfaces_gn/moz.build firefox-102.0/third_party/libwebrtc/call/call_interfaces_gn/moz.build --- third_party/libwebrtc/call/call_interfaces_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/call/call_interfaces_gn/moz.build 2022-06-23 07:13:54.748803345 +0900 d4935 2 a4936 11 DEFINES["_GNU_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -183,7 +186,7 @@@@ d4945 3 a4947 3 @@@@ -215,4 +218,13 @@@@ "-msse2" ] d4959 3 a4961 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/fake_network_gn/moz.build firefox-102.0/third_party/libwebrtc/call/fake_network_gn/moz.build --- third_party/libwebrtc/call/fake_network_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/call/fake_network_gn/moz.build 2022-06-23 07:13:54.760296726 +0900 d4981 2 a4982 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d4991 3 a4993 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d5005 3 a5007 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build firefox-102.0/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build --- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build 2022-06-17 06:35:26.000000000 +0900 _+++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build 2022-06-23 07:13:54.744521270 +0900 d5027 2 a5028 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d5037 3 a5039 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d5051 3 a5053 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/rtp_receiver_gn/moz.build firefox-102.0/third_party/libwebrtc/call/rtp_receiver_gn/moz.build --- third_party/libwebrtc/call/rtp_receiver_gn/moz.build 2022-06-17 06:35:15.000000000 +0900 _+++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build 2022-06-23 07:13:54.754562719 +0900 d5073 2 a5074 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d5083 3 a5085 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d5097 3 a5099 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/rtp_sender_gn/moz.build firefox-102.0/third_party/libwebrtc/call/rtp_sender_gn/moz.build --- third_party/libwebrtc/call/rtp_sender_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/call/rtp_sender_gn/moz.build 2022-06-23 07:13:54.758863139 +0900 d5119 2 a5120 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d5129 3 a5131 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d5143 3 a5145 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/simulated_network_gn/moz.build firefox-102.0/third_party/libwebrtc/call/simulated_network_gn/moz.build --- third_party/libwebrtc/call/simulated_network_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/call/simulated_network_gn/moz.build 2022-06-23 07:13:54.757430424 +0900 d5165 2 a5166 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d5175 3 a5177 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d5189 3 a5191 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build firefox-102.0/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build --- third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build 2022-06-23 07:13:54.745940199 +0900 d5211 2 a5212 11 DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -170,7 +173,7 @@@@ d5221 3 a5223 3 @@@@ -192,4 +195,13 @@@@ "android_support" ] d5235 3 a5237 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/call/video_stream_api_gn/moz.build firefox-102.0/third_party/libwebrtc/call/video_stream_api_gn/moz.build --- third_party/libwebrtc/call/video_stream_api_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/call/video_stream_api_gn/moz.build 2022-06-23 07:13:54.753119234 +0900 d5257 2 a5258 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d5267 3 a5269 3 @@@@ -211,4 +214,13 @@@@ "-msse2" ] d5281 3 a5283 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build 2022-06-23 07:13:54.776026888 +0900 a5305 9 DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -162,7 +165,7 @@@@ d5313 1 a5313 1 @@@@ -194,4 +197,13 @@@@ d5327 3 a5329 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build 2022-06-23 07:13:54.773179772 +0900 d5349 2 a5350 11 DEFINES["_GNU_SOURCE"] = True @@@@ -142,7 +145,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -158,7 +161,7 @@@@ d5359 3 a5361 3 @@@@ -180,4 +183,13 @@@@ "android_support" ] d5373 3 a5375 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build 2022-06-23 07:13:54.778995882 +0900 d5395 17 a5412 1 @@@@ -218,7 +221,7 @@@@ d5414 3 a5416 1 DEFINES["_FORTIFY_SOURCE"] = "2" d5418 2 a5419 2 -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): d5421 1 a5421 1 DEFINES["_FORTIFY_SOURCE"] = "2" d5423 2 a5424 1 @@@@ -234,7 +237,7 @@@@ d5426 5 a5430 1 DEFINES["_DEBUG"] = True d5432 2 a5433 2 -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): d5435 1 a5435 1 DEFINES["_DEBUG"] = True d5437 2 a5438 2 @@@@ -285,4 +288,13 @@@@ "-msse2" d5451 3 a5453 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build 2022-06-23 07:13:54.774611125 +0900 d5473 2 a5474 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d5483 3 a5485 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d5497 3 a5499 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/common_audio_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/common_audio_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_gn/moz.build 2022-06-17 06:35:15.000000000 +0900 _+++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build 2022-06-23 07:13:54.777469952 +0900 d5519 2 a5520 11 DEFINES["_GNU_SOURCE"] = True @@@@ -173,7 +176,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -189,7 +192,7 @@@@ d5529 3 a5531 3 @@@@ -221,4 +224,13 @@@@ "-msse2" ] d5543 4 a5546 4 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build 2022-06-23 07:13:54.770337294 +0900 @@@@ -71,7 +71,7 @@@@ d5555 1 a5555 1 @@@@ -79,7 +79,10 @@@@ a5557 1 DEFINES["WEBRTC_ARCH_ARM64"] = True d5566 1 a5566 10 @@@@ -148,7 +151,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -160,7 +163,7 @@@@ d5575 1 a5575 1 @@@@ -176,4 +179,13 @@@@ d5589 4 a5592 4 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build 2022-06-23 07:13:54.780400755 +0900 @@@@ -70,7 +70,7 @@@@ d5601 1 a5601 1 @@@@ -78,7 +78,10 @@@@ a5603 1 DEFINES["WEBRTC_ARCH_ARM64"] = True d5612 1 a5612 10 @@@@ -147,7 +150,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -159,7 +162,7 @@@@ d5621 1 a5621 1 @@@@ -175,4 +178,13 @@@@ d5635 3 a5637 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build --- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build 2022-06-17 06:35:05.000000000 +0900 _+++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build 2022-06-23 07:13:54.771763347 +0900 a5659 9 DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d5667 1 a5667 1 @@@@ -211,4 +214,13 @@@@ d5681 3 a5683 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build --- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build 2022-06-17 06:35:26.000000000 +0900 _+++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build 2022-06-23 07:13:54.768931780 +0900 d5703 2 a5704 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d5713 3 a5715 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d5727 3 a5729 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build --- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build 2022-06-23 07:13:54.781808153 +0900 d5749 2 a5750 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d5759 3 a5761 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d5773 3 a5775 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build --- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build 2022-06-23 07:13:54.767496821 +0900 d5795 2 a5796 11 DEFINES["_GNU_SOURCE"] = True @@@@ -152,7 +155,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -168,7 +171,7 @@@@ d5805 3 a5807 3 @@@@ -190,4 +193,13 @@@@ "android_support" ] d5819 3 a5821 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build --- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build 2022-06-23 22:12:55.207287256 +0900 d5841 2 a5842 11 DEFINES["_GNU_SOURCE"] = True @@@@ -182,7 +185,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -198,7 +201,7 @@@@ d5851 1 a5851 8 @@@@ -252,7 +255,7 @@@@ "-msse2" ] -if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["CPU_ARCH"] == "x86_64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): CXXFLAGS += [ a5852 2 @@@@ -268,4 +271,13 @@@@ "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc" d5865 3 a5867 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build --- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build 2022-06-17 06:35:41.000000000 +0900 _+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build 2022-06-23 07:13:54.764624658 +0900 d5887 2 a5888 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d5897 3 a5899 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d5911 3 a5913 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build firefox-102.0/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build --- third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build 2022-06-23 07:13:54.766076338 +0900 d5933 17 a5950 1 @@@@ -157,7 +160,7 @@@@ d5952 3 a5954 1 DEFINES["_FORTIFY_SOURCE"] = "2" d5956 2 a5957 2 -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): d5959 1 a5959 1 DEFINES["_FORTIFY_SOURCE"] = "2" d5961 2 a5962 1 @@@@ -173,7 +176,7 @@@@ d5964 5 a5968 1 DEFINES["_DEBUG"] = True d5970 2 a5971 2 -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): d5973 1 a5973 1 DEFINES["_DEBUG"] = True d5975 2 a5976 2 @@@@ -221,4 +224,13 @@@@ "-msse2" d5989 3 a5991 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_video/common_video_gn/moz.build firefox-102.0/third_party/libwebrtc/common_video/common_video_gn/moz.build --- third_party/libwebrtc/common_video/common_video_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/common_video/common_video_gn/moz.build 2022-06-23 07:13:54.557617553 +0900 d6011 2 a6012 11 DEFINES["_GNU_SOURCE"] = True @@@@ -175,7 +178,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -191,7 +194,7 @@@@ d6021 3 a6023 3 @@@@ -223,4 +226,13 @@@@ "-msse2" ] d6035 3 a6037 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_video/frame_counts_gn/moz.build firefox-102.0/third_party/libwebrtc/common_video/frame_counts_gn/moz.build --- third_party/libwebrtc/common_video/frame_counts_gn/moz.build 2022-06-17 06:35:05.000000000 +0900 _+++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build 2022-06-23 07:13:54.554726695 +0900 d6057 2 a6058 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d6067 3 a6069 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d6081 3 a6083 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build firefox-102.0/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build --- third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build 2022-06-23 07:13:54.556163558 +0900 d6103 2 a6104 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d6113 3 a6115 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d6127 3 a6129 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build firefox-102.0/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build --- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build 2022-06-17 06:35:05.000000000 +0900 _+++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build 2022-06-23 07:13:54.791813816 +0900 d6149 2 a6150 11 DEFINES["_GNU_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -172,7 +175,7 @@@@ d6159 3 a6161 3 @@@@ -204,4 +207,13 @@@@ "-msse2" ] d6173 3 a6175 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build firefox-102.0/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build --- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build 2022-06-23 07:13:54.788969445 +0900 d6195 2 a6196 11 DEFINES["_GNU_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -183,7 +186,7 @@@@ d6205 3 a6207 3 @@@@ -215,4 +218,13 @@@@ "-msse2" ] d6219 3 a6221 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build firefox-102.0/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build --- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build 2022-06-23 07:13:54.794672433 +0900 d6241 2 a6242 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d6251 3 a6253 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d6265 3 a6267 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build firefox-102.0/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build --- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build 2022-06-17 06:35:19.000000000 +0900 _+++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build 2022-06-23 07:13:54.793249507 +0900 d6287 2 a6288 11 DEFINES["_GNU_SOURCE"] = True @@@@ -165,7 +168,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -181,7 +184,7 @@@@ d6297 3 a6299 3 @@@@ -213,4 +216,13 @@@@ "-msse2" ] d6311 3 a6313 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build firefox-102.0/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build --- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build 2022-06-23 07:13:54.787527913 +0900 d6333 2 a6334 11 DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -170,7 +173,7 @@@@ d6343 3 a6345 3 @@@@ -202,4 +205,13 @@@@ "-msse2" ] d6357 3 a6359 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build firefox-102.0/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build --- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build 2022-06-17 06:35:41.000000000 +0900 _+++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build 2022-06-23 07:13:54.790387723 +0900 d6379 2 a6380 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d6389 3 a6391 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d6403 3 a6405 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/media/rtc_constants_gn/moz.build firefox-102.0/third_party/libwebrtc/media/rtc_constants_gn/moz.build --- third_party/libwebrtc/media/rtc_constants_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/media/rtc_constants_gn/moz.build 2022-06-23 07:13:54.566133724 +0900 d6425 2 a6426 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d6435 3 a6437 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d6449 3 a6451 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build firefox-102.0/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build --- third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build 2022-06-23 07:13:54.559044798 +0900 d6471 2 a6472 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d6481 3 a6483 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d6495 3 a6497 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build firefox-102.0/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build --- third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build 2022-06-17 06:35:05.000000000 +0900 _+++ third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build 2022-06-23 07:13:54.567559977 +0900 d6517 2 a6518 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d6527 3 a6529 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d6541 3 a6543 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build firefox-102.0/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build --- third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build 2022-06-23 07:13:54.560478525 +0900 d6563 2 a6564 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d6573 3 a6575 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d6587 3 a6589 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/media/rtc_media_base_gn/moz.build firefox-102.0/third_party/libwebrtc/media/rtc_media_base_gn/moz.build --- third_party/libwebrtc/media/rtc_media_base_gn/moz.build 2022-06-17 06:35:19.000000000 +0900 _+++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build 2022-06-23 07:13:54.569001499 +0900 d6609 2 a6610 11 DEFINES["_GNU_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -183,7 +186,7 @@@@ d6619 3 a6621 3 @@@@ -215,4 +218,13 @@@@ "-msse2" ] d6633 3 a6635 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/media/rtc_media_config_gn/moz.build firefox-102.0/third_party/libwebrtc/media/rtc_media_config_gn/moz.build --- third_party/libwebrtc/media/rtc_media_config_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build 2022-06-23 07:13:54.564720816 +0900 d6655 2 a6656 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d6665 3 a6667 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d6679 3 a6681 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build firefox-102.0/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build --- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build 2022-06-17 06:35:41.000000000 +0900 _+++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build 2022-06-23 07:13:54.563317876 +0900 d6701 2 a6702 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d6711 3 a6713 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d6725 3 a6727 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build firefox-102.0/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build --- third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build 2022-06-23 07:13:54.561897154 +0900 d6747 2 a6748 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d6757 3 a6759 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d6771 3 a6773 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build 2022-06-23 07:13:54.956852804 +0900 d6793 2 a6794 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d6803 3 a6805 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d6817 3 a6819 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build 2022-06-17 06:35:19.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build 2022-06-23 07:13:54.952569185 +0900 d6839 2 a6840 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d6849 3 a6851 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d6863 3 a6865 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build 2022-06-23 07:13:54.947103722 +0900 d6885 2 a6886 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d6895 3 a6897 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d6909 3 a6911 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build 2022-06-23 07:13:54.975365180 +0900 d6931 2 a6932 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d6941 3 a6943 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d6955 3 a6957 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build 2022-06-23 07:13:54.953982624 +0900 d6977 2 a6978 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d6987 3 a6989 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d7001 3 a7003 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build 2022-06-23 07:13:54.951159473 +0900 d7023 2 a7024 11 DEFINES["_GNU_SOURCE"] = True @@@@ -170,7 +173,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -186,7 +189,7 @@@@ d7033 3 a7035 3 @@@@ -218,4 +221,13 @@@@ "-msse2" ] d7047 3 a7049 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build 2022-06-23 07:13:54.969886882 +0900 d7069 2 a7070 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d7079 3 a7081 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d7093 3 a7095 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build 2022-06-17 06:35:41.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build 2022-06-23 07:13:54.983471423 +0900 d7115 2 a7116 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d7125 3 a7127 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d7139 3 a7141 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build 2022-06-23 07:13:54.955409288 +0900 d7161 2 a7162 11 DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -170,7 +173,7 @@@@ d7171 3 a7173 3 @@@@ -202,4 +205,13 @@@@ "-msse2" ] d7185 3 a7187 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build 2022-06-23 07:13:54.979414048 +0900 d7207 2 a7208 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d7217 3 a7219 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d7231 3 a7233 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build 2022-06-23 07:13:54.949708885 +0900 d7253 2 a7254 11 DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -170,7 +173,7 @@@@ d7263 3 a7265 3 @@@@ -202,4 +205,13 @@@@ "-msse2" ] d7277 3 a7279 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build 2022-06-23 07:13:54.965599336 +0900 d7299 2 a7300 11 DEFINES["_GNU_SOURCE"] = True @@@@ -228,7 +231,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -244,7 +247,7 @@@@ d7309 3 a7311 3 @@@@ -276,4 +279,13 @@@@ "-msse2" ] d7323 3 a7325 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build 2022-06-23 07:13:54.967034907 +0900 d7345 2 a7346 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d7355 3 a7357 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d7369 3 a7371 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build 2022-06-23 07:13:54.986313459 +0900 d7391 2 a7392 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d7401 3 a7403 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d7415 3 a7417 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build 2022-06-17 06:35:19.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build 2022-06-23 07:13:54.958343628 +0900 d7437 2 a7438 11 DEFINES["_GNU_SOURCE"] = True @@@@ -168,7 +171,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -184,7 +187,7 @@@@ d7447 3 a7449 3 @@@@ -216,4 +219,13 @@@@ "-msse2" ] d7461 3 a7463 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build 2022-06-23 07:13:54.982050740 +0900 d7483 2 a7484 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d7493 3 a7495 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d7507 15 a7521 6 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build 2022-06-23 07:13:54.948291688 +0900 @@@@ -63,4 +63,13 @@@@ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" DEFINES["_DEBUG"] = True d7533 15 a7547 6 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build 2022-06-17 06:35:06.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/isac_fix_c_gn/moz.build 2022-06-23 07:13:54.980650275 +0900 @@@@ -92,4 +92,13 @@@@ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" DEFINES["_DEBUG"] = True d7559 15 a7573 6 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/isac_fix_common_gn/moz.build 2022-06-23 07:13:54.972518595 +0900 @@@@ -67,4 +67,13 @@@@ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" DEFINES["_DEBUG"] = True d7585 15 a7599 6 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build 2022-06-17 06:35:19.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/isac_fix_gn/moz.build 2022-06-23 07:13:54.978004306 +0900 @@@@ -67,4 +67,13 @@@@ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" DEFINES["_DEBUG"] = True d7611 3 a7613 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build 2022-06-23 07:13:54.962608080 +0900 d7633 2 a7634 11 DEFINES["_GNU_SOURCE"] = True @@@@ -147,7 +150,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -163,7 +166,7 @@@@ d7643 3 a7645 3 @@@@ -195,4 +198,13 @@@@ "-msse2" ] d7657 15 a7671 6 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build 2022-06-17 06:35:41.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build 2022-06-23 07:13:54.987520091 +0900 @@@@ -70,4 +70,13 @@@@ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" DEFINES["_DEBUG"] = True d7683 3 a7685 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build 2022-06-23 07:13:54.968461080 +0900 d7705 2 a7706 11 DEFINES["_GNU_SOURCE"] = True @@@@ -148,7 +151,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -164,7 +167,7 @@@@ d7715 3 a7717 3 @@@@ -196,4 +199,13 @@@@ "-msse2" ] d7729 3 a7731 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build 2022-06-23 07:13:54.984895882 +0900 d7751 2 a7752 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d7761 3 a7763 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d7775 3 a7777 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build 2022-06-23 07:13:54.990417451 +0900 d7797 2 a7798 11 DEFINES["_GNU_SOURCE"] = True @@@@ -192,7 +195,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -208,7 +211,7 @@@@ d7807 3 a7809 3 @@@@ -240,4 +243,13 @@@@ "-msse2" ] d7821 3 a7823 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build 2022-06-23 07:13:54.961191104 +0900 d7843 2 a7844 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d7853 3 a7855 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d7867 3 a7869 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build 2022-06-23 07:13:54.973934558 +0900 d7889 2 a7890 11 DEFINES["_GNU_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -171,7 +174,7 @@@@ d7899 3 a7901 3 @@@@ -203,4 +206,13 @@@@ "-msse2" ] d7913 3 a7915 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build 2022-06-17 06:35:26.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build 2022-06-23 07:13:54.959772245 +0900 d7935 2 a7936 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d7945 3 a7947 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d7959 3 a7961 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build 2022-06-23 07:13:54.988943258 +0900 d7981 2 a7982 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d7991 3 a7993 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d8005 4 a8008 4 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build 2022-06-23 07:13:54.964056615 +0900 @@@@ -73,7 +73,7 @@@@ d8017 1 a8017 1 @@@@ -81,7 +81,10 @@@@ a8019 1 DEFINES["WEBRTC_CODEC_ISAC"] = True d8027 2 a8028 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d8037 3 a8039 3 @@@@ -221,4 +224,13 @@@@ "-msse2" ] d8051 4 a8054 4 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build 2022-06-23 07:13:54.976812793 +0900 @@@@ -73,7 +73,7 @@@@ d8063 1 a8063 1 @@@@ -81,7 +81,10 @@@@ a8065 1 DEFINES["WEBRTC_CODEC_ISAC"] = True d8073 2 a8074 11 DEFINES["_GNU_SOURCE"] = True @@@@ -170,7 +173,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -186,7 +189,7 @@@@ d8083 3 a8085 3 @@@@ -228,4 +231,13 @@@@ "-msse2" ] d8097 4 a8100 4 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build --- third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build 2022-06-23 07:13:54.971329646 +0900 @@@@ -72,7 +72,7 @@@@ d8109 1 a8109 1 @@@@ -80,7 +80,10 @@@@ a8111 1 DEFINES["WEBRTC_CODEC_ISAC"] = True d8119 2 a8120 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d8129 3 a8131 3 @@@@ -220,4 +223,13 @@@@ "-msse2" ] d8143 3 a8145 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build 2022-06-23 07:13:54.855736781 +0900 d8165 2 a8166 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d8175 3 a8177 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d8189 3 a8191 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build 2022-06-23 07:13:54.854328041 +0900 d8211 2 a8212 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d8221 3 a8223 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d8235 3 a8237 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build 2022-06-17 06:35:19.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build 2022-06-23 07:13:54.857144279 +0900 d8257 2 a8258 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d8267 3 a8269 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d8281 3 a8283 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build 2022-06-23 07:13:54.861425473 +0900 d8303 2 a8304 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d8313 3 a8315 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d8327 3 a8329 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build 2022-06-23 07:13:54.860001544 +0900 d8349 2 a8350 11 DEFINES["_GNU_SOURCE"] = True @@@@ -154,7 +157,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -170,7 +173,7 @@@@ d8359 3 a8361 3 @@@@ -192,4 +195,13 @@@@ "android_support" ] d8373 3 a8375 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build --- third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build 2022-06-23 07:13:54.858588415 +0900 d8395 2 a8396 11 DEFINES["_GNU_SOURCE"] = True @@@@ -165,7 +168,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -181,7 +184,7 @@@@ d8405 3 a8407 3 @@@@ -213,4 +216,13 @@@@ "-msse2" ] d8419 3 a8421 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build --- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build 2022-06-23 07:13:54.868726526 +0900 d8441 2 a8442 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d8451 3 a8453 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d8465 3 a8467 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build --- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build 2022-06-17 06:35:19.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build 2022-06-23 07:13:54.867293781 +0900 d8487 2 a8488 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d8497 3 a8499 3 @@@@ -211,4 +214,13 @@@@ "-msse2" ] d8511 3 a8513 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build 2022-06-23 07:13:54.931358522 +0900 d8533 2 a8534 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d8543 3 a8545 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d8557 3 a8559 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build 2022-06-23 07:13:54.935610561 +0900 d8579 2 a8580 11 DEFINES["_GNU_SOURCE"] = True @@@@ -152,7 +155,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -168,7 +171,7 @@@@ d8589 3 a8591 3 @@@@ -190,4 +193,13 @@@@ "android_support" ] d8603 3 a8605 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build 2022-06-23 07:13:54.925689617 +0900 a8627 9 DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -166,7 +169,7 @@@@ d8635 1 a8635 1 @@@@ -198,4 +201,13 @@@@ d8649 3 a8651 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build 2022-06-23 07:13:54.934179820 +0900 d8671 2 a8672 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d8681 3 a8683 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d8695 3 a8697 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build 2022-06-23 07:13:54.927128584 +0900 d8717 2 a8718 11 DEFINES["_GNU_SOURCE"] = True @@@@ -152,7 +155,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -168,7 +171,7 @@@@ d8727 3 a8729 3 @@@@ -190,4 +193,13 @@@@ "android_support" ] d8741 3 a8743 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build 2022-06-17 06:35:06.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build 2022-06-23 07:13:54.938542867 +0900 d8763 2 a8764 11 DEFINES["_GNU_SOURCE"] = True @@@@ -214,7 +217,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -230,7 +233,7 @@@@ d8773 3 a8775 3 @@@@ -262,4 +265,13 @@@@ "-msse2" ] d8787 3 a8789 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build 2022-06-23 07:13:54.928538998 +0900 d8809 2 a8810 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d8819 3 a8821 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d8833 3 a8835 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build 2022-06-23 07:13:54.932773454 +0900 d8855 2 a8856 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d8865 3 a8867 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d8879 3 a8881 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build 2022-06-23 07:13:54.937022858 +0900 d8901 2 a8902 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d8911 3 a8913 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d8925 3 a8927 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build 2022-06-23 07:13:54.929947538 +0900 d8947 2 a8948 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d8957 3 a8959 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d8971 3 a8973 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build 2022-06-23 07:13:54.901388702 +0900 d8993 2 a8994 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d9003 3 a9005 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d9017 3 a9019 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build 2022-06-23 07:13:54.902809475 +0900 d9039 2 a9040 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d9049 3 a9051 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d9063 3 a9065 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build 2022-06-23 07:13:54.919988592 +0900 d9085 2 a9086 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d9095 3 a9097 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d9109 3 a9111 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build 2022-06-23 07:13:54.904245416 +0900 d9131 2 a9132 11 DEFINES["_GNU_SOURCE"] = True @@@@ -170,7 +173,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -186,7 +189,7 @@@@ d9141 3 a9143 3 @@@@ -218,4 +221,13 @@@@ "-msse2" ] d9155 3 a9157 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build 2022-06-23 07:13:54.885739583 +0900 d9177 2 a9178 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d9187 3 a9189 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d9201 3 a9203 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build 2022-06-23 07:13:54.882900181 +0900 d9223 2 a9224 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d9233 3 a9235 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d9247 3 a9249 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build 2022-06-17 06:35:06.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build 2022-06-23 07:13:54.884301888 +0900 d9269 2 a9270 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d9279 3 a9281 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d9293 3 a9295 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build 2022-06-23 07:13:54.881493504 +0900 d9315 2 a9316 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d9325 3 a9327 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d9339 3 a9341 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build 2022-06-23 07:13:54.887169082 +0900 d9361 2 a9362 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d9371 3 a9373 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d9385 3 a9387 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build 2022-06-23 07:13:54.911413230 +0900 d9407 2 a9408 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d9417 3 a9419 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d9431 3 a9433 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build 2022-06-23 07:13:54.912837910 +0900 d9453 2 a9454 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d9463 3 a9465 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d9477 3 a9479 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build 2022-06-23 07:13:54.915691499 +0900 d9499 2 a9500 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d9509 3 a9511 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d9523 3 a9525 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build 2022-06-23 07:13:54.907117900 +0900 d9545 2 a9546 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d9555 3 a9557 3 @@@@ -211,4 +214,13 @@@@ "-msse2" ] d9569 3 a9571 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build 2022-06-17 06:35:06.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build 2022-06-23 07:13:54.914263352 +0900 d9591 2 a9592 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d9601 3 a9603 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d9615 3 a9617 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build 2022-06-23 07:13:54.908551537 +0900 d9637 2 a9638 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d9647 3 a9649 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d9661 3 a9663 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build 2022-06-23 07:13:54.917121970 +0900 d9683 2 a9684 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d9693 3 a9695 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d9707 3 a9709 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build 2022-06-23 07:13:54.905687569 +0900 d9729 2 a9730 11 DEFINES["_GNU_SOURCE"] = True @@@@ -168,7 +171,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -184,7 +187,7 @@@@ d9739 3 a9741 3 @@@@ -216,4 +219,13 @@@@ "-msse2" ] d9753 3 a9755 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build 2022-06-23 07:13:54.909981547 +0900 d9775 2 a9776 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d9785 3 a9787 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d9799 3 a9801 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/api_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/api_gn/moz.build 2022-06-23 07:13:54.877234322 +0900 d9821 2 a9822 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d9831 3 a9833 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d9845 3 a9847 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build 2022-06-23 07:13:54.924260409 +0900 d9867 2 a9868 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d9877 3 a9879 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d9891 3 a9893 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build 2022-06-23 07:13:54.875814571 +0900 d9913 2 a9914 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d9923 3 a9925 3 @@@@ -211,4 +214,13 @@@@ "-msse2" ] d9937 3 a9939 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build 2022-06-23 07:13:54.892860138 +0900 d9959 2 a9960 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d9969 3 a9971 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d9983 3 a9985 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build 2022-06-17 06:35:19.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build 2022-06-23 07:13:54.880068263 +0900 d10005 2 a10006 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d10015 3 a10017 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d10029 3 a10031 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build 2022-06-17 06:35:06.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build 2022-06-23 07:13:54.898566072 +0900 d10051 2 a10052 11 DEFINES["_GNU_SOURCE"] = True @@@@ -175,7 +178,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -191,7 +194,7 @@@@ d10061 3 a10063 3 @@@@ -223,4 +226,13 @@@@ "-msse2" ] d10075 3 a10077 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build 2022-06-23 07:13:54.891440868 +0900 d10097 2 a10098 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d10107 3 a10109 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d10121 3 a10123 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/config_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/config_gn/moz.build 2022-06-23 07:13:54.890022099 +0900 d10143 2 a10144 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d10153 3 a10155 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d10167 3 a10169 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build 2022-06-23 07:13:54.941434356 +0900 d10189 2 a10190 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d10199 3 a10201 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d10213 3 a10215 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build 2022-06-23 07:13:54.940003044 +0900 d10235 2 a10236 11 DEFINES["_GNU_SOURCE"] = True @@@@ -173,7 +176,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -189,7 +192,7 @@@@ d10245 3 a10247 3 @@@@ -221,4 +224,13 @@@@ "-msse2" ] d10259 3 a10261 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build 2022-06-23 07:13:54.878663320 +0900 d10281 2 a10282 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d10291 3 a10293 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d10305 3 a10307 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build 2022-06-23 07:13:54.899981074 +0900 d10327 2 a10328 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d10337 3 a10339 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d10351 3 a10353 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build 2022-06-23 07:13:54.921397262 +0900 d10373 2 a10374 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d10383 3 a10385 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d10397 3 a10399 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build 2022-06-17 06:35:22.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build 2022-06-23 07:13:54.922827062 +0900 d10419 2 a10420 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d10429 3 a10431 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d10443 3 a10445 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build 2022-06-23 07:13:54.897121184 +0900 d10465 2 a10466 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d10475 3 a10477 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d10489 3 a10491 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build 2022-06-23 07:13:54.895699640 +0900 d10511 2 a10512 11 DEFINES["_GNU_SOURCE"] = True @@@@ -150,7 +153,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -166,7 +169,7 @@@@ d10521 3 a10523 3 @@@@ -198,4 +201,13 @@@@ "-msse2" ] d10535 3 a10537 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build 2022-06-23 07:13:54.894275831 +0900 d10557 2 a10558 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d10567 3 a10569 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d10581 3 a10583 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build 2022-06-17 06:35:06.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build 2022-06-23 07:13:54.918563261 +0900 d10603 2 a10604 11 DEFINES["_GNU_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -183,7 +186,7 @@@@ d10613 3 a10615 3 @@@@ -215,4 +218,13 @@@@ "-msse2" ] d10627 3 a10629 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build --- third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build 2022-06-23 07:13:54.888598260 +0900 d10649 2 a10650 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d10659 3 a10661 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d10673 3 a10675 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build 2022-06-17 06:35:30.000000000 +0900 _+++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build 2022-06-23 07:13:54.848623820 +0900 d10695 2 a10696 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d10705 3 a10707 3 @@@@ -211,4 +214,13 @@@@ "-msse2" ] d10719 3 a10721 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build 2022-06-23 07:13:54.835744241 +0900 d10741 2 a10742 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d10751 3 a10753 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d10765 3 a10767 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build 2022-06-23 07:13:54.841461837 +0900 d10787 2 a10788 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d10797 3 a10799 3 @@@@ -211,4 +214,13 @@@@ "-msse2" ] d10811 3 a10813 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build 2022-06-23 07:13:54.837185332 +0900 d10833 2 a10834 11 DEFINES["_GNU_SOURCE"] = True @@@@ -168,7 +171,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -184,7 +187,7 @@@@ d10843 3 a10845 3 @@@@ -216,4 +219,13 @@@@ "-msse2" ] d10857 3 a10859 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build 2022-06-23 07:13:54.842888390 +0900 d10879 2 a10880 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d10889 3 a10891 3 @@@@ -211,4 +214,13 @@@@ "-msse2" ] d10903 3 a10905 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build 2022-06-23 07:13:54.838605143 +0900 d10925 2 a10926 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d10935 3 a10937 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d10949 3 a10951 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build 2022-06-23 07:13:54.840031797 +0900 d10971 2 a10972 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d10981 3 a10983 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d10995 3 a10997 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build 2022-06-23 07:13:54.834316164 +0900 d11017 2 a11018 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d11027 3 a11029 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d11041 3 a11043 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build 2022-06-23 07:13:54.844315706 +0900 d11063 2 a11064 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d11073 3 a11075 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d11087 3 a11089 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build 2022-06-23 07:13:54.845750214 +0900 d11109 2 a11110 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d11119 3 a11121 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d11133 3 a11135 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build --- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build 2022-06-17 06:35:06.000000000 +0900 _+++ third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build 2022-06-23 07:13:54.847187919 +0900 d11155 2 a11156 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d11165 3 a11167 3 @@@@ -211,4 +214,13 @@@@ "-msse2" ] d11179 3 a11181 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build 2022-06-23 07:13:54.996239332 +0900 a11203 9 DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -128,7 +131,7 @@@@ d11211 1 a11211 1 @@@@ -157,4 +160,13 @@@@ d11225 4 a11228 4 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build 2022-06-23 07:13:54.994840631 +0900 @@@@ -85,14 +85,17 @@@@ a11245 1 DEFINES["WEBRTC_USE_PIPEWIRE"] = True d11247 2 a11248 10 @@@@ -262,7 +265,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -274,7 +277,7 @@@@ d11257 2 a11258 2 @@@@ -321,4 +324,13 @@@@ "-msse2" d11271 3 a11273 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build 2022-06-23 07:13:54.993240552 +0900 d11293 2 a11294 11 DEFINES["_GNU_SOURCE"] = True @@@@ -135,7 +138,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -147,7 +150,7 @@@@ d11303 1 a11303 1 @@@@ -175,4 +178,13 @@@@ d11317 4 a11320 4 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build 2022-06-23 07:13:54.997451604 +0900 @@@@ -64,4 +64,13 @@@@ d11334 3 a11336 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build --- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build 2022-06-23 07:13:54.991818116 +0900 d11356 2 a11357 11 DEFINES["_GNU_SOURCE"] = True @@@@ -117,7 +120,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -129,7 +132,7 @@@@ d11366 3 a11368 3 @@@@ -151,4 +154,13 @@@@ "-msse2" ] d11380 3 a11382 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/module_api_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/module_api_gn/moz.build --- third_party/libwebrtc/modules/module_api_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/module_api_gn/moz.build 2022-06-23 07:13:54.942842265 +0900 d11402 2 a11403 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d11412 3 a11414 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d11426 3 a11428 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/module_api_public_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/module_api_public_gn/moz.build --- third_party/libwebrtc/modules/module_api_public_gn/moz.build 2022-06-17 06:35:06.000000000 +0900 _+++ third_party/libwebrtc/modules/module_api_public_gn/moz.build 2022-06-23 07:13:54.945679292 +0900 d11448 2 a11449 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d11458 3 a11460 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d11472 3 a11474 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/module_fec_api_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/module_fec_api_gn/moz.build --- third_party/libwebrtc/modules/module_fec_api_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build 2022-06-23 07:13:54.830034319 +0900 d11494 2 a11495 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d11504 3 a11506 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d11518 3 a11520 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build --- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build 2022-06-17 06:35:23.000000000 +0900 _+++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build 2022-06-23 07:13:54.832886815 +0900 d11540 2 a11541 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d11550 3 a11552 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d11564 3 a11566 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build --- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build 2022-06-23 07:13:54.831465482 +0900 d11586 2 a11587 11 DEFINES["_GNU_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -183,7 +186,7 @@@@ d11596 3 a11598 3 @@@@ -215,4 +218,13 @@@@ "-msse2" ] d11610 3 a11612 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build --- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build 2022-06-23 07:13:54.998901241 +0900 d11632 2 a11633 11 DEFINES["_GNU_SOURCE"] = True @@@@ -173,7 +176,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -189,7 +192,7 @@@@ d11642 3 a11644 3 @@@@ -221,4 +224,13 @@@@ "-msse2" ] d11656 3 a11658 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build --- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build 2022-06-23 07:13:54.864433701 +0900 d11678 2 a11679 11 DEFINES["_GNU_SOURCE"] = True @@@@ -203,7 +206,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -219,7 +222,7 @@@@ d11688 3 a11690 3 @@@@ -251,4 +254,13 @@@@ "-msse2" ] d11702 3 a11704 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build --- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build 2022-06-23 07:13:54.862939631 +0900 d11724 2 a11725 11 DEFINES["_GNU_SOURCE"] = True @@@@ -215,7 +218,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -231,7 +234,7 @@@@ d11734 3 a11736 3 @@@@ -263,4 +266,13 @@@@ "-msse2" ] d11748 3 a11750 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build --- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build 2022-06-23 07:13:54.865865094 +0900 d11770 2 a11771 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d11780 3 a11782 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d11794 3 a11796 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build --- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build 2022-06-23 07:13:54.852894454 +0900 d11816 2 a11817 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d11826 3 a11828 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d11840 3 a11842 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build --- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build 2022-06-23 07:13:54.851469683 +0900 d11862 2 a11863 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d11872 3 a11874 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d11886 3 a11888 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build --- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build 2022-06-17 06:35:26.000000000 +0900 _+++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build 2022-06-23 07:13:54.850045134 +0900 d11908 2 a11909 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d11918 3 a11920 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d11932 3 a11934 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/utility/utility_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/utility/utility_gn/moz.build --- third_party/libwebrtc/modules/utility/utility_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build 2022-06-23 07:13:54.944272706 +0900 d11954 2 a11955 11 DEFINES["_GNU_SOURCE"] = True @@@@ -165,7 +168,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -181,7 +184,7 @@@@ d11964 3 a11966 3 @@@@ -213,4 +216,13 @@@@ "-msse2" ] d11978 3 a11980 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build --- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build 2022-06-23 07:13:54.828629957 +0900 d12000 2 a12001 11 DEFINES["_GNU_SOURCE"] = True @@@@ -179,7 +182,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -195,7 +198,7 @@@@ d12010 3 a12012 3 @@@@ -223,4 +226,13 @@@@ "-msse2" ] d12024 3 a12026 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build --- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build 2022-06-23 07:13:54.827186642 +0900 d12046 2 a12047 11 DEFINES["_GNU_SOURCE"] = True @@@@ -166,7 +169,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -182,7 +185,7 @@@@ d12056 3 a12058 3 @@@@ -214,4 +217,13 @@@@ "-msse2" ] d12070 3 a12072 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build --- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build 2022-06-23 07:13:54.822919805 +0900 d12092 2 a12093 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d12102 3 a12104 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d12116 3 a12118 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build --- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build 2022-06-23 07:13:54.825757313 +0900 d12138 2 a12139 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d12148 3 a12150 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d12162 3 a12164 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build --- third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build 2022-06-23 07:13:54.815759455 +0900 d12184 2 a12185 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d12194 3 a12196 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d12208 3 a12210 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build --- third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build 2022-06-23 07:13:54.817195276 +0900 d12230 2 a12231 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d12240 3 a12242 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d12254 3 a12256 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build --- third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build 2022-06-17 06:35:15.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build 2022-06-23 07:13:54.814328553 +0900 d12276 2 a12277 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d12286 3 a12288 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d12300 3 a12302 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build --- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build 2022-06-23 07:13:54.820065806 +0900 d12322 2 a12323 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d12332 3 a12334 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d12346 3 a12348 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build --- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build 2022-06-23 07:13:54.807129541 +0900 d12368 2 a12369 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d12378 3 a12380 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d12392 3 a12394 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build --- third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build 2022-06-23 07:13:54.818632510 +0900 d12414 2 a12415 11 DEFINES["_GNU_SOURCE"] = True @@@@ -161,7 +164,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -177,7 +180,7 @@@@ d12424 3 a12426 3 @@@@ -209,4 +212,13 @@@@ "-msse2" ] d12438 3 a12440 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build --- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build 2022-06-23 07:13:54.802813041 +0900 d12460 2 a12461 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d12470 3 a12472 3 @@@@ -211,4 +214,13 @@@@ "-msse2" ] d12484 3 a12486 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build --- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build 2022-06-23 07:13:54.811461911 +0900 d12506 2 a12507 11 DEFINES["_GNU_SOURCE"] = True @@@@ -182,7 +185,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -198,7 +201,7 @@@@ d12516 3 a12518 3 @@@@ -230,4 +233,13 @@@@ "-msse2" ] d12530 3 a12532 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build --- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build 2022-06-23 07:13:54.805705341 +0900 d12552 2 a12553 11 DEFINES["_GNU_SOURCE"] = True @@@@ -171,7 +174,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -187,7 +190,7 @@@@ d12562 3 a12564 3 @@@@ -219,4 +222,13 @@@@ "-msse2" ] d12576 3 a12578 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build 2022-06-23 07:13:54.808566304 +0900 d12598 2 a12599 11 DEFINES["_GNU_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -183,7 +186,7 @@@@ d12608 3 a12610 3 @@@@ -215,4 +218,13 @@@@ "-msse2" ] d12622 3 a12624 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build 2022-06-23 07:13:54.804253681 +0900 d12644 2 a12645 11 DEFINES["_GNU_SOURCE"] = True @@@@ -165,7 +168,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -181,7 +184,7 @@@@ d12654 3 a12656 3 @@@@ -213,4 +216,13 @@@@ "-msse2" ] d12668 3 a12670 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build 2022-06-17 06:35:15.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build 2022-06-23 07:13:54.821496357 +0900 d12690 2 a12691 11 DEFINES["_GNU_SOURCE"] = True @@@@ -166,7 +169,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -182,7 +185,7 @@@@ d12700 3 a12702 3 @@@@ -214,4 +217,13 @@@@ "-msse2" ] d12714 3 a12716 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build 2022-06-23 07:13:54.812899144 +0900 d12736 2 a12737 11 DEFINES["_GNU_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -183,7 +186,7 @@@@ d12746 3 a12748 3 @@@@ -215,4 +218,13 @@@@ "-msse2" ] d12760 3 a12762 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build 2022-06-23 07:13:54.824351879 +0900 d12782 2 a12783 11 DEFINES["_GNU_SOURCE"] = True @@@@ -164,7 +167,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -180,7 +183,7 @@@@ d12792 3 a12794 3 @@@@ -212,4 +215,13 @@@@ "-msse2" ] d12806 3 a12808 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build --- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build 2022-06-23 07:13:54.810003056 +0900 d12828 2 a12829 11 DEFINES["_GNU_SOURCE"] = True @@@@ -163,7 +166,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -179,7 +182,7 @@@@ d12838 3 a12840 3 @@@@ -211,4 +214,13 @@@@ "-msse2" ] d12852 3 a12854 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build --- third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build 2022-06-23 07:13:54.872987242 +0900 d12874 2 a12875 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d12884 3 a12886 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d12898 3 a12900 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build --- third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build 2022-06-23 07:13:54.871584463 +0900 d12920 2 a12921 11 DEFINES["_GNU_SOURCE"] = True @@@@ -168,7 +171,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -184,7 +187,7 @@@@ d12930 3 a12932 3 @@@@ -216,4 +219,13 @@@@ "-msse2" ] d12944 4 a12947 4 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build --- third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build 2022-06-23 07:13:54.874379732 +0900 @@@@ -65,7 +65,7 @@@@ d12956 1 a12956 1 @@@@ -73,7 +73,10 @@@@ a12958 1 DEFINES["WEBRTC_ARCH_ARM64"] = True d12967 1 a12967 10 @@@@ -131,7 +134,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -143,7 +146,7 @@@@ d12976 1 a12976 1 @@@@ -159,4 +162,13 @@@@ d12990 3 a12992 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build firefox-102.0/third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build --- third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn/moz.build 2022-06-23 07:13:54.870152148 +0900 a13014 9 DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -164,7 +167,7 @@@@ d13022 1 a13022 1 @@@@ -210,4 +213,13 @@@@ d13036 5 a13040 5 diff -ur firefox-102.0.orig/third_party/libwebrtc/moz.build firefox-102.0/third_party/libwebrtc/moz.build --- third_party/libwebrtc/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/moz.build 2022-06-23 07:16:39.729659012 +0900 @@@@ -384,7 +384,7 @@@@ "/third_party/libwebrtc/sdk/helpers_objc_gn" d13043 2 a13044 2 -if CONFIG["OS_TARGET"] == "Linux": +if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD": d13048 1 a13048 1 @@@@ -505,7 +505,7 @@@@ d13052 18 d13074 2 a13075 2 "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", @@@@ -515,7 +515,7 @@@@ d13083 4 a13086 4 "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build --- third_party/libwebrtc/rtc_base/atomicops_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/atomicops_gn/moz.build 2022-06-23 07:13:55.069742803 +0900 d13106 2 a13107 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d13116 3 a13118 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d13130 3 a13132 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build --- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build 2022-06-23 07:13:55.000328136 +0900 d13152 2 a13153 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13162 3 a13164 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13176 3 a13178 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/checks_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/checks_gn/moz.build --- third_party/libwebrtc/rtc_base/checks_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build 2022-06-23 07:13:55.093316305 +0900 d13198 2 a13199 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d13208 3 a13210 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d13222 3 a13224 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build --- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build 2022-06-23 07:13:55.056974212 +0900 d13244 2 a13245 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d13254 3 a13256 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d13268 3 a13270 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build --- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build 2022-06-23 07:13:55.042833550 +0900 d13290 2 a13291 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d13300 3 a13302 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d13314 3 a13316 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build --- third_party/libwebrtc/rtc_base/deprecation_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/deprecation_gn/moz.build 2022-06-23 07:13:55.054138237 +0900 d13336 2 a13337 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d13346 3 a13348 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d13360 3 a13362 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build --- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build 2022-06-23 07:13:55.068341357 +0900 d13382 2 a13383 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d13392 3 a13394 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d13406 3 a13408 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build 2022-06-23 07:13:55.024437652 +0900 d13428 2 a13429 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13438 3 a13440 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13452 3 a13454 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build 2022-06-23 07:13:55.023020466 +0900 d13474 2 a13475 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13484 3 a13486 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13498 3 a13500 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build 2022-06-23 07:13:55.013056251 +0900 d13520 2 a13521 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13530 3 a13532 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13544 3 a13546 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build 2022-06-23 07:13:55.027286882 +0900 d13566 2 a13567 11 DEFINES["_GNU_SOURCE"] = True @@@@ -156,7 +159,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -172,7 +175,7 @@@@ d13576 3 a13578 3 @@@@ -204,4 +207,13 @@@@ "-msse2" ] d13590 3 a13592 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build 2022-06-23 07:13:55.017327877 +0900 d13612 2 a13613 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13622 3 a13624 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13636 3 a13638 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build 2022-06-23 07:13:55.021602077 +0900 d13658 2 a13659 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13668 3 a13670 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13682 3 a13684 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build 2022-06-17 06:35:13.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build 2022-06-23 07:13:55.025864676 +0900 d13704 2 a13705 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13714 3 a13716 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13728 3 a13730 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build 2022-06-23 07:13:55.020180714 +0900 d13750 2 a13751 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13760 3 a13762 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13774 3 a13776 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build 2022-06-23 07:13:55.010221297 +0900 d13796 2 a13797 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13806 3 a13808 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13820 3 a13822 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build 2022-06-23 07:13:55.015906212 +0900 d13842 2 a13843 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13852 3 a13854 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13866 3 a13868 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build 2022-06-23 07:13:55.018756825 +0900 d13888 2 a13889 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13898 3 a13900 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13912 3 a13914 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build 2022-06-23 07:13:55.011638664 +0900 d13934 2 a13935 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13944 3 a13946 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d13958 3 a13960 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build --- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build 2022-06-23 07:13:55.014479418 +0900 d13980 2 a13981 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d13990 3 a13992 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d14004 3 a14006 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build --- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build 2022-06-17 06:35:15.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build 2022-06-23 07:13:55.037224287 +0900 d14026 2 a14027 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d14036 3 a14038 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d14050 3 a14052 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build --- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build 2022-06-23 07:13:55.074050296 +0900 d14072 2 a14073 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d14082 3 a14084 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d14096 3 a14098 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/logging_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/logging_gn/moz.build --- third_party/libwebrtc/rtc_base/logging_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build 2022-06-23 07:13:55.004577440 +0900 d14118 2 a14119 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d14128 3 a14130 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d14142 3 a14144 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build --- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build 2022-06-23 07:13:55.007394059 +0900 d14164 2 a14165 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d14174 3 a14176 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d14188 3 a14190 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build --- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build 2022-06-23 07:13:55.091896193 +0900 d14210 2 a14211 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d14220 3 a14222 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d14234 3 a14236 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build --- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build 2022-06-23 07:13:55.005992492 +0900 d14256 2 a14257 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d14266 3 a14268 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d14280 3 a14282 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build --- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build 2022-06-23 07:13:55.055557878 +0900 d14302 2 a14303 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d14312 3 a14314 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d14326 3 a14328 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build --- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build 2022-06-23 07:13:55.032952951 +0900 d14348 2 a14349 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d14358 3 a14360 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d14372 3 a14374 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build --- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build 2022-06-23 07:13:55.008803931 +0900 d14394 2 a14395 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d14404 3 a14406 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d14418 3 a14420 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build --- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build 2022-06-23 07:13:55.028706663 +0900 d14440 2 a14441 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d14450 3 a14452 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d14464 3 a14466 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/refcount_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/refcount_gn/moz.build --- third_party/libwebrtc/rtc_base/refcount_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build 2022-06-23 07:13:55.049909211 +0900 d14486 2 a14487 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d14496 3 a14498 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d14510 3 a14512 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build --- third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build 2022-06-23 07:13:55.035816999 +0900 d14532 2 a14533 11 DEFINES["_GNU_SOURCE"] = True @@@@ -170,7 +173,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -186,7 +189,7 @@@@ d14542 3 a14544 3 @@@@ -218,4 +221,13 @@@@ "-msse2" ] d14556 3 a14558 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build --- third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build 2022-06-23 07:13:55.071208180 +0900 d14578 2 a14579 11 DEFINES["_GNU_SOURCE"] = True @@@@ -203,7 +206,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -219,7 +222,7 @@@@ d14588 3 a14590 3 @@@@ -251,4 +254,13 @@@@ "-msse2" ] d14602 3 a14604 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build --- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build 2022-06-23 07:13:55.052735207 +0900 d14624 2 a14625 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d14634 3 a14636 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d14648 3 a14650 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build --- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build 2022-06-23 07:13:55.048505941 +0900 d14670 2 a14671 11 DEFINES["_GNU_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -171,7 +174,7 @@@@ d14680 3 a14682 3 @@@@ -203,4 +206,13 @@@@ "-msse2" ] d14694 3 a14696 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build --- third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build 2022-06-23 07:13:55.003156577 +0900 d14716 2 a14717 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d14726 3 a14728 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d14740 3 a14742 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build --- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build 2022-06-23 07:13:55.051318522 +0900 d14762 2 a14763 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d14772 3 a14774 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d14786 3 a14788 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build --- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build 2022-06-23 07:13:55.038624471 +0900 d14808 2 a14809 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d14818 3 a14820 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d14832 3 a14834 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build --- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build 2022-06-23 07:13:55.040024906 +0900 d14854 2 a14855 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d14864 3 a14866 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d14878 3 a14880 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build --- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build 2022-06-17 06:35:26.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build 2022-06-23 07:13:55.058386329 +0900 d14900 2 a14901 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d14910 3 a14912 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d14924 3 a14926 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build --- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build 2022-06-23 07:13:55.075471240 +0900 d14946 2 a14947 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d14956 3 a14958 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d14970 3 a14972 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build --- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build 2022-06-23 07:13:55.062663235 +0900 d14992 2 a14993 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d15002 3 a15004 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d15016 3 a15018 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build --- third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build 2022-06-23 07:13:55.061245157 +0900 d15038 2 a15039 11 DEFINES["_GNU_SOURCE"] = True @@@@ -169,7 +172,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -185,7 +188,7 @@@@ d15048 3 a15050 3 @@@@ -217,4 +220,13 @@@@ "-msse2" ] d15062 3 a15064 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build --- third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build 2022-06-23 07:13:55.065508738 +0900 d15084 2 a15085 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d15094 3 a15096 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d15108 3 a15110 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build --- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build 2022-06-23 07:13:55.066933207 +0900 d15130 2 a15131 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d15140 3 a15142 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d15154 3 a15156 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build --- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build 2022-06-23 07:13:55.064085861 +0900 d15176 2 a15177 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d15186 3 a15188 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d15200 3 a15202 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build --- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build 2022-06-23 07:13:55.089076619 +0900 d15222 2 a15223 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d15232 3 a15234 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d15246 15 a15260 6 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build --- third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build 2022-06-17 06:35:15.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build 2022-06-23 07:13:55.086276902 +0900 @@@@ -57,4 +57,13 @@@@ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" DEFINES["_DEBUG"] = True d15272 4 a15275 4 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build --- third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build 2022-06-23 07:13:55.082291943 +0900 @@@@ -54,4 +54,13 @@@@ d15289 3 a15291 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build --- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build 2022-06-23 07:13:55.081098987 +0900 d15311 2 a15312 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d15321 3 a15323 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d15335 3 a15337 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build --- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build 2022-06-23 07:13:55.087673770 +0900 d15357 2 a15358 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d15367 3 a15369 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d15381 3 a15383 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build --- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build 2022-06-17 06:35:26.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build 2022-06-23 07:13:55.083686597 +0900 d15403 2 a15404 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d15413 3 a15415 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d15427 3 a15429 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build --- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build 2022-06-23 07:13:55.078271608 +0900 d15449 2 a15450 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d15459 3 a15461 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d15473 3 a15475 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build --- third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build 2022-06-17 06:35:14.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build 2022-06-23 07:13:55.085099665 +0900 d15495 2 a15496 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d15505 3 a15507 3 @@@@ -183,4 +186,13 @@@@ "android_support" ] d15519 3 a15521 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build --- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build 2022-06-23 07:13:55.090478446 +0900 d15541 2 a15542 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d15551 3 a15553 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d15565 3 a15567 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build --- third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build 2022-06-23 07:13:55.079679517 +0900 d15587 2 a15588 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d15597 3 a15599 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d15611 3 a15613 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build --- third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build 2022-06-23 07:13:55.045661159 +0900 d15633 2 a15634 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d15643 3 a15645 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d15657 3 a15659 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build --- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build 2022-06-23 07:13:55.047085559 +0900 d15679 2 a15680 11 DEFINES["_GNU_SOURCE"] = True @@@@ -160,7 +163,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -176,7 +179,7 @@@@ d15689 3 a15691 3 @@@@ -208,4 +211,13 @@@@ "-msse2" ] d15703 3 a15705 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build --- third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build 2022-06-23 07:13:55.044241619 +0900 d15725 2 a15726 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d15735 3 a15737 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d15749 3 a15751 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build --- third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build 2022-06-17 06:35:07.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build 2022-06-23 07:13:55.030121685 +0900 d15771 2 a15772 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d15781 3 a15783 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d15795 3 a15797 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build --- third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build 2022-06-23 07:13:55.031538961 +0900 d15817 2 a15818 11 DEFINES["_GNU_SOURCE"] = True @@@@ -145,7 +148,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -161,7 +164,7 @@@@ d15827 3 a15829 3 @@@@ -193,4 +196,13 @@@@ "-msse2" ] d15841 3 a15843 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build --- third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build 2022-06-23 07:13:55.076871955 +0900 d15863 2 a15864 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d15873 3 a15875 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d15887 3 a15889 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build --- third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build 2022-06-23 07:13:55.072645233 +0900 d15909 2 a15910 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d15919 3 a15921 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d15933 3 a15935 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build --- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build 2022-06-23 07:13:55.059808675 +0900 d15955 2 a15956 11 DEFINES["_GNU_SOURCE"] = True @@@@ -155,7 +158,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -171,7 +174,7 @@@@ d15965 3 a15967 3 @@@@ -203,4 +206,13 @@@@ "-msse2" ] d15979 3 a15981 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build --- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build 2022-06-23 07:13:55.041419459 +0900 d16001 2 a16002 11 DEFINES["_GNU_SOURCE"] = True @@@@ -137,7 +140,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -153,7 +156,7 @@@@ d16011 3 a16013 3 @@@@ -175,4 +178,13 @@@@ "android_support" ] d16025 3 a16027 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build --- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build 2022-06-23 07:13:55.001738088 +0900 d16047 2 a16048 11 DEFINES["_GNU_SOURCE"] = True @@@@ -141,7 +144,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -157,7 +160,7 @@@@ d16057 3 a16059 3 @@@@ -179,4 +182,13 @@@@ "android_support" ] d16071 3 a16073 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build firefox-102.0/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build --- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build 2022-06-23 07:13:55.034369596 +0900 d16093 2 a16094 11 DEFINES["_GNU_SOURCE"] = True @@@@ -149,7 +152,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -165,7 +168,7 @@@@ d16103 3 a16105 3 @@@@ -197,4 +200,13 @@@@ "-msse2" ] d16117 4 a16120 4 diff -ur firefox-102.0.orig/third_party/libwebrtc/sdk/base_objc_gn/moz.build firefox-102.0/third_party/libwebrtc/sdk/base_objc_gn/moz.build --- third_party/libwebrtc/sdk/base_objc_gn/moz.build 2022-06-17 06:35:42.000000000 +0900 _+++ third_party/libwebrtc/sdk/base_objc_gn/moz.build 2022-06-23 07:13:54.799941789 +0900 @@@@ -72,4 +72,13 @@@@ d16134 4 a16137 4 diff -ur firefox-102.0.orig/third_party/libwebrtc/sdk/helpers_objc_gn/moz.build firefox-102.0/third_party/libwebrtc/sdk/helpers_objc_gn/moz.build --- third_party/libwebrtc/sdk/helpers_objc_gn/moz.build 2022-06-17 06:35:44.000000000 +0900 _+++ third_party/libwebrtc/sdk/helpers_objc_gn/moz.build 2022-06-23 07:13:54.798741730 +0900 @@@@ -67,4 +67,13 @@@@ d16151 3 a16153 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build firefox-102.0/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build --- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build 2022-06-23 07:13:54.784679505 +0900 d16173 2 a16174 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d16183 3 a16185 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d16197 3 a16199 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build firefox-102.0/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build --- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build 2022-06-17 06:35:30.000000000 +0900 _+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build 2022-06-23 07:13:54.786105537 +0900 d16219 2 a16220 11 DEFINES["_GNU_SOURCE"] = True @@@@ -153,7 +156,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -169,7 +172,7 @@@@ d16229 3 a16231 3 @@@@ -201,4 +204,13 @@@@ "-msse2" ] d16243 3 a16245 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build firefox-102.0/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build --- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build 2022-06-17 06:35:30.000000000 +0900 _+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build 2022-06-23 07:13:54.783249044 +0900 d16265 2 a16266 11 DEFINES["_GNU_SOURCE"] = True @@@@ -174,7 +177,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -190,7 +193,7 @@@@ d16275 3 a16277 3 @@@@ -222,4 +225,13 @@@@ "-msse2" ] d16289 3 a16291 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build firefox-102.0/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build --- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build 2022-06-23 07:13:54.547277002 +0900 d16311 2 a16312 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d16321 3 a16323 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d16335 3 a16337 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build 2022-06-17 06:35:35.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build 2022-06-23 07:13:54.714611863 +0900 d16347 1 a16347 1 @@@@ -105,7 +105,7 @@@@ d16356 3 a16358 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16370 3 a16372 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build 2022-06-23 07:13:54.713275158 +0900 d16382 1 a16382 1 @@@@ -105,7 +105,7 @@@@ d16391 3 a16393 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16405 3 a16407 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build 2022-06-17 06:35:08.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build 2022-06-23 07:13:54.722549670 +0900 d16417 1 a16417 1 @@@@ -105,7 +105,7 @@@@ d16426 3 a16428 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16440 3 a16442 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build 2022-06-23 07:13:54.721235187 +0900 d16452 1 a16452 1 @@@@ -105,7 +105,7 @@@@ d16461 3 a16463 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16475 3 a16477 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build 2022-06-23 07:13:54.719916315 +0900 d16487 1 a16487 1 @@@@ -105,7 +105,7 @@@@ d16496 3 a16498 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16510 3 a16512 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build 2022-06-23 07:13:54.717253604 +0900 d16522 1 a16522 1 @@@@ -105,7 +105,7 @@@@ d16531 3 a16533 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16545 3 a16547 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build 2022-06-23 07:13:54.718594117 +0900 d16557 1 a16557 1 @@@@ -113,7 +113,7 @@@@ d16566 3 a16568 3 @@@@ -145,4 +145,13 @@@@ "-msse2" ] d16580 3 a16582 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build 2022-06-23 07:13:54.723878501 +0900 d16592 1 a16592 1 @@@@ -113,7 +113,7 @@@@ d16601 3 a16603 3 @@@@ -145,4 +145,13 @@@@ "-msse2" ] d16615 3 a16617 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build 2022-06-17 06:35:08.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build 2022-06-23 07:13:54.729230221 +0900 d16627 1 a16627 1 @@@@ -105,7 +105,7 @@@@ d16636 3 a16638 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16650 3 a16652 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build 2022-06-23 07:13:54.727909766 +0900 d16662 1 a16662 1 @@@@ -105,7 +105,7 @@@@ d16671 3 a16673 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16685 3 a16687 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build 2022-06-23 07:13:54.731869007 +0900 d16697 1 a16697 1 @@@@ -105,7 +105,7 @@@@ d16706 3 a16708 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16720 3 a16722 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build 2022-06-17 06:35:19.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build 2022-06-23 07:13:54.730550455 +0900 d16732 1 a16732 1 @@@@ -105,7 +105,7 @@@@ d16741 3 a16743 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16755 3 a16757 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build 2022-06-17 06:35:33.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build 2022-06-23 07:13:54.741163386 +0900 d16767 1 a16767 1 @@@@ -105,7 +105,7 @@@@ d16776 3 a16778 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16790 3 a16792 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build 2022-06-17 06:35:21.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build 2022-06-23 07:13:54.711954242 +0900 d16802 1 a16802 1 @@@@ -105,7 +105,7 @@@@ d16811 3 a16813 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d16825 3 a16827 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build 2022-06-23 07:13:54.739847450 +0900 d16837 1 a16837 1 @@@@ -113,7 +113,7 @@@@ d16846 3 a16848 3 @@@@ -145,4 +145,13 @@@@ "-msse2" ] d16860 3 a16862 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build 2022-06-23 07:13:54.725225014 +0900 d16872 1 a16872 1 @@@@ -115,7 +115,7 @@@@ d16881 3 a16883 3 @@@@ -147,4 +147,13 @@@@ "-msse2" ] d16895 3 a16897 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build 2022-06-17 06:35:28.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build 2022-06-23 07:13:54.726584031 +0900 d16907 1 a16907 1 @@@@ -128,7 +128,7 @@@@ d16916 3 a16918 3 @@@@ -160,4 +160,13 @@@@ "-msse2" ] d16930 3 a16932 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build 2022-06-17 06:35:44.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build 2022-06-23 07:13:54.733208597 +0900 d16942 1 a16942 1 @@@@ -113,7 +113,7 @@@@ d16951 3 a16953 3 @@@@ -145,4 +145,13 @@@@ "-msse2" ] d16965 3 a16967 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build 2022-06-23 07:13:54.737184209 +0900 d16977 1 a16977 1 @@@@ -113,7 +113,7 @@@@ d16986 3 a16988 3 @@@@ -145,4 +145,13 @@@@ "-msse2" ] d17000 3 a17002 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build 2022-06-17 06:35:29.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build 2022-06-23 07:13:54.735842784 +0900 d17012 1 a17012 1 @@@@ -105,7 +105,7 @@@@ d17021 3 a17023 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d17035 3 a17037 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build 2022-06-17 06:35:27.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build 2022-06-23 07:13:54.734529864 +0900 d17047 1 a17047 1 @@@@ -105,7 +105,7 @@@@ d17056 3 a17058 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d17070 3 a17072 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build 2022-06-17 06:35:12.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build 2022-06-23 07:13:54.738507198 +0900 d17082 1 a17082 1 @@@@ -105,7 +105,7 @@@@ d17091 3 a17093 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d17105 3 a17107 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build --- third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build 2022-06-23 07:13:54.715929833 +0900 d17117 1 a17117 1 @@@@ -105,7 +105,7 @@@@ d17126 3 a17128 3 @@@@ -127,4 +127,13 @@@@ "android_support" ] d17140 3 a17142 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build --- third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build 2022-06-17 06:35:19.000000000 +0900 _+++ third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build 2022-06-23 07:13:54.709260714 +0900 d17152 1 a17152 10 @@@@ -117,7 +117,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -133,7 +133,7 @@@@ d17161 3 a17163 3 @@@@ -165,4 +165,13 @@@@ "-msse2" ] d17175 3 a17177 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build firefox-102.0/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build --- third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build 2022-06-23 07:13:54.710633818 +0900 d17187 1 a17187 10 @@@@ -116,7 +116,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -132,7 +132,7 @@@@ d17196 3 a17198 3 @@@@ -164,4 +164,13 @@@@ "-msse2" ] d17210 3 a17212 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build firefox-102.0/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build --- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build 2022-06-23 07:13:54.550403502 +0900 d17232 2 a17233 11 DEFINES["_GNU_SOURCE"] = True @@@@ -169,7 +172,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -185,7 +188,7 @@@@ d17242 3 a17244 3 @@@@ -217,4 +220,13 @@@@ "-msse2" ] d17256 3 a17258 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build firefox-102.0/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build --- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build 2022-06-17 06:35:34.000000000 +0900 _+++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build 2022-06-23 07:13:54.553314899 +0900 d17278 2 a17279 11 DEFINES["_GNU_SOURCE"] = True @@@@ -162,7 +165,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -178,7 +181,7 @@@@ d17288 3 a17290 3 @@@@ -210,4 +213,13 @@@@ "-msse2" ] d17302 3 a17304 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/video/video_gn/moz.build firefox-102.0/third_party/libwebrtc/video/video_gn/moz.build --- third_party/libwebrtc/video/video_gn/moz.build 2022-06-17 06:35:20.000000000 +0900 _+++ third_party/libwebrtc/video/video_gn/moz.build 2022-06-23 07:13:54.548902138 +0900 d17324 2 a17325 11 DEFINES["_GNU_SOURCE"] = True @@@@ -191,7 +194,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -207,7 +210,7 @@@@ d17334 3 a17336 3 @@@@ -239,4 +242,13 @@@@ "-msse2" ] d17348 3 a17350 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build firefox-102.0/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build --- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build 2022-06-17 06:35:19.000000000 +0900 _+++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build 2022-06-23 07:13:54.551880330 +0900 d17370 2 a17371 11 DEFINES["_GNU_SOURCE"] = True @@@@ -167,7 +170,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -183,7 +186,7 @@@@ d17380 3 a17382 3 @@@@ -215,4 +218,13 @@@@ "-msse2" ] d17394 3 a17396 3 diff -ur firefox-102.0.orig/third_party/libwebrtc/webrtc_gn/moz.build firefox-102.0/third_party/libwebrtc/webrtc_gn/moz.build --- third_party/libwebrtc/webrtc_gn/moz.build 2022-06-17 06:35:43.000000000 +0900 _+++ third_party/libwebrtc/webrtc_gn/moz.build 2022-06-23 07:13:54.801379003 +0900 d17416 2 a17417 11 DEFINES["_GNU_SOURCE"] = True @@@@ -172,7 +175,7 @@@@ DEFINES["_FORTIFY_SOURCE"] = "2" -if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux": +if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"): DEFINES["_FORTIFY_SOURCE"] = "2" @@@@ -188,7 +191,7 @@@@ d17426 2 a17427 2 @@@@ -221,4 +224,13 @@@@ "android_support" @