Re: [update] www/librewolf 154.0-2

[email protected]
Newsgroups gmane.os.openbsd.ports
Message-ID <2R0OnCLK0A8ZMejsJltpMDjA_9otkrwGQ3B1h5xlCa724wHQL5MHaZGe8_loj2DDZR_Z5YZe9MWTVAvVPgR2KQJ8gO9GSxaZ5vIjrmFAz94=@protonmail.com>
På onsdag 19. august 2026 kl. 11:59, skrev [email protected]
<[email protected]>:

> 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
>


Include libcxx22 patch from Theo(Buehler) and Landry. Thank you, you two. Been running this for a bit.

Hope this helps. May you all have success hacking and have a great one.
--
yaydn


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/librewolf/Makefile,v
diff -u -p -u -p -r1.11 Makefile
--- Makefile	19 Aug 2026 14:19:23 -0000	1.11
+++ Makefile	20 Aug 2026 07:38:15 -0000
@@ -15,6 +15,7 @@ ONLY_FOR_ARCHS =	amd64 aarch64 riscv64
 # librewolf-149.0.2-2 (upstream) becomes librewolf-149.0.2pl2 (patch level 2)
 MOZILLA_DIST_VERSION =	154.0-2
 MOZILLA_VERSION =	${MOZILLA_DIST_VERSION:C/-([0-9]+)$/pl\1/}
+REVISION =		0

 MOZILLA_PROJECT =	librewolf
 MOZILLA_CODENAME =	browser
Index: patches/patch-xpcom_ds_nsAtom_h
===================================================================
RCS file: patches/patch-xpcom_ds_nsAtom_h
diff -N patches/patch-xpcom_ds_nsAtom_h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-xpcom_ds_nsAtom_h	20 Aug 2026 07:38:15 -0000
@@ -0,0 +1,29 @@
+fix build with libcxx22
+https://phabricator.services.mozilla.com/D316723
+
+Index: xpcom/ds/nsAtom.h
+--- xpcom/ds/nsAtom.h.orig
++++ xpcom/ds/nsAtom.h
+@@ -36,11 +36,19 @@ class nsDynamicAtom;
+ class nsAtom {
+  public:
+   // Returns true if ToLowercaseASCII would return the string unchanged.
++  //
++  // This is deliberately a plain loop rather than std::all_of: gGkAtoms calls
++  // this for every static atom within a single constant expression, and
++  // std::all_of costs enough extra constexpr steps to exceed the default
++  // -fconstexpr-steps budget with some standard library implementations.
+   static constexpr bool ComputeIsAsciiLowercase(const char16_t* aString,
+                                                 const uint32_t aLength) {
+-    return std::all_of(aString, aString + aLength, [](char16_t c) {
+-      return !mozilla::IsAsciiUppercaseAlpha(c);
+-    });
++    for (uint32_t i = 0; i < aLength; ++i) {
++      if (mozilla::IsAsciiUppercaseAlpha(aString[i])) {
++        return false;
++      }
++    }
++    return true;
+   }
+
+   template <size_t N>
librewolf-154.0-2p0.diff (application/octet-stream, 1.9 KB)
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/librewolf/Makefile,v
diff -u -p -u -p -r1.11 Makefile
--- Makefile	19 Aug 2026 14:19:23 -0000	1.11
+++ Makefile	20 Aug 2026 07:38:15 -0000
@@ -15,6 +15,7 @@ ONLY_FOR_ARCHS =	amd64 aarch64 riscv64
 # librewolf-149.0.2-2 (upstream) becomes librewolf-149.0.2pl2 (patch level 2)
 MOZILLA_DIST_VERSION =	154.0-2
 MOZILLA_VERSION =	${MOZILLA_DIST_VERSION:C/-([0-9]+)$/pl\1/}
+REVISION =		0
 
 MOZILLA_PROJECT =	librewolf
 MOZILLA_CODENAME =	browser
Index: patches/patch-xpcom_ds_nsAtom_h
===================================================================
RCS file: patches/patch-xpcom_ds_nsAtom_h
diff -N patches/patch-xpcom_ds_nsAtom_h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-xpcom_ds_nsAtom_h	20 Aug 2026 07:38:15 -0000
@@ -0,0 +1,29 @@
+fix build with libcxx22
+https://phabricator.services.mozilla.com/D316723
+
+Index: xpcom/ds/nsAtom.h
+--- xpcom/ds/nsAtom.h.orig
++++ xpcom/ds/nsAtom.h
+@@ -36,11 +36,19 @@ class nsDynamicAtom;
+ class nsAtom {
+  public:
+   // Returns true if ToLowercaseASCII would return the string unchanged.
++  //
++  // This is deliberately a plain loop rather than std::all_of: gGkAtoms calls
++  // this for every static atom within a single constant expression, and
++  // std::all_of costs enough extra constexpr steps to exceed the default
++  // -fconstexpr-steps budget with some standard library implementations.
+   static constexpr bool ComputeIsAsciiLowercase(const char16_t* aString,
+                                                 const uint32_t aLength) {
+-    return std::all_of(aString, aString + aLength, [](char16_t c) {
+-      return !mozilla::IsAsciiUppercaseAlpha(c);
+-    });
++    for (uint32_t i = 0; i < aLength; ++i) {
++      if (mozilla::IsAsciiUppercaseAlpha(aString[i])) {
++        return false;
++      }
++    }
++    return true;
+   }
+ 
+   template <size_t N>
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.