git: 35fa0ef57847 - 2026Q2 - www/librewolf: Update 152.0.2-1 => 152.0.4-1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Jul 2026 20:27:32 UTC
The branch 2026Q2 has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=35fa0ef578477b75a58f4050c63cc9e4675603c6
commit 35fa0ef578477b75a58f4050c63cc9e4675603c6
Author: Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2026-07-02 20:24:11 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-07-02 20:27:27 +0000
www/librewolf: Update 152.0.2-1 => 152.0.4-1
Changelog:
https://www.firefox.com/en-US/firefox/152.0.3/releasenotes/
https://www.firefox.com/en-US/firefox/152.0.4/releasenotes/
- Remove unnecessary patches and add new patches from www/firefox.
PR: 296456
Sponsored by: UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
MFH: 2026Q2
(cherry picked from commit f88f2d39ba23200cee2456222ad4fdf458b3163e)
---
www/librewolf/Makefile | 2 +-
www/librewolf/distinfo | 6 ++---
.../files/patch-gfx_skia_skia_src_core_SkCpu.cpp | 29 --------------------
www/librewolf/files/patch-python_sites_mach.txt | 31 ++++++++++++++++++++++
...md_include_xsimd_types_xsimd__vsx__register.hpp | 16 +++++++++++
.../files/patch-toolkit_xre_nsXREDirProvider.cpp | 11 --------
6 files changed, 51 insertions(+), 44 deletions(-)
diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile
index 67cfb25b8480..1128fb759756 100644
--- a/www/librewolf/Makefile
+++ b/www/librewolf/Makefile
@@ -1,5 +1,5 @@
PORTNAME= librewolf
-DISTVERSION= 152.0.2
+DISTVERSION= 152.0.4
LWPATCH= -1
DISTVERSIONSUFFIX= ${LWPATCH}.source
CATEGORIES= www wayland
diff --git a/www/librewolf/distinfo b/www/librewolf/distinfo
index 3ca8311d4a92..bc6c443dfbcb 100644
--- a/www/librewolf/distinfo
+++ b/www/librewolf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1782279878
-SHA256 (librewolf-152.0.2-1.source.tar.gz) = 2db000606af1acb50e857a57f744d2ae40325d0d81a6bb6ba648422b9114b625
-SIZE (librewolf-152.0.2-1.source.tar.gz) = 1155807761
+TIMESTAMP = 1782890636
+SHA256 (librewolf-152.0.4-1.source.tar.gz) = fa21c6183109971401eea879b706281064228c9d72dddcbb8103d8da756862bd
+SIZE (librewolf-152.0.4-1.source.tar.gz) = 1155974937
diff --git a/www/librewolf/files/patch-gfx_skia_skia_src_core_SkCpu.cpp b/www/librewolf/files/patch-gfx_skia_skia_src_core_SkCpu.cpp
deleted file mode 100644
index 8d4ac6407f81..000000000000
--- a/www/librewolf/files/patch-gfx_skia_skia_src_core_SkCpu.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
---- gfx/skia/skia/src/core/SkCpu.cpp.orig 2025-02-24 16:56:14 UTC
-+++ gfx/skia/skia/src/core/SkCpu.cpp
-@@ -89,6 +89,26 @@
- }
- #endif
-
-+#if (SK_CPU_ARM32) && defined(__FreeBSD__)
-+ #include <sys/auxv.h>
-+
-+ static uint32_t read_cpu_features() {
-+ unsigned long caps = 0;
-+ uint32_t features = 0;
-+
-+ elf_aux_info(AT_HWCAP, &caps, sizeof caps);
-+
-+ if (caps & HWCAP_NEON) {
-+ features |= SkCpu::NEON;
-+ if (caps & HWCAP_VFPv4) {
-+ features |= SkCpu::NEON_FMA|SkCpu::VFP_FP16;
-+ }
-+ }
-+
-+ return features;
-+ }
-+#endif
-+
- uint32_t SkCpu::gCachedFeatures = 0;
-
- void SkCpu::CacheRuntimeFeatures() {
diff --git a/www/librewolf/files/patch-python_sites_mach.txt b/www/librewolf/files/patch-python_sites_mach.txt
new file mode 100644
index 000000000000..91b4e15b9843
--- /dev/null
+++ b/www/librewolf/files/patch-python_sites_mach.txt
@@ -0,0 +1,31 @@
+commit 4ae638d5bbcaa34f67b316bc79eb9c1fe14ec362
+Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
+Date: Tue Jun 9 21:44:59 2026 +0200
+
+ avoid problems with python modules in mach
+
+diff --git python/sites/mach.txt python/sites/mach.txt
+index 8f4aa95dbd04..045c15136680 100644
+--- python/sites/mach.txt
++++ python/sites/mach.txt
+@@ -58,15 +58,15 @@ pth:xpcom/geckoprocesstypes_generator
+ pth:xpcom/idl-parser
+ # glean-sdk may not be installable if a wheel isn't available
+ # and it has to be built from source.
+ # pypi-optional:glean-sdk==67.3.2:telemetry will not be collected
+-pypi-optional:orjson>=3.10:json operations will be slower in various tools
++# pypi-optional:orjson>=3.10:json operations will be slower in various tools
+ # Mach gracefully handles the case where `psutil` is unavailable.
+ # We aren't (yet) able to pin packages in automation, so we have to
+ # support down to the oldest locally-installed version (5.4.2).
+-pypi-optional:psutil>=5.4.2:telemetry will be missing some data
+-pypi-optional:rtoml>=0.11.0:toml operations will be slower in various tools
+-pypi-optional:zstandard>=0.11.1,<=0.25.0:zstd archives will not be possible to extract
+-vendored-fallback:pyyaml:third_party/python/pyyaml/lib/:faster native loading is disabled
++# pypi-optional:psutil>=5.4.2:telemetry will be missing some data
++# pypi-optional:rtoml>=0.11.0:toml operations will be slower in various tools
++# pypi-optional:zstandard>=0.11.1,<=0.25.0:zstd archives will not be possible to extract
++vendored:pyyaml:third_party/python/pyyaml/lib/
+ vendored:third_party/python/ansicon
+ vendored:third_party/python/appdirs
+ vendored:third_party/python/async_timeout
diff --git a/www/librewolf/files/patch-third__party_xsimd_include_xsimd_types_xsimd__vsx__register.hpp b/www/librewolf/files/patch-third__party_xsimd_include_xsimd_types_xsimd__vsx__register.hpp
new file mode 100644
index 000000000000..51367c0ea805
--- /dev/null
+++ b/www/librewolf/files/patch-third__party_xsimd_include_xsimd_types_xsimd__vsx__register.hpp
@@ -0,0 +1,16 @@
+--- third_party/xsimd/include/xsimd/types/xsimd_vsx_register.hpp.orig 2026-06-28 10:55:46.683534000 +0200
++++ third_party/xsimd/include/xsimd/types/xsimd_vsx_register.hpp 2026-06-28 10:55:46.694422000 +0200
+@@ -64,10 +64,10 @@
+ XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(short, short);
+ XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(unsigned int, int);
+ XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(int, int);
+- XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(unsigned long, long);
+- XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(long, long);
++ XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(unsigned long, long long);
++ XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(long, long long);
+ XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(float, int);
+- XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(double, long);
++ XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(double, long long);
+
+ #undef XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER
+ }
diff --git a/www/librewolf/files/patch-toolkit_xre_nsXREDirProvider.cpp b/www/librewolf/files/patch-toolkit_xre_nsXREDirProvider.cpp
deleted file mode 100644
index 7c89097408dc..000000000000
--- a/www/librewolf/files/patch-toolkit_xre_nsXREDirProvider.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- toolkit/xre/nsXREDirProvider.cpp.orig 2024-03-19 15:15:35 UTC
-+++ toolkit/xre/nsXREDirProvider.cpp
-@@ -1430,7 +1430,7 @@ nsresult nsXREDirProvider::AppendProfilePath(nsIFile*
- if (gAppData->profile) {
- profile = gAppData->profile;
- } else {
-- appName = gAppData->name;
-+ appName = "Librewolf";
- vendor = gAppData->vendor;
- }
-