git: 7a4368ba4309 - main - www/tor-browser: Update 15.0a2 => 15.0a3

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 23 Sep 2025 03:27:19 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7a4368ba43090fcf259ea5ae9ad2a547e668431f

commit 7a4368ba43090fcf259ea5ae9ad2a547e668431f
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2025-09-23 03:25:45 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-09-23 03:25:45 +0000

    www/tor-browser: Update 15.0a2 => 15.0a3
    
    Changelog:
    https://blog.torproject.org/new-alpha-release-tor-browser-150a3/
    
    PR:     289771
    MFH:    2025Q3
---
 www/tor-browser/Makefile                           |  8 +++----
 www/tor-browser/distinfo                           | 14 ++++++------
 www/tor-browser/files/patch-bug1874059             | 25 ----------------------
 .../files/patch-toolkit_xre_nsEmbedFunctions.cpp   | 17 ---------------
 4 files changed, 11 insertions(+), 53 deletions(-)

diff --git a/www/tor-browser/Makefile b/www/tor-browser/Makefile
index 3a8fc4e7a8c2..87e126e11e70 100644
--- a/www/tor-browser/Makefile
+++ b/www/tor-browser/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	tor-browser
-DISTVERSION=	15.0a2
+DISTVERSION=	15.0a3
 CATEGORIES=	www net security wayland
-TAG_BASE=	948fad2286cb59fe168a949009b67d986fd9c153
-TAG_TOR=	ec17987af29cb2614d114789996a3b4a09cbc3e7
+TAG_BASE=	7a4673ab420d7c52cd3fa7366d0d9cdaa5a37937
+TAG_TOR=	db5e90248e74338ce72ff118bdb749fea6ea2606
 MASTER_SITES=	TOR \
 		LOCAL/vvd \
 		https://build-sources.tbb.torproject.org/:source1 \
@@ -17,7 +17,7 @@ MASTER_SITES=	TOR \
 		LOCAL/vvd:source5
 MASTER_SITE_SUBDIR=	torbrowser/${DISTVERSION}/:DEFAULT \
 			download/releases/:source3
-DISTNAME=	src-firefox-tor-browser-140.2.0esr-15.0-1-build3
+DISTNAME=	src-firefox-tor-browser-140.3.0esr-15.0-1-build3
 MANUAL=		manual_215922.zip
 NOSCRIPT=	noscript-13.0.9.xpi
 DISTFILES=	${DISTNAME}.tar.xz \
diff --git a/www/tor-browser/distinfo b/www/tor-browser/distinfo
index 83d48d660499..3fcc82235447 100644
--- a/www/tor-browser/distinfo
+++ b/www/tor-browser/distinfo
@@ -1,15 +1,15 @@
-TIMESTAMP = 1756751668
-SHA256 (src-firefox-tor-browser-140.2.0esr-15.0-1-build3.tar.xz) = 7bfe41e4a0f384069b876e3556ff04f83c93a14cf715df10704987fdbe7a1083
-SIZE (src-firefox-tor-browser-140.2.0esr-15.0-1-build3.tar.xz) = 691093416
+TIMESTAMP = 1758569239
+SHA256 (src-firefox-tor-browser-140.3.0esr-15.0-1-build3.tar.xz) = aec327cd07e161cf0606352a71be1db1f649a33da4519387a93840083d63ab57
+SIZE (src-firefox-tor-browser-140.3.0esr-15.0-1-build3.tar.xz) = 691334928
 SHA256 (manual_215922.zip) = b5ed703f54d52e9f197320f3698e936d585a3fed23cc4f9fbf59edce2869f885
 SIZE (manual_215922.zip) = 28305786
 SHA256 (fonts-3--4348e1.tar.zst) = 7fbbecece6de777f196982f6eb567970a6d8e7ac2bf5b1ad6b90e1ea36374032
 SIZE (fonts-3--4348e1.tar.zst) = 27441580
 SHA256 (noscript-13.0.9.xpi) = 525ab61aff21f67d10c3e20965a86ed479631549908a658f54692adc47d771f5
 SIZE (noscript-13.0.9.xpi) = 994397
