git: 8c163fde43fc - 2024Q1 - www/firefox: update to 122.0.1 (rc1)

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Mon, 05 Feb 2024 19:32:39 UTC
The branch 2024Q1 has been updated by cmt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8c163fde43fcce703bec0d729b1d5f390862fea6

commit 8c163fde43fcce703bec0d729b1d5f390862fea6
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2024-02-05 19:29:13 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2024-02-05 19:32:10 +0000

    www/firefox: update to 122.0.1 (rc1)
    
    Release Notes (soon):
      https://www.mozilla.org/en-US/firefox/122.0.1/releasenotes/
    
    also switch webrtc-camera-detection patch to upstream for better
    tracking
    
    (cherry picked from commit f40130f4782bc637ee8f7977723921724e012913)
---
 www/firefox/Makefile                                              | 6 +++---
 www/firefox/distinfo                                              | 6 +++---
 ...video__capture_video__capture__factory.cc => patch-bug1878010} | 8 ++++++--
 3 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 33f74e7aaad7..936fde1d8578 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -1,10 +1,10 @@
 PORTNAME=	firefox
-DISTVERSION=	122.0
+DISTVERSION=	122.0.1
+PORTREVISION=	3
 PORTEPOCH=	2
-PORTREVISION=	2
 CATEGORIES=	www wayland
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \
-		MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build2/source
+		MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build1/source
 DISTFILES=	${DISTNAME}.source${EXTRACT_SUFX}
 
 MAINTAINER=	gecko@FreeBSD.org
diff --git a/www/firefox/distinfo b/www/firefox/distinfo
index 8df3785b77c5..18556518ac19 100644
--- a/www/firefox/distinfo
+++ b/www/firefox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1705613320
-SHA256 (firefox-122.0.source.tar.xz) = b84815a90e147965e4c0b50599c85b1022ab0fce42105e5ef45c630dcca5dec3
-SIZE (firefox-122.0.source.tar.xz) = 531823484
+TIMESTAMP = 1707158162
+SHA256 (firefox-122.0.1.source.tar.xz) = 36f19c9a748eec2fd6d3a1594d0f1d7b715eaa1d9ed6d7eeda9db8478dcf36d6
+SIZE (firefox-122.0.1.source.tar.xz) = 533052916
diff --git a/www/firefox/files/patch-third__party_libwebrtc_modules_video__capture_video__capture__factory.cc b/www/firefox/files/patch-bug1878010
similarity index 80%
rename from www/firefox/files/patch-third__party_libwebrtc_modules_video__capture_video__capture__factory.cc
rename to www/firefox/files/patch-bug1878010
index b57030bdb636..e247f2d95d7b 100644
--- a/www/firefox/files/patch-third__party_libwebrtc_modules_video__capture_video__capture__factory.cc
+++ b/www/firefox/files/patch-bug1878010
@@ -1,6 +1,10 @@
-commit 324c4811690dd288a7bbd1378d129dc5e9d6f16b
+commit fa2a8be440397b623eab7a414c5685932176ef03
+Author: Andreas Pehrson <apehrson@mozilla.com>
+Date:   Fri Feb 2 18:43:54 2024 +0000
 
-    video capture also is implented with WEBRTC_BSD (at least on FreeBSD)
+    Bug 1878010 - Fix webrtc::VideoCaptureFactory for BSD. r=grulja,gaston,webrtc-reviewers,mjf
+    
+    Differential Revision: https://phabricator.services.mozilla.com/D200427
 
 diff --git third_party/libwebrtc/modules/video_capture/video_capture_factory.cc third_party/libwebrtc/modules/video_capture/video_capture_factory.cc
 index e085ac2df8a0..2790fbbe1cba 100644