Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (4653f5fcb68f7fa645d03c3cdd8b9976ed21df74)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (4653f5fcb68f7fa645d03c3cdd8b9976ed21df74)
  • Date: Mon, 18 May 2026 14:28:27 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

http/firefox/DEPENDS
| 2
http/firefox/DETAILS
| 4
http/firefox/HISTORY
| 5 +
http/firefox/patches/0008-bgo-816975-fix-build-on-x86.patch
| 16 ---

http/firefox/patches/0027-bgo-973544-add-cstdints-to-ipc-glue-and-woff2.patch
| 21 ++++

http/firefox/patches/0027-bmo-2033279-make-rust-simd-work-with-rust-1.95-tb.patch
| 10 --

http/firefox/patches/0028-bmo-2023597-use-wasm32-wasip1-target-for-clang-22.patch
| 38 --------

http/firefox/patches/0028-bmo-2040125-addGetSystemProxyDirect-to-libproxy-path.patch
| 47 ++++++++++
8 files changed, 76 insertions(+), 67 deletions(-)

New commits:
commit 4653f5fcb68f7fa645d03c3cdd8b9976ed21df74
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

http/firefox: version 151.0, SECURITY_PATCH++

diff --git a/http/firefox/DEPENDS b/http/firefox/DEPENDS
index c12649d..0667fbf 100755
--- a/http/firefox/DEPENDS
+++ b/http/firefox/DEPENDS
@@ -51,7 +51,7 @@ depends libwebp "--with-system-webp"
&&

depends nspr "--with-system-nspr" &&

-local NSS_BRANCH="3.122" &&
+local NSS_BRANCH="3.123" &&
if spell_ok nss &&
is_version_less "$(installed_version nss)" "${NSS_BRANCH}"; then
depends -sub "${NSS_BRANCH}" nss "--with-system-nss"
diff --git a/http/firefox/DETAILS b/http/firefox/DETAILS
index 741e22d..db87cb9 100755
--- a/http/firefox/DETAILS
+++ b/http/firefox/DETAILS
@@ -1,6 +1,6 @@
SPELL=firefox
- VERSION=150.0.3
- SECURITY_PATCH=225
+ VERSION=151.0
+ SECURITY_PATCH=226
SOURCE="${SPELL}-${VERSION}.source.tar.xz"
# Watch: http://releases.mozilla.org/pub/firefox/releases/
/releases/([0-9.]+)/

SOURCE_URL[0]="http://releases.mozilla.org/pub/${SPELL}/releases/${VERSION}/source/${SOURCE}";
diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index 7f2e675..7c3be4d 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,8 @@
+2026-05-18 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 151.0, SECURITY_PATCH++
+ * DEPENDS: nss >= 3.123
+ * patches/*, patches-for-musl/*: updated
+
2026-05-12 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 150.0.3

diff --git a/http/firefox/patches/0008-bgo-816975-fix-build-on-x86.patch
b/http/firefox/patches/0008-bgo-816975-fix-build-on-x86.patch
deleted file mode 100644
index ca63bb3..0000000
--- a/http/firefox/patches/0008-bgo-816975-fix-build-on-x86.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/modules/fdlibm/src/math_private.h
b/modules/fdlibm/src/math_private.h
-index 718a14d..68a9e88 100644
---- a/modules/fdlibm/src/math_private.h
-+++ b/modules/fdlibm/src/math_private.h
-@@ -30,7 +30,11 @@
- * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
- */
-
-+#if defined __FLT_EVAL_METHOD__ && (__FLT_EVAL_METHOD__ == 2)
-+typedef long double __double_t;
-+#else
- typedef double __double_t;
-+#endif
- typedef __double_t double_t;
- typedef float __float_t;
-
diff --git
a/http/firefox/patches/0027-bgo-973544-add-cstdints-to-ipc-glue-and-woff2.patch

b/http/firefox/patches/0027-bgo-973544-add-cstdints-to-ipc-glue-and-woff2.patch
new file mode 100644
index 0000000..5adc2a3
--- /dev/null
+++
b/http/firefox/patches/0027-bgo-973544-add-cstdints-to-ipc-glue-and-woff2.patch
@@ -0,0 +1,21 @@
+--- a/ipc/glue/SharedMemoryHandle.h 2026-05-08 09:41:05.625846466 -0400
++++ b/ipc/glue/SharedMemoryHandle.h 2026-05-08 09:40:58.170035583 -0400
+@@ -5,6 +5,7 @@
+ #ifndef mozilla_ipc_SharedMemoryHandle_h
+ #define mozilla_ipc_SharedMemoryHandle_h
+
++#include <cstdint>
+ #include <utility>
+
+ #include "mozilla/UniquePtrExtensions.h"
+--- a/modules/woff2/include/woff2/output.h 2026-04-27 09:33:07.000000000
-0400
++++ b/modules/woff2/include/woff2/output.h 2026-05-08 20:55:09.770322838
-0400
+@@ -10,6 +10,7 @@
+ #define WOFF2_WOFF2_OUT_H_
+
+ #include <algorithm>
++#include <cstdint>
+ #include <cstring>
+ #include <memory>
+ #include <string>
+
\ No newline at end of file
diff --git
a/http/firefox/patches/0027-bmo-2033279-make-rust-simd-work-with-rust-1.95-tb.patch

