Built/tested on current/amd64 with privsep. $ cd /usr/ports/distfiles/librewolf/ && sq verify --signature-file=librewolf-154.0.1-3.source.tar.gz.sig librewolf-154.0.1-3.source.tar.gz ; sha512 -c librewolf-154.0.1-3.source.tar.gz.sha512sum ; cat librewolf-154.0.1-3.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.1-3.source.tar.gz: OK a01425a6ba9f8bf32067499815bce97e8de0ca3804ef382900f60a018cb8778f65e3db12ad42499d1b05eb05f9169cf6cecb0e5f2b630e4716cd9b1a410ad68e librewolf-154.0.1-3.source.tar.gz -- Include patch for RISC-V from jca. https://marc.info/?l=openbsd-ports-cvs&m=178783079489077 Not sure if I missed anything, but checks and PLIST have no new issues. Please let me know if there is any surplus noise. Ran this for a bit. This okay? Comments, concerns, and testing welcome. Hope this helps and may you all have a cool, well-hydrated one. Happy Hacking! -- yaydn Index: Makefile =================================================================== RCS file: /cvs/ports/www/librewolf/Makefile,v diff -u -p -u -p -r1.12 Makefile --- Makefile 20 Aug 2026 08:06:23 -0000 1.12 +++ Makefile 27 Aug 2026 13:02:14 -0000 @@ -13,9 +13,8 @@ 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 = 154.0-2 +MOZILLA_DIST_VERSION = 154.0.1-3 MOZILLA_VERSION = ${MOZILLA_DIST_VERSION:C/-([0-9]+)$/pl\1/} -REVISION = 0 MOZILLA_PROJECT = librewolf MOZILLA_CODENAME = browser Index: distinfo =================================================================== RCS file: /cvs/ports/www/librewolf/distinfo,v diff -u -p -u -p -r1.10 distinfo --- distinfo 19 Aug 2026 14:19:23 -0000 1.10 +++ distinfo 27 Aug 2026 13:02:14 -0000 @@ -1,2 +1,2 @@ -SHA256 (librewolf/librewolf-154.0-2.source.tar.gz) = fmw0CILy4v/AmiTZ9TuR3gY8FaGuDmIUtaCBGSRKekw= -SIZE (librewolf/librewolf-154.0-2.source.tar.gz) = 1174385173 +SHA256 (librewolf/librewolf-154.0.1-3.source.tar.gz) = /ubKrDD5r/bf2P6GjOhDYCsDwwcmCchv9/xsF8OXpsw= +SIZE (librewolf/librewolf-154.0.1-3.source.tar.gz) = 1175015645 Index: patches/patch-third_party_llama_cpp_moz_build =================================================================== RCS file: patches/patch-third_party_llama_cpp_moz_build diff -N patches/patch-third_party_llama_cpp_moz_build --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-third_party_llama_cpp_moz_build 27 Aug 2026 13:02:14 -0000 @@ -0,0 +1,38 @@ +Forcefully disable RVV intrinsics usage in llama.cpp/libggml. +The code assumes that if __riscv_v_intrinsic is defined the various RVV +intrinsics are available and usable. + +With clang the intrinsics may be available even though actual usage of +said intrinsics has to be allowed with clang -march=... or function +annotations. + +Also the code assumes that if it can use said intrinsics at compile +time then they ought to be used at runtime. This is false on +OpenBSD which doesn't require the cpu to support the V extension. + +Example error at compile time: +.../firefox-154.0/third_party/llama.cpp/ggml/src/ggml-cpu/vec.cpp:407:22: error: RISC-V type 'vfloat32m2_t' (aka '__rvv_float32m2_t') requires the 'zve32f' extension + 407 vfloat32m2_t vx = __riscv_vle32_v_f32m2(&x[i], vl); + +Index: third_party/llama.cpp/moz.build +--- third_party/llama.cpp/moz.build.orig ++++ third_party/llama.cpp/moz.build +@@ -135,6 +135,18 @@ if CONFIG["OS_TARGET"] == "Linux": + OS_LIBS += [ + "dl", + ] ++ ++if CONFIG["OS_TARGET"] == "OpenBSD": ++ if CONFIG['TARGET_CPU'] == 'riscv64': ++ # OpenBSD/riscv64 doesn't assume RVV/RVA23 contrary to the code ++ # in libggml ++ CXXFLAGS += [ ++ "-U__riscv_v_intrinsic" ++ ] ++ CFLAGS += [ ++ "-U__riscv_v_intrinsic" ++ ] ++ + if CONFIG["OS_TARGET"] == "WINNT": + OS_LIBS += [ + "advapi32",
librewolf-154.0.1-3.diff
Description: Binary data
