Index: Makefile
===================================================================
RCS file: /cvs/ports/www/librewolf/Makefile,v
diff -u -p -u -p -r1.10 Makefile
--- Makefile	13 Aug 2026 21:40:21 -0000	1.10
+++ Makefile	18 Aug 2026 16:35:51 -0000
@@ -13,7 +13,7 @@ ONLY_FOR_ARCHS =	amd64 aarch64 riscv64
 
 # If upstream adds revision number -x, it will become plx in OpenBSD, e.g.
 # librewolf-149.0.2-2 (upstream) becomes librewolf-149.0.2pl2 (patch level 2)
-MOZILLA_DIST_VERSION =	153.0.4-1
+MOZILLA_DIST_VERSION =	154.0-2
 MOZILLA_VERSION =	${MOZILLA_DIST_VERSION:C/-([0-9]+)$/pl\1/}
 
 MOZILLA_PROJECT =	librewolf
@@ -21,7 +21,7 @@ MOZILLA_CODENAME =	browser
 MAINTAINER =		Leah Rowe <leah@libreboot.org>
 
 HOMEPAGE =	https://librewolf.net/
-SO_VERSION =	2.0
+SO_VERSION =	3.0
 # Bump minor ver if shlibs deleted in components dir to avoid pkg_add -r issues
 MOZILLA_LIBS =	mozavcodec mozavutil mozgtk mozinference mozwayland xul \
 		clearkey gkcodecs lgpllibs mozsqlite3
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/librewolf/distinfo,v
diff -u -p -u -p -r1.9 distinfo
--- distinfo	13 Aug 2026 07:59:53 -0000	1.9
+++ distinfo	18 Aug 2026 16:35:51 -0000
@@ -1,2 +1,2 @@
-SHA256 (librewolf/librewolf-153.0.4-1.source.tar.gz) = KphexnThRyKC7vw01TNPbnEaXZoh52w9ULV5cvRf5F8=
-SIZE (librewolf/librewolf-153.0.4-1.source.tar.gz) = 1165787893
+SHA256 (librewolf/librewolf-154.0-2.source.tar.gz) = fmw0CILy4v/AmiTZ9TuR3gY8FaGuDmIUtaCBGSRKekw=
+SIZE (librewolf/librewolf-154.0-2.source.tar.gz) = 1174385173
Index: patches/patch-js_src_ctypes_libffi_src_dlmalloc_c
===================================================================
RCS file: /cvs/ports/www/librewolf/patches/patch-js_src_ctypes_libffi_src_dlmalloc_c,v
diff -u -p -u -p -r1.1.1.1 patch-js_src_ctypes_libffi_src_dlmalloc_c
--- patches/patch-js_src_ctypes_libffi_src_dlmalloc_c	8 Jun 2026 16:14:42 -0000	1.1.1.1
+++ patches/patch-js_src_ctypes_libffi_src_dlmalloc_c	18 Aug 2026 16:35:51 -0000
@@ -2,19 +2,19 @@ use /dev/random to init memory within li
 Index: js/src/ctypes/libffi/src/dlmalloc.c
 --- js/src/ctypes/libffi/src/dlmalloc.c.orig
 +++ js/src/ctypes/libffi/src/dlmalloc.c
-@@ -2530,7 +2530,6 @@ static int init_mparams(void) {
+@@ -3311,7 +3311,6 @@ static int init_mparams(void) {
+ #endif
  
- #if (FOOTERS && !INSECURE)
      {
 -#if USE_DEV_RANDOM
        int fd;
        unsigned char buf[sizeof(size_t)];
        /* Try to use /dev/urandom, else fall back on using time */
-@@ -2540,7 +2539,6 @@ static int init_mparams(void) {
+@@ -3321,7 +3320,6 @@ static int init_mparams(void) {
          close(fd);
        }
        else
 -#endif /* USE_DEV_RANDOM */
-         s = (size_t)(time(0) ^ (size_t)0x55555555U);
- 
-       s |= (size_t)8U;    /* ensure nonzero */
+ #ifdef WIN32
+       magic = (size_t)(GetTickCount() ^ (size_t)0x55555555U);
+ #elif defined(LACKS_TIME_H)
Index: patches/patch-third_party_angle_angle_common_gn_moz_build
===================================================================
RCS file: patches/patch-third_party_angle_angle_common_gn_moz_build
diff -N patches/patch-third_party_angle_angle_common_gn_moz_build
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-third_party_angle_angle_common_gn_moz_build	18 Aug 2026 16:35:51 -0000
@@ -0,0 +1,17 @@
+https://github.com/mozilla-firefox/firefox/commit/436819179bb0797bd04ff661ec4a12b64034ce93
+https://bugzilla.mozilla.org/show_bug.cgi?id=2057158
+
+Index: third_party/angle/angle_common_gn/moz.build
+--- third_party/angle/angle_common_gn/moz.build.orig
++++ third_party/angle/angle_common_gn/moz.build
+@@ -144,6 +144,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
+     DEFINES["__STDC_CONSTANT_MACROS"] = True
+     DEFINES["__STDC_FORMAT_MACROS"] = True
+ 
++    UNIFIED_SOURCES += [
++        "/third_party/angle/src/common/system_utils_posix.cpp"
++    ]
++
+ if CONFIG["OS_TARGET"] == "WINNT":
+ 
+     DEFINES["ANGLE_IS_WIN"] = True
Index: patches/patch-toolkit_components_downloads_DownloadIntegration_sys_mjs
===================================================================
RCS file: /cvs/ports/www/librewolf/patches/patch-toolkit_components_downloads_DownloadIntegration_sys_mjs,v
diff -u -p -u -p -r1.2 patch-toolkit_components_downloads_DownloadIntegration_sys_mjs
--- patches/patch-toolkit_components_downloads_DownloadIntegration_sys_mjs	24 Jul 2026 09:46:32 -0000	1.2
+++ patches/patch-toolkit_components_downloads_DownloadIntegration_sys_mjs	18 Aug 2026 16:35:51 -0000
@@ -4,7 +4,7 @@ was previously in patch-toolkit_componen
 Index: toolkit/components/downloads/DownloadIntegration.sys.mjs
 --- toolkit/components/downloads/DownloadIntegration.sys.mjs.orig
 +++ toolkit/components/downloads/DownloadIntegration.sys.mjs
-@@ -1117,7 +1117,7 @@ export var DownloadIntegration = {
+@@ -1038,7 +1038,7 @@ export var DownloadIntegration = {
      // displayed in the user interface.
      let directoryPath = PathUtils.join(
        this._getDirectory(aName),
