Index | Thread | Search

From:
Leah Rowe <info@minifree.org>
Subject:
update www/librewolf to 151.0.4-1
To:
ports@openbsd.org
Date:
Thu, 11 Jun 2026 13:06:09 +0100

Download raw body.

Thread
Hi everyone,

Firstly, thank you Landry for recently merging my LibreWolf web browser 
port. It currently stands in the ports repo at 151.0.3-1.

The attached diff updates it to 151.0.4-1, and I've also tweaked the 
mozconfig to match upstream changes.

I used the OpenBSD ports git mirror from github and did git 
format-patch, because I don't yet know how to use CVS properly. If 
that's a problem, tell me and I'll just switch to sending RCS diffs.

-- 
Company director, Minifree Ltd
Registered in England, No. 9361826 | VAT No. GB202190462
Registered Office: 19 Hilton Road, Canvey Island, Essex SS8 9QA, UK

From 999c1cf8097d00d0b269c47eaf6fd21d08fec554 Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Thu, 11 Jun 2026 12:42:31 +0100
Subject: [PATCH 1/1] www/librewolf: update to 151.0.4-1

mozconfig has been updated, to match upstream changes

Signed-off-by: Leah Rowe <leah@libreboot.org>
---
 www/librewolf/Makefile                |  2 +-
 www/librewolf/distinfo                |  4 ++--
 www/librewolf/files/mozconfig-openbsd | 10 +++-------
 3 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile
index 4727c44c2bd..1482096ff04 100644
--- a/www/librewolf/Makefile
+++ b/www/librewolf/Makefile
@@ -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 =	151.0.3-1
+MOZILLA_DIST_VERSION =	151.0.4-1
 MOZILLA_VERSION =	${MOZILLA_DIST_VERSION:C/-([0-9]+)$/pl\1/}
 
 MOZILLA_PROJECT =	librewolf
diff --git a/www/librewolf/distinfo b/www/librewolf/distinfo
index ee8881ec04e..f69e1443240 100644
--- a/www/librewolf/distinfo
+++ b/www/librewolf/distinfo
@@ -1,2 +1,2 @@
-SHA256 (librewolf/librewolf-151.0.3-1.source.tar.gz) = oG2FTP+RMRILqBuzGq8FtBYjyCgG6ohC4O9z118QOqM=
-SIZE (librewolf/librewolf-151.0.3-1.source.tar.gz) = 1130749223
+SHA256 (librewolf/librewolf-151.0.4-1.source.tar.gz) = wnDBq5RsceRY9BueuNuIt28wuYxLh8vZwjzOjZGSW5I=
+SIZE (librewolf/librewolf-151.0.4-1.source.tar.gz) = 1130916151
diff --git a/www/librewolf/files/mozconfig-openbsd b/www/librewolf/files/mozconfig-openbsd
index 0f1c935780f..2ef2958106d 100644
--- a/www/librewolf/files/mozconfig-openbsd
+++ b/www/librewolf/files/mozconfig-openbsd
@@ -53,13 +53,9 @@ mk_add_options MOZ_DATA_REPORTING=0
 mk_add_options MOZ_SERVICES_HEALTHREPORT=0
 mk_add_options MOZ_TELEMETRY_REPORTING=0
 
-# upstream hardcode-replaces CFLAGS. we want to include ports flags.
-# upstream does:
-# export CFLAGS="-ftrivial-auto-var-init=zero -fwrapv"
-# export CXXFLAGS="-ftrivial-auto-var-init=zero -fwrapv"
-# #export LDFLAGS=
-export CFLAGS="-ftrivial-auto-var-init=zero -fwrapv $CFLAGS"
-export CXXFLAGS="-ftrivial-auto-var-init=zero -fwrapv $CXXFLAGS"
+export CFLAGS="-ftrivial-auto-var-init=zero -fwrapv -Wno-backend-plugin $CFLAGS"
+export CXXFLAGS="-ftrivial-auto-var-init=zero -fwrapv -Wno-backend-plugin $CXXFLAGS"
+# upstream comments this, but we uncomment it for the ports system:
 export LDFLAGS="$LDFLAGS"
 
 # Everything below the line are OpenBSD *additions*
-- 
2.47.3