-SHA256 (tpo-translation-948fad2286cb59fe168a949009b67d986fd9c153_GL0.tar.gz) = d6ec26c3d942b147d661c43eb3055857e0f65b32a94f80ebf970a665ad7e5b8a
-SIZE (tpo-translation-948fad2286cb59fe168a949009b67d986fd9c153_GL0.tar.gz) = 961619
-SHA256 (tpo-translation-ec17987af29cb2614d114789996a3b4a09cbc3e7_GL0.tar.gz) = 98322858c27f9da141bec04a577ab60c4e1f6ca65ce6390a153e01017df720cf
-SIZE (tpo-translation-ec17987af29cb2614d114789996a3b4a09cbc3e7_GL0.tar.gz) = 2850321
+SHA256 (tpo-translation-7a4673ab420d7c52cd3fa7366d0d9cdaa5a37937_GL0.tar.gz) = bdf9d2e546cc183331c9c8ca2b4f8b7d3c9399c0454b9fffcfd7282b7a90b6b7
+SIZE (tpo-translation-7a4673ab420d7c52cd3fa7366d0d9cdaa5a37937_GL0.tar.gz) = 962329
+SHA256 (tpo-translation-db5e90248e74338ce72ff118bdb749fea6ea2606_GL0.tar.gz) = da2787fcbb953c1772d193d60b4633afce8bd34321e9209e83760bc58c0df901
+SIZE (tpo-translation-db5e90248e74338ce72ff118bdb749fea6ea2606_GL0.tar.gz) = 2897151
 SHA256 (mozilla-l10n-firefox-l10n-468bb10_GH0.tar.gz) = f4fa857e29371568c41c9c8a3298c086ffc4df73085a93ec6a1cc6be8a17a3e3
 SIZE (mozilla-l10n-firefox-l10n-468bb10_GH0.tar.gz) = 71046393
diff --git a/www/tor-browser/files/patch-bug1874059 b/www/tor-browser/files/patch-bug1874059
deleted file mode 100644
index 3fa954ef9def..000000000000
--- a/www/tor-browser/files/patch-bug1874059
+++ /dev/null
@@ -1,25 +0,0 @@
-commit 56c888446600991803fd92d668349101ad4bf160
-Author: Christoph Moench-Tegeder <cmt@burggraben.net>
-Date:   Tue Feb 6 22:51:27 2024 +0100
-
-    switch to -fvisibility flags
-    
-    this fixes linkage with llvm18 (which does not like the former
-    approach via the #pragma in gcc_hidden.h
-    
-    PR: 276746
-    Submitted by: dim@
-
-diff --git build/moz.configure/toolchain.configure build/moz.configure/toolchain.configure
-index d08b748db250..4696f69153f6 100644
---- build/moz.configure/toolchain.configure
-+++ build/moz.configure/toolchain.configure
-@@ -2186,7 +2186,7 @@ set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi)
- @depends(target, build_environment)
- def visibility_flags(target, env):
-     if target.os != "WINNT":
--        if target.kernel == "Darwin":
-+        if target.kernel == "Darwin" or target.kernel == "FreeBSD":
-             return ("-fvisibility=hidden", "-fvisibility-inlines-hidden")
-         return (
-             "-I%s/system_wrappers" % os.path.join(env.dist),
diff --git a/www/tor-browser/files/patch-toolkit_xre_nsEmbedFunctions.cpp b/www/tor-browser/files/patch-toolkit_xre_nsEmbedFunctions.cpp
deleted file mode 100644
index caac874012c9..000000000000
--- a/www/tor-browser/files/patch-toolkit_xre_nsEmbedFunctions.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git toolkit/xre/nsEmbedFunctions.cpp toolkit/xre/nsEmbedFunctions.cpp
-index 9ce6af94637c..44165558f7ec 100644
---- toolkit/xre/nsEmbedFunctions.cpp
-+++ toolkit/xre/nsEmbedFunctions.cpp
-@@ -360,10 +360,12 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[],
-           static_cast<CrashReporter::ProcessId>(*crashHelperPidArg);
- #endif  // defined(XP_LINUX) && !defined(MOZ_WIDGET_ANDROID)
- 
-+#if !defined(XP_FREEBSD)
-       exceptionHandlerIsSet = CrashReporter::SetRemoteExceptionHandler(
-           std::move(*crashReporterArg), crashHelperPid);
-       MOZ_ASSERT(exceptionHandlerIsSet,
-                  "Should have been able to set remote exception handler");
-+#endif
- 
-       if (!exceptionHandlerIsSet) {
-         // Bug 684322 will add better visibility into this condition