Skip to Content.
Sympa Menu

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

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 (2f884af10906e5518171bb178eb07d5750b7af0d)
  • Date: Tue, 3 Nov 2026 14:01:34 +0000

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

http/firefox/DETAILS
| 2
http/firefox/HISTORY
| 4 +
http/firefox/patches/0013-bmo-1657849-musl-sandbox-sched_setscheduler.patch
| 38 ++++------

http/firefox/patches/0030-bmo-2077169-guard-build-debugger-against-null-match.patch
| 38 ++++++++++

http/firefox/patches/0031-bmo-2087371-ensure-mllvm-is-removed-from-elfhack-flags.patch
| 17 ++++
5 files changed, 77 insertions(+), 22 deletions(-)

New commits:
commit 2f884af10906e5518171bb178eb07d5750b7af0d
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

http/firefox: version 159.0.1

diff --git a/http/firefox/DETAILS b/http/firefox/DETAILS
index ca866eb..bbdfef1 100755
--- a/http/firefox/DETAILS
+++ b/http/firefox/DETAILS
@@ -1,5 +1,5 @@
SPELL=firefox
- VERSION=159.0
+ VERSION=159.0.1
SECURITY_PATCH=237
SOURCE="${SPELL}-${VERSION}.source.tar.xz"

SOURCE_URL[0]="http://releases.mozilla.org/pub/${SPELL}/releases/${VERSION}/source/${SOURCE}";
diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index 89a400c..f9a474e 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,7 @@
+2026-11-03 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 159.0.1
+ * patches/*: updated
+
2026-10-27 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 159.0, SECURITY_PATCH++
* DEPENDS: nss >= 3.131
diff --git
a/http/firefox/patches/0013-bmo-1657849-musl-sandbox-sched_setscheduler.patch
b/http/firefox/patches/0013-bmo-1657849-musl-sandbox-sched_setscheduler.patch
index 4107656..9758de4 100644
---
a/http/firefox/patches/0013-bmo-1657849-musl-sandbox-sched_setscheduler.patch
+++
b/http/firefox/patches/0013-bmo-1657849-musl-sandbox-sched_setscheduler.patch
@@ -1,48 +1,44 @@
diff --git a/security/sandbox/linux/SandboxFilter.cpp
b/security/sandbox/linux/SandboxFilter.cpp
--- a/security/sandbox/linux/SandboxFilter.cpp
+++ b/security/sandbox/linux/SandboxFilter.cpp
-@@ -1924,12 +1924,20 @@ class GMPSandboxPolicy : public SandboxPolicyCommon {
+@@ -1920,17 +1920,17 @@
+
+ case __NR_brk:
+ return Allow();
+ case __NR_sched_get_priority_min:
+ case __NR_sched_get_priority_max:
++ case __NR_sched_setscheduler:
+ return Allow();
+ // The OpenH264 plugin needs sched_getaffinity() in multithreaded
mode;
// bug 2071378.
case __NR_sched_getaffinity:
case __NR_sched_getparam:
- case __NR_sched_getscheduler:
- case __NR_sched_setscheduler: {
-+#if defined(LIBC_GLIBC)
-+ case __NR_sched_setscheduler:
-+#endif
+ case __NR_sched_getscheduler: {
Arg<pid_t> pid(0);
return If(pid == 0, Allow()).Else(Trap(SchedTrap, nullptr));
}

-+#if !defined(LIBC_GLIBC)
-+ // For pthread_create(3) on musl; bug 1657849.
-+ case __NR_sched_setscheduler:
-+ return Allow();
-+#endif
-+
// For clock(3) on older glibcs; bug 1304220.
- case __NR_times:
- return Allow();
-@@ -2209,13 +2217,21 @@ class RDDSandboxPolicy final : public
SandboxPolicyCommon {
+@@ -2233,16 +2233,18 @@
+ case __NR_sched_getaffinity:
+ case __NR_sched_setaffinity:
case __NR_sched_getparam:
case __NR_sched_setparam:
case __NR_sched_getscheduler:
-+#if defined(LIBC_GLIBC)
- case __NR_sched_setscheduler:
-+#endif
+- case __NR_sched_setscheduler:
case __NR_sched_getattr:
case __NR_sched_setattr: {
Arg<pid_t> pid(0);
return If(pid == 0, Allow()).Else(Trap(SchedTrap, nullptr));
}
-
-+#if !defined(LIBC_GLIBC)
-+ // For pthread_create(3) on musl; bug 1657849.
++ // sched_setscheduler gets special treatment here (bug 1657849):
+ case __NR_sched_setscheduler:
+ return Allow();
-+#endif
-+
+
// The priority bounds are also used, sometimes (bug 1838675):
case __NR_sched_get_priority_min:
case __NR_sched_get_priority_max:
+ return Allow();
+
diff --git
a/http/firefox/patches/0030-bmo-2077169-guard-build-debugger-against-null-match.patch

b/http/firefox/patches/0030-bmo-2077169-guard-build-debugger-against-null-match.patch
new file mode 100644
index 0000000..74a694e
--- /dev/null
+++
b/http/firefox/patches/0030-bmo-2077169-guard-build-debugger-against-null-match.patch
@@ -0,0 +1,38 @@
+
+# HG changeset patch
+# User Vitaliy <vitalij AT gmx.com>
+# Date 1793607108 0
+# Node ID ac698bbb140f04a6cf11f96d6e79d311d329251d
+# Parent bb6c97aab762ef6612fa992f1fcf689d6831e681
+Bug 2077169 - [devtools] Guard build-debugger.js against null match.
r=devtools-reviewers,nchevobbe
+
+Differential Revision: https://phabricator.services.mozilla.com/D338065
+
+
+diff --git a/devtools/client/shared/build/build-debugger.js
b/devtools/client/shared/build/build-debugger.js
+--- a/devtools/client/shared/build/build-debugger.js
++++ b/devtools/client/shared/build/build-debugger.js
+@@ -52,17 +52,21 @@ function transformMC({ types: t }) {
+ if (value.startsWith(".")) {
+ // Create full path
+ // e.g.
z:\build\build\src\devtools\client\debugger\src\utils\source-queue
+ let newValue = _path.join(_path.dirname(filePath), value);
+
+ // Select the devtools portion of the path
+ // e.g. devtools\client\debugger\src\utils\source-queue
+ if (!newValue.startsWith("devtools")) {
+- newValue = newValue.match(/.*(devtools.*)/)[1];
++ const m = newValue.match(/.*(devtools.*)/);
++ if (!m) {
++ return;
++ }
++ newValue = m[1];
+ }
+
+ // Replace forward slashes with back slashes
+ // e.g devtools/client/debugger/src/utils/source-queue
+ newValue = newValue.replace(/\\/g, "/");
+
+ value = newValue;
+ }
+
diff --git
a/http/firefox/patches/0031-bmo-2087371-ensure-mllvm-is-removed-from-elfhack-flags.patch

b/http/firefox/patches/0031-bmo-2087371-ensure-mllvm-is-removed-from-elfhack-flags.patch
new file mode 100644
index 0000000..449edcd
--- /dev/null
+++
b/http/firefox/patches/0031-bmo-2087371-ensure-mllvm-is-removed-from-elfhack-flags.patch
@@ -0,0 +1,17 @@
+diff --git a/build/unix/elfhack/inject/moz.build
b/build/unix/elfhack/inject/moz.build
+--- a/build/unix/elfhack/inject/moz.build
++++ b/build/unix/elfhack/inject/moz.build
+@@ -32,11 +32,11 @@
+ idx = 0
+ for flag in COMPILE_FLAGS[v]:
+ if flag == "-isystem":
+ flags.append("".join(COMPILE_FLAGS[v][idx : idx + 2]))
+ elif (
+- flag.startswith(("-g", "-m", "-I", "-isystem", "--sysroot="))
++ (flag.startswith(("-g", "-m", "-I", "-isystem", "--sysroot="))
and not flag.startswith("-mllvm"))
+ or flag == "-fPIC"
+ ):
+ flags.append(flag)
+ idx += 1
+ COMPILE_FLAGS[v] = flags
+


  • [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (2f884af10906e5518171bb178eb07d5750b7af0d), Pavel Vinogradov, 11/03/2026

Archive powered by MHonArc 2.6.24.

Top of Page