[update] www/librewolf 154.0-2

[email protected]
Newsgroups gmane.os.openbsd.ports
Message-ID <5tZy770RZWxW5_9_tPvE6H3FuAdyDzHBoTguAyebSolS4UmCjd12UZOYHoTc1g8bq5a3wpEioYh-ikBE3VKzca-D7-gqhWUeKf21gr8UrYQ=@protonmail.com>
Built/tested on current/amd64 with privsep.

cd /usr/ports/distfiles/librewolf/ && sq verify --signature-file=librewolf-154.0-2.source.tar.gz.sig librewolf-154.0-2.source.tar.gz ; sha512 -c librewolf-154.0-2.source.tar.gz.sha512sum ; cat librewolf-154.0-2.source.tar.gz.sha512sum
Authenticating 662E3CDD6FE329002D0CA5BB40339DD82B12EF16 (LibreWolf Maintainers <[email protected]>) using the web of trust:
  Fully authenticated (120 of 120) 662E3CDD6FE329002D0CA5BB40339DD82B12EF16, LibreWolf Maintainers <[email protected]>
    ◯─┬ A629B716FBCB64C87477BC775525083E97A93CAA
    │ └ (Local Trust Root)
    │
    │  certified the following binding on 2026‑05‑13
    │
    └─┬ 662E3CDD6FE329002D0CA5BB40339DD82B12EF16
      └ LibreWolf Maintainers <[email protected]>

  Authenticated signature made by 662E3CDD6FE329002D0CA5BB40339DD82B12EF16 (LibreWolf Maintainers <[email protected]>)

1 authenticated signature.

(SHA512) librewolf-154.0-2.source.tar.gz: OK
14f25b40bd6f8f0edb2801dc779c0da51b2ff6ec7bc3d55d707d00a09eaf96f974173a3038269b947fcdabc3d98fb1588dd123776ecf12d50886a63a638375ef  librewolf-154.0-2.source.tar.gz
--

Been using it for an hour or so. Did build this with ffmpeg 9.0, no PLIST
change.

Did I miss anything? Or too much noise?

This okay?

Comments, concerns, and testing welcome.

Thank you Landry for fixing Angle. The first build completed, but would
not start. Also thank you Volker and sthen for fixing the fetching to the
new forjego after I missed it with the last release.

Hope you all have a great one. Happy hacking.
--
yaydn

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 <[email protected]>
 
 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),
librewolf-154.0-2.diff (application/octet-stream, 4.9 KB)
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 <[email protected]>
 
 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),
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.