Hello everyone I have updated the patch, per previous advice. I used update-plist and update-patches this time; I forgot to do this before. It should be OK now. What do you think of the new one? (i've attached it to this email) Am 11.06.26 um 17:55 schrieb Stuart Henderson: > On 2026/06/11 16:44, yaydn@protonmail.com wrote: >> På torsdag 11. juni 2026 kl. 14:07, skrev Leah Rowe >> <info@minifree.org>: >> >>> 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 >>> >>> >> Here is what I got from a: >> >> cd /usr/ports/www/librewolf/ && make makesum update-plist update-patches > don't run makesum if you're testing something that has been > sent out. you want things to fail if the downloaded file does > not match what the submitter has. > > update-plist/update-patches can be useful if you're checking > whether something was missed however that would probably be > done after a clean build.. (and with some ports running > update-patches at a stage later than "make patch" can cause > spurious changes) > >> cd /usr/ports/www/librewolf/ && make port-lib-depends-check check-shlib-syms > check-shlib-syms requires a checkout of /usr/src. > >> librewolf-151.0.4pl1(www/librewolf): >> Extra: Xtst.11 >> check-shlib-syms: /usr/src/lib/check_sym doesn't exist >> *** Error 1 in /usr/ports/www/librewolf (/usr/ports/infrastructure/mk/bsd.port.mk:2577 'check-shlib-syms': @[ -x /usr/src/lib/check_sym ] ||...) >> >> I am not familiar enough with cvs if this requires a change to Makefile >> for WANTLIBs. >> >> Thanks to maintainer(Leah) and the ports devs. I like this port. >> >> Hope this helps! May you all have a good one. >> -- >> yaydn -- Company director, Minifree Ltd Registered in England, No. 9361826 | VAT No. GB202190462 Registered Office: 19 Hilton Road, Canvey Island, Essex SS8 9QA, UK
From a00ca9a066aada52480f2032fdff9418dee045b0 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 +++-------
www/librewolf/patches/patch-lw_policies_json | 2 +-
www/librewolf/pkg/PLIST | 1 +
5 files changed, 8 insertions(+), 11 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*
diff --git a/www/librewolf/patches/patch-lw_policies_json b/www/librewolf/patches/patch-lw_policies_json
index 8188e0b5526..6b81bf9bb92 100644
--- a/www/librewolf/patches/patch-lw_policies_json
+++ b/www/librewolf/patches/patch-lw_policies_json
@@ -3,7 +3,7 @@ perhaps send these to librewolf upstream as well
Index: lw/policies.json
--- lw/policies.json.orig
+++ lw/policies.json
-@@ -14,6 +14,16 @@
+@@ -13,6 +13,16 @@
"DisableSetDesktopBackground": false,
"DisableDeveloperTools": false,
"NoDefaultBookmarks": true,
diff --git a/www/librewolf/pkg/PLIST b/www/librewolf/pkg/PLIST
index 9448422fe6f..243b7510726 100644
--- a/www/librewolf/pkg/PLIST
+++ b/www/librewolf/pkg/PLIST
@@ -12,6 +12,7 @@ lib/${MOZILLA_PROJECT}/browser/chrome/icons/default/default32.png
lib/${MOZILLA_PROJECT}/browser/chrome/icons/default/default48.png
lib/${MOZILLA_PROJECT}/browser/chrome/icons/default/default64.png
lib/${MOZILLA_PROJECT}/browser/defaults/
+lib/${MOZILLA_PROJECT}/browser/defaults/pref/
lib/${MOZILLA_PROJECT}/browser/defaults/preferences/
@sample ${SYSCONFDIR}/${MOZILLA_PROJECT}/
lib/${MOZILLA_PROJECT}/browser/defaults/preferences/all-openbsd.js
--
2.54.0
No comments:
Post a Comment