From 8d28971cf912a7b8a8fb331d35bbf37a77740656 Mon Sep 17 00:00:00 2001 From: Rmys Date: Tue, 13 Jan 2026 17:38:58 +0300 Subject: [PATCH] firefox-147.0 ver. bump --- ...and-Check-size-for-valid-EGLWindows-.patch | 25 ------------ ...w-F_DUPFD_QUERY-in-the-Linux-sandbox.patch | 39 ------------------- .../firefox/files/pisilinux/distribution.ini | 2 +- .../web/firefox/files/riscv64-no-lto.patch | 16 -------- network/web/firefox/files/rust-lto-thin.patch | 12 ------ network/web/firefox/pspec.xml | 11 +++++- 6 files changed, 10 insertions(+), 95 deletions(-) delete mode 100644 network/web/firefox/files/0002-Bug-1804973-Wayland-Check-size-for-valid-EGLWindows-.patch delete mode 100644 network/web/firefox/files/0002-Bug-1995035-Allow-F_DUPFD_QUERY-in-the-Linux-sandbox.patch delete mode 100644 network/web/firefox/files/riscv64-no-lto.patch delete mode 100644 network/web/firefox/files/rust-lto-thin.patch diff --git a/network/web/firefox/files/0002-Bug-1804973-Wayland-Check-size-for-valid-EGLWindows-.patch b/network/web/firefox/files/0002-Bug-1804973-Wayland-Check-size-for-valid-EGLWindows-.patch deleted file mode 100644 index 4735a44c78..0000000000 --- a/network/web/firefox/files/0002-Bug-1804973-Wayland-Check-size-for-valid-EGLWindows-.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: stransky -Date: Thu, 15 Dec 2022 08:09:22 +0000 -Subject: [PATCH] Bug 1804973 [Wayland] Check size for valid EGLWindows only - r=emilio - -Differential Revision: https://phabricator.services.mozilla.com/D164651 ---- - widget/gtk/MozContainerWayland.cpp | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/widget/gtk/MozContainerWayland.cpp b/widget/gtk/MozContainerWayland.cpp -index 954c650af533..2a4a492077c3 100644 ---- a/widget/gtk/MozContainerWayland.cpp -+++ b/widget/gtk/MozContainerWayland.cpp -@@ -704,6 +704,9 @@ bool moz_container_wayland_egl_window_needs_size_update(MozContainer* container, - nsIntSize aSize, - int aScale) { - MozContainerWayland* wl_container = &container->wl_container; -+ if (!wl_container->eglwindow) { -+ return false; -+ } - if (wl_container->buffer_scale != aScale) { - return true; - } diff --git a/network/web/firefox/files/0002-Bug-1995035-Allow-F_DUPFD_QUERY-in-the-Linux-sandbox.patch b/network/web/firefox/files/0002-Bug-1995035-Allow-F_DUPFD_QUERY-in-the-Linux-sandbox.patch deleted file mode 100644 index 8623ac5701..0000000000 --- a/network/web/firefox/files/0002-Bug-1995035-Allow-F_DUPFD_QUERY-in-the-Linux-sandbox.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Jed Davis -Date: Fri, 31 Oct 2025 05:25:52 +0100 -Subject: [PATCH] Bug 1995035 - Allow `F_DUPFD_QUERY` in the Linux sandboxes. - r?gcp,thinker - -Differential Revision: https://phabricator.services.mozilla.com/D270797 ---- - security/sandbox/linux/SandboxFilter.cpp | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/security/sandbox/linux/SandboxFilter.cpp b/security/sandbox/linux/SandboxFilter.cpp -index aabfd088f8be..4a161fe53e90 100644 ---- a/security/sandbox/linux/SandboxFilter.cpp -+++ b/security/sandbox/linux/SandboxFilter.cpp -@@ -130,6 +130,13 @@ static_assert(MFD_HUGE_MASK == MAP_HUGE_MASK); - static_assert(MFD_HUGE_SHIFT == MAP_HUGE_SHIFT); - #endif - -+// Added in 6.10 -+#ifndef F_DUPFD_QUERY -+# define F_DUPFD_QUERY (F_LINUX_SPECIFIC_BASE + 3) -+#else -+static_assert(F_DUPFD_QUERY == (F_LINUX_SPECIFIC_BASE + 3)); -+#endif -+ - // To avoid visual confusion between "ifdef ANDROID" and "ifndef ANDROID": - #ifndef ANDROID - # define DESKTOP -@@ -1112,6 +1119,9 @@ class SandboxPolicyCommon : public SandboxPolicyBase { - #endif - // Not much different from other forms of dup(), and commonly used. - .Case(F_DUPFD_CLOEXEC, Allow()) -+ // Used by Mesa, generally useful, and harmless: tests if -+ // two file descriptors refer to the same file description. -+ .Case(F_DUPFD_QUERY, Allow()) - .Default(SandboxPolicyBase::EvaluateSyscall(sysno)); - } - diff --git a/network/web/firefox/files/pisilinux/distribution.ini b/network/web/firefox/files/pisilinux/distribution.ini index fb0b6f0fde..9439c63336 100644 --- a/network/web/firefox/files/pisilinux/distribution.ini +++ b/network/web/firefox/files/pisilinux/distribution.ini @@ -1,6 +1,6 @@ [Global] id=PisiLinux -version=2.4.2 +version=2.4.3 about=Mozilla Firefox for PisiLinux [Preferences] diff --git a/network/web/firefox/files/riscv64-no-lto.patch b/network/web/firefox/files/riscv64-no-lto.patch deleted file mode 100644 index 90c9b5def1..0000000000 --- a/network/web/firefox/files/riscv64-no-lto.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/config/makefiles/rust.mk -+++ b/config/makefiles/rust.mk -@@ -91,11 +91,13 @@ - ifndef rustflags_sancov - # Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045. - ifndef MOZ_CODE_COVERAGE -+ifeq (,$(findstring riscv64,$(RUST_TARGET))) - ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE))) - cargo_rustc_flags += -Clto=thin - endif - # We need -Cembed-bitcode=yes for all crates when using -Clto. - RUSTFLAGS += -Cembed-bitcode=yes -+endif - endif - endif - endif diff --git a/network/web/firefox/files/rust-lto-thin.patch b/network/web/firefox/files/rust-lto-thin.patch deleted file mode 100644 index 788fceab39..0000000000 --- a/network/web/firefox/files/rust-lto-thin.patch +++ /dev/null @@ -1,12 +0,0 @@ -set rust crate lto to thin to not use fatlto for gkrust which fails sometimes ---- a/config/makefiles/rust.mk -+++ b/config/makefiles/rust.mk -@@ -92,7 +92,7 @@ - # Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045. - ifndef MOZ_CODE_COVERAGE - ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE))) --cargo_rustc_flags += -Clto$(if $(filter full,$(MOZ_LTO_RUST_CROSS)),=fat) -+cargo_rustc_flags += -Clto=thin - endif - # We need -Cembed-bitcode=yes for all crates when using -Clto. - RUSTFLAGS += -Cembed-bitcode=yes diff --git a/network/web/firefox/pspec.xml b/network/web/firefox/pspec.xml index 9410080ec9..8862b1f62f 100644 --- a/network/web/firefox/pspec.xml +++ b/network/web/firefox/pspec.xml @@ -15,7 +15,7 @@ app:gui Firefox Web Browser It is more secure and faster to browse the web with Firefox web browser. You can personalize your web browser with many specifications that is not enough to explain in two sentences. - https://ftp.mozilla.org/pub/firefox/releases/146.0/source/firefox-146.0.source.tar.xz + https://ftp.mozilla.org/pub/firefox/releases/147.0/source/firefox-147.0.source.tar.xz @@ -78,7 +78,7 @@ jack-audio-connection-kit-devel - 0002-Bug-1995035-Allow-F_DUPFD_QUERY-in-the-Linux-sandbox.patch + @@ -568,6 +568,13 @@ + + 2026-01-13 + 147.0 + Version bump. + Pisi Linux Community + admin@pisilinux.org + 2025-12-08 146.0