Update package version to 150.0p1

This commit is contained in:
2026-04-26 16:17:19 +03:00
parent 6799c6c603
commit 41bb7d0149
5 changed files with 314 additions and 52 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
name: librewolf
description: A custom version of Firefox, focused on privacy, security and freedom
version: 149.0.2p2
version: 150.0p1
revision: 1
url: https://librewolf.net/
license: MPL2
@@ -55,4 +55,4 @@ downloads:
- url: https://codeberg.org/api/packages/librewolf/generic/librewolf-source/${BPM_PKG_VERSION//p/-}/librewolf-${BPM_PKG_VERSION//p/-}.source.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 4f182ca27f11fd35aa2fb62ca099ff0533bfce2190a719d3b601eab86f7d3317
checksum: e93d39180d74ea9e07d9a7cae7a441cc6e790f64e053f2b7e168cc490b043034
@@ -1,48 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jed Davis <[email protected]>
Date: Fri, 6 Mar 2026 03:39:26 +0000
Subject: [PATCH] Bug 2016618 - Fix Linux sandbox build breakage on glibc 2.43
r=Thinker
Differential Revision: https://phabricator.services.mozilla.com/D283196
---
.../patches/54_fix_build_on_glibc_2_43.patch | 17 +++++++++++++++++
.../linux/system_headers/linux_seccomp.h | 1 +
2 files changed, 18 insertions(+)
create mode 100644 security/sandbox/chromium-shim/patches/54_fix_build_on_glibc_2_43.patch
diff --git a/security/sandbox/chromium-shim/patches/54_fix_build_on_glibc_2_43.patch b/security/sandbox/chromium-shim/patches/54_fix_build_on_glibc_2_43.patch
new file mode 100644
index 000000000000..bfba1154e5d5
--- /dev/null
+++ b/security/sandbox/chromium-shim/patches/54_fix_build_on_glibc_2_43.patch
@@ -0,0 +1,17 @@
+Author: Jed Davis <[email protected]>
+Date: Thu Feb 12 20:44:26 2026 -0800
+
+ Bug 2016618 - Fix Linux sandbox build breakage on glibc 2.43
+
+diff --git a/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h b/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h
+index 8690a96eb01b..981005faf06f 100644
+--- a/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h
++++ b/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h
+@@ -5,6 +5,7 @@
+ #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
+ #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
+
++#include <signal.h> // for SYS_SECCOMP
+ #include <stdint.h>
+ #include <sys/ioctl.h>
+
diff --git a/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h b/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h
index 8690a96eb01b..981005faf06f 100644
--- a/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h
+++ b/security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h
@@ -5,6 +5,7 @@
#ifndef SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
#define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
+#include <signal.h> // for SYS_SECCOMP
#include <stdint.h>
#include <sys/ioctl.h>
File diff suppressed because one or more lines are too long
+12
View File
@@ -0,0 +1,12 @@
diff --git a/third_party/rust/encoding_rs/src/x_user_defined.rs b/third_party/rust/encoding_rs/src/x_user_defined.rs
index 7af7d5e..4018e99 100644
--- a/third_party/rust/encoding_rs/src/x_user_defined.rs
+++ b/third_party/rust/encoding_rs/src/x_user_defined.rs
@@ -16,6 +16,7 @@ cfg_if! {
use simd_funcs::*;
use core::simd::u16x8;
use core::simd::cmp::SimdPartialOrd;
+ use core::simd::Select;
#[inline(always)]
fn shift_upper(unpacked: u16x8) -> u16x8 {
+5 -2
View File
@@ -9,8 +9,11 @@ prepare() {
# Fix build with glibc 2.43
# https://bugzilla.mozilla.org/show_bug.cgi?id=1999625
patch -Np1 -i "$BPM_WORKDIR"/0001-Patch-glsl-optimizer-to-build-with-glibc-2.43.patch
# https://bugzilla.mozilla.org/show_bug.cgi?id=2016618
patch -Np1 -i "$BPM_WORKDIR"/0002-Bug-2016618-Fix-Linux-sandbox-build-breakage-on-glib.patch
# https://bugzilla.mozilla.org/show_bug.cgi?id=2033279
sed -i 's/b9432f9ed39742015f4bb4c3e75c89a2b9a9eef943dd0fd7cd889fddd1e6d39c/9456ca46168ef86c98399a2536f577ef7be3cdde90c0c51392d8ac48519d3fae/g' third_party/rust/encoding_rs/.cargo-checksum.json
patch -Rp1 -i ../rust-build.patch
patch -Np1 -i "$BPM_WORKDIR"/0002-Bug-2033279-Make-enable-rust-simd-work-with-Rust-1.9.patch
patch -i "$BPM_WORKDIR"/remove-duplicate-gkrust-features.diff "$BPM_SOURCE"/toolkit/library/rust/gkrust-features.mozbuild