sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (1ba3e1689c77e537bdee7dba96cf28c92aa62695)
- 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 (1ba3e1689c77e537bdee7dba96cf28c92aa62695)
- Date: Tue, 25 Aug 2026 03:54:07 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
http/firefox/DETAILS
| 2
http/firefox/HISTORY
| 4
http/firefox/patches-for-musl/0020-bgo-970694-fix-missing-stdint.h-on-musl.patch
| 13 +
http/firefox/patches/0017-bgo-910309-dont-link-widevineplugin-to-libgcc_s.patch
| 22 +++
http/firefox/patches/0025-bmo-2061241-fix-llama-cpp-with-neon.patch
| 67 ++++++++++
http/firefox/patches/0026-bmo-2063808-fix-build-failure-with-system-av1.patch
| 49 +++++++
6 files changed, 150 insertions(+), 7 deletions(-)
New commits:
commit 1ba3e1689c77e537bdee7dba96cf28c92aa62695
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
http/firefox: version 154.0.1
diff --git a/http/firefox/DETAILS b/http/firefox/DETAILS
index 68fa32a..22cf7e3 100755
--- a/http/firefox/DETAILS
+++ b/http/firefox/DETAILS
@@ -1,5 +1,5 @@
SPELL=firefox
- VERSION=154.0
+ VERSION=154.0.1
SECURITY_PATCH=230
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 98ab580..33cc9ea 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,7 @@
+2026-08-24 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 154.0.1
+ * patches/*, patches-for-musl/*: updated
+
2026-08-22 Ismael Luceno <ismael AT sourcemage.org>
* DEPENDS: cbindgen >= 0.29.4
diff --git
a/http/firefox/patches-for-musl/0020-bgo-970694-fix-missing-stdint.h-on-musl.patch
b/http/firefox/patches-for-musl/0020-bgo-970694-fix-missing-stdint.h-on-musl.patch
index 0598a9a..6155f06 100644
---
a/http/firefox/patches-for-musl/0020-bgo-970694-fix-missing-stdint.h-on-musl.patch
+++
b/http/firefox/patches-for-musl/0020-bgo-970694-fix-missing-stdint.h-on-musl.patch
@@ -1,11 +1,12 @@
-$ cat /etc/portage/patches/www-client/firefox/missing-stdint.h
---- a/xpcom/base/nsVersionComparator.h 2026-02-16 13:37:51.000000000 -0500
-+++ b/xpcom/base/nsVersionComparator.h 2026-02-28 06:44:50.529920953 -0500
-@@ -8,6 +8,7 @@
- #ifndef nsVersionComparator_h_
+diff --git a/xpcom/base/nsVersionComparator.h
b/xpcom/base/nsVersionComparator.h
+index 1e16bcb..a5a19e3 100644
+--- a/xpcom/base/nsVersionComparator.h
++++ b/xpcom/base/nsVersionComparator.h
+@@ -9,6 +9,7 @@
#define nsVersionComparator_h_
+ #include <assert.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>
- #include <assert.h>
+ #if defined(XP_WIN) && !defined(UPDATER_NO_STRING_GLUE_STL)
diff --git
a/http/firefox/patches/0017-bgo-910309-dont-link-widevineplugin-to-libgcc_s.patch
b/http/firefox/patches/0017-bgo-910309-dont-link-widevineplugin-to-libgcc_s.patch
new file mode 100644
index 0000000..49d3433
--- /dev/null
+++
b/http/firefox/patches/0017-bgo-910309-dont-link-widevineplugin-to-libgcc_s.patch
@@ -0,0 +1,22 @@
+diff '--color=auto' -Naur a/security/sandbox/linux/Sandbox.cpp
b/security/sandbox/linux/Sandbox.cpp
+--- a/security/sandbox/linux/Sandbox.cpp 2026-08-18 09:10:53.293670719
+0300
++++ b/security/sandbox/linux/Sandbox.cpp 2026-08-18 09:12:21.961307710
+0300
+@@ -18,9 +18,7 @@
+ #include <sys/syscall.h>
+ #include <sys/time.h>
+ #include <unistd.h>
+-#ifdef NIGHTLY_BUILD
+-# include <dlfcn.h>
+-#endif
++#include <dlfcn.h>
+
+ #include "LinuxSched.h"
+ #include "SandboxBrokerClient.h"
+@@ -771,6 +769,7 @@
+ files->Add("/proc/net/unix", SandboxOpenedFile::Error{});
+ files->Add("/proc/self/maps", SandboxOpenedFile::Error{});
+
++ (void)dlopen("libgcc_s.so.1", RTLD_GLOBAL|RTLD_LAZY);
+ // Finally, start the sandbox.
+ SetCurrentProcessSandbox(GetMediaSandboxPolicy(files));
+ }
diff --git
a/http/firefox/patches/0025-bmo-2061241-fix-llama-cpp-with-neon.patch
b/http/firefox/patches/0025-bmo-2061241-fix-llama-cpp-with-neon.patch
new file mode 100644
index 0000000..be4ec07
--- /dev/null
+++ b/http/firefox/patches/0025-bmo-2061241-fix-llama-cpp-with-neon.patch
@@ -0,0 +1,67 @@
+upstream: https://github.com/ggml-org/llama.cpp/pull/26860
+
+From acb20b139639ec1b7c78739d98f3b04f500ff689 Mon Sep 17 00:00:00 2001
+From: Pascal <admin AT serveurperso.com>
+Date: Mon, 10 Aug 2026 20:51:29 +0200
+Subject: [PATCH 1/2] ggml-cpu: gate __fp16 on __ARM_FP16_FORMAT_IEEE
+
+__ARM_NEON only signals NEON availability. The __fp16 type also needs
+the IEEE half format, implied on AArch64 but selected with
+-mfp16-format=ieee on 32 bit Arm, where the compiler otherwise rejects
+the type.
+
+The guard keeps every toolchain that provides the type on the same code
+and sends that one configuration to the generic lookup path.
+---
+ ggml/src/ggml-cpu/simd-mappings.h | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h
b/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h
+index fca5119e1..4179605d5 100644
+--- a/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h
++++ b/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h
+@@ -29,13 +29,14 @@ extern "C" {
+ // FP16 to FP32 conversion
+
+ // 16-bit float
+-// on Arm, we use __fp16
++// on Arm, we use __fp16, which requires the IEEE fp16 format: implied on
AArch64, selected by
++// -mfp16-format=ieee on 32-bit Arm, where the compiler may otherwise
reject the type
+ // on x86, we use uint16_t
+ //
+ // for old CUDA compilers (<= 11), we use uint16_t: ref
https://github.com/ggml-org/llama.cpp/pull/10616
+ // for MUSA compilers , we use uint16_t: ref
https://github.com/ggml-org/llama.cpp/pull/11843
+ //
+-#if defined(__ARM_NEON) && !(defined(__CUDACC__) && __CUDACC_VER_MAJOR__ <=
11) && !defined(__MUSACC__)
++#if defined(__ARM_NEON) && defined(__ARM_FP16_FORMAT_IEEE) &&
!(defined(__CUDACC__) && __CUDACC_VER_MAJOR__ <= 11) && !defined(__MUSACC__)
+ #define GGML_CPU_COMPUTE_FP16_TO_FP32(x) neon_compute_fp16_to_fp32(x)
+ #define GGML_CPU_COMPUTE_FP32_TO_FP16(x) neon_compute_fp32_to_fp16(x)
+
+
+From cf1070103a1d10e4f73d258f51f121021b05919c Mon Sep 17 00:00:00 2001
+From: Pascal <admin AT serveurperso.com>
+Date: Tue, 11 Aug 2026 13:09:21 +0200
+Subject: [PATCH 2/2] ggml-cpu: gate the NEON+FMA block on
+ __ARM_FP16_FORMAT_IEEE
+
+Both halves of the F16 section dereference __fp16, so armv7 with
+neon-vfpv4 hits the same unknown type error. Without the IEEE
+format the configuration now falls back to the scalar path.
+
+Address review from @JonathanC-ARM
+---
+ ggml/src/ggml-cpu/simd-mappings.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h
b/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h
+index 8c6a15680096..10ce4bfc593b 100644
+--- a/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h
++++ b/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h
+@@ -328,7 +328,7 @@ inline static float ggml_lookup_fp16_to_fp32(ggml_fp16_t
f) {
+ #define GGML_F16_VEC_REDUCE GGML_F32Cx4_REDUCE
+ #endif
+
+-#elif defined(__ARM_NEON) && defined(__ARM_FEATURE_FMA)
++#elif defined(__ARM_NEON) && defined(__ARM_FEATURE_FMA) &&
defined(__ARM_FP16_FORMAT_IEEE)
+
+ #define GGML_SIMD
diff --git
a/http/firefox/patches/0026-bmo-2063808-fix-build-failure-with-system-av1.patch
b/http/firefox/patches/0026-bmo-2063808-fix-build-failure-with-system-av1.patch
new file mode 100644
index 0000000..a91fc3c
--- /dev/null
+++
b/http/firefox/patches/0026-bmo-2063808-fix-build-failure-with-system-av1.patch
@@ -0,0 +1,49 @@
+From f80d05e7730555024761ba9a14b76477ecd2ab20 Mon Sep 17 00:00:00 2001
+From: Hugo Osvaldo Barrera <hugo AT whynothugo.nl>
+Date: Sat, 15 Aug 2026 11:18:14 +0200
+Subject: [PATCH] Fix build failure with --with-system-av1
+
+When building with --with-system-av1 tries to link a statically-compiled
+libgkcodecs, which doesn't exist since we're using the system shared
+object.
+
+Add a guard following the same pattern established by all the other
+--with-system-XXX flags.
+---
+ config/external/gkcodecs/gkcodecs.symbols | 2 ++
+ config/external/gkcodecs/moz.build | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/config/external/gkcodecs/gkcodecs.symbols
b/config/external/gkcodecs/gkcodecs.symbols
+index ad67794ee3a6..df93d763dd35 100644
+--- a/config/external/gkcodecs/gkcodecs.symbols
++++ b/config/external/gkcodecs/gkcodecs.symbols
+@@ -1,4 +1,5 @@
+ # libaom symbols
++#ifndef MOZ_SYSTEM_AV1
+ aom_codec_av1_cx
+ aom_codec_av1_dx
+ aom_codec_build_config
+@@ -51,6 +52,7 @@ av1_set_active_map
+ av1_set_internal_size
+ av1_set_reference_enc
+ av1_use_as_reference
++#endif
+ # libogg symbols
+ ogg_calloc_func
+ ogg_free_func
+diff --git a/config/external/gkcodecs/moz.build
b/config/external/gkcodecs/moz.build
+index a55ae6907f3d..34019e81cebb 100644
+--- a/config/external/gkcodecs/moz.build
++++ b/config/external/gkcodecs/moz.build
+@@ -12,5 +12,7 @@
+ GeckoSharedLibrary("gkcodecs")
+ SHARED_LIBRARY_NAME = "gkcodecs"
+ SYMBOLS_FILE = "gkcodecs.symbols"
++if CONFIG["MOZ_SYSTEM_AV1"]:
++ DEFINES["MOZ_SYSTEM_AV1"] = True
+ if CONFIG["MOZ_SYSTEM_LIBVPX"]:
+ DEFINES["MOZ_SYSTEM_LIBVPX"] = True
+--
+2.55.0
+
- [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (1ba3e1689c77e537bdee7dba96cf28c92aa62695), Pavel Vinogradov, 08/24/2026
Archive powered by MHonArc 2.6.24.