b/http/firefox/patches/0027-bmo-2033279-make-rust-simd-work-with-rust-1.95-tb.patch
deleted file mode 100644
index 723488b..0000000
---
a/http/firefox/patches/0027-bmo-2033279-make-rust-simd-work-with-rust-1.95-tb.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/third_party/rust/encoding_rs/src/x_user_defined.rs 2026-04-22
09:34:19.814809516 +0100
-+++ b/third_party/rust/encoding_rs/src/x_user_defined.rs 2026-04-22
09:34:31.051967848 +0100
-@@ -16,6 +16,7 @@
- use simd_funcs::*;
- use core::simd::u16x8;
- use core::simd::cmp::SimdPartialOrd;
-+ use core::simd::Select;
-
- #[inline(always)]
- fn shift_upper(unpacked: u16x8) -> u16x8 {
diff --git
a/http/firefox/patches/0028-bmo-2023597-use-wasm32-wasip1-target-for-clang-22.patch

b/http/firefox/patches/0028-bmo-2023597-use-wasm32-wasip1-target-for-clang-22.patch
deleted file mode 100644
index c6c9cf7..0000000
---
a/http/firefox/patches/0028-bmo-2023597-use-wasm32-wasip1-target-for-clang-22.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-
-# HG changeset patch
-# User Alex Hochheiden <ahochheiden AT mozilla.com>
-# Date 1775067097 0
-# Node ID b1b4f0d7ed12d2cd69458dcb397e7d0f831132c3
-# Parent 08de9efb7b91622dc9ca07bcaa9a033e19cdd24d
-Bug 2023597 - Use `wasm32-wasip1` target for clang >= 22.1
r=firefox-build-system-reviewers,sergesanspaille
-
-https://github.com/llvm/llvm-project/pull/165345
-https://releases.llvm.org/22.1.0/tools/clang/docs/ReleaseNotes.html
-
-Differential Revision: https://phabricator.services.mozilla.com/D291023
-
-
-diff --git a/build/moz.configure/toolchain.configure
b/build/moz.configure/toolchain.configure
---- a/build/moz.configure/toolchain.configure
-+++ b/build/moz.configure/toolchain.configure
-@@ -690,16 +690,19 @@ def check_compiler(configure_cache, comp
-
- # Check compiler target
- # --------------------------------------------------------------------
- has_target = False
- if target.os == "Android" and android_version:
- # This makes clang define __ANDROID_API__ and use versioned library
- # directories from the NDK.
- toolchain = "%s%d" % (target.toolchain, android_version)
-+ elif target.kernel == "WASI" and info.type == "clang" and info.version
>= Version("22.1"):
-+ # The wasm32-wasi target was renamed to wasm32-wasip1 in LLVM 22.1.
-+ toolchain = "wasm32-wasip1"
- else:
- toolchain = target.toolchain
-
- if info.type == "clang":
- # Add the target explicitly when the target is aarch64 macosx,
because
- # the Xcode clang target is named differently, and we need to work
around
- # https://github.com/rust-lang/rust-bindgen/issues/1871 and
- # https://github.com/alexcrichton/cc-rs/issues/542 so we always want
-
diff --git
a/http/firefox/patches/0028-bmo-2040125-addGetSystemProxyDirect-to-libproxy-path.patch

b/http/firefox/patches/0028-bmo-2040125-addGetSystemProxyDirect-to-libproxy-path.patch
new file mode 100644
index 0000000..51a9685
--- /dev/null
+++
b/http/firefox/patches/0028-bmo-2040125-addGetSystemProxyDirect-to-libproxy-path.patch
@@ -0,0 +1,47 @@
+
+# HG changeset patch
+# User Christoph Moench-Tegeder <cmt AT burggraben.net>
+# Date 1779091292 0
+# Node ID 6ad0c97b2327484e240b6d2e2cdefada0dc3a9fb
+# Parent 0fca3f59f8b7268de25c4e04a3283171442d0320
+Bug 2040125 - add GetSystemProxyDirect() to libproxy path
r=valentin,necko-reviewers
+
+In bmo #2028356 a "fast-path to skip proxy resolution[...]" was added,
+but the required method GetSystemProxyDirect() was not added for
+libproxy-enabled builds (all other cases - general Unix without
+libproxy, OSX, Windows - got that function).
+
+This makes a "--enable-libproxy" build (MOZ_ENABLE_LIBPROXY) fail at
+startup, as the symbol for nsUnixSystemProxySettings::GetSystemProxyDirect()
+does not resolve.
+
+This adds GetSystemProxyDirect() to the MOZ_ENABLE_LIBPROXY case - it's
+trivial, as we cannot know what libproxy will return for a specific URL,
+thus the fast-path does not apply and we can just return "false".
+
+Differential Revision: https://phabricator.services.mozilla.com/D300937
+
+
+diff --git a/toolkit/system/unixproxy/nsLibProxySettings.cpp
b/toolkit/system/unixproxy/nsLibProxySettings.cpp
+--- a/toolkit/system/unixproxy/nsLibProxySettings.cpp
++++ b/toolkit/system/unixproxy/nsLibProxySettings.cpp
+@@ -106,11 +106,18 @@ nsresult nsUnixSystemProxySettings::GetP
+ }
+
+ NS_IMETHODIMP
+ nsUnixSystemProxySettings::GetSystemWPADSetting(bool* aSystemWPADSetting) {
+ *aSystemWPADSetting = false;
+ return NS_OK;
+ }
+
++// we do not know if libproxy would return DIRECT or PROXY
++NS_IMETHODIMP
++nsUnixSystemProxySettings::GetSystemProxyDirect(bool* aResult) {
++ *aResult = false;
++ return NS_OK;
++}
++
+ NS_IMPL_COMPONENT_FACTORY(nsUnixSystemProxySettings) {
+ return do_AddRef(new nsUnixSystemProxySettings()).downcast<nsISupports>();
+ }
+


  • [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (4653f5fcb68f7fa645d03c3cdd8b9976ed21df74), Pavel Vinogradov, 05/18/2026

Archive powered by MHonArc 2.6.24.

Top of Page