From: Matthieu Herrb Subject: update: devel/mtxclient 0.10.1 To: ports@openbsd.org Date: Sat, 13 Sep 2025 16:35:18 +0200 Will be needed to update to nheko 0.12.1. It's a major shlib bump. previous patch has been applied upstream ok ? Index: Makefile =================================================================== RCS file: /local/cvs/ports/devel/mtxclient/Makefile,v diff -u -p -u -r1.14 Makefile --- Makefile 31 Aug 2025 14:49:18 -0000 1.14 +++ Makefile 13 Sep 2025 13:37:55 -0000 @@ -1,12 +1,11 @@ COMMENT = client API for Matrix, built on libcurl CATEGORIES = devel -SHARED_LIBS += matrix_client 3.0 +SHARED_LIBS += matrix_client 4.0 GH_ACCOUNT = Nheko-Reborn GH_PROJECT = mtxclient -GH_TAGNAME = v0.10.0 -REVISION = 4 +GH_TAGNAME = v0.10.1 # MIT PERMIT_PACKAGE = Yes Index: distinfo =================================================================== RCS file: /local/cvs/ports/devel/mtxclient/distinfo,v diff -u -p -u -r1.4 distinfo --- distinfo 10 Jul 2024 07:00:58 -0000 1.4 +++ distinfo 13 Sep 2025 13:37:55 -0000 @@ -1,2 +1,2 @@ -SHA256 (mtxclient-0.10.0.tar.gz) = lQLgqZnShzFy1Qu4A3HAYSZhJsfU245ERH63DJd7AjA= -SIZE (mtxclient-0.10.0.tar.gz) = 633765 +SHA256 (mtxclient-0.10.1.tar.gz) = IDvkagjh3Gz8Bo0JEfOwmXb0jkzEMCw1F7nA9OU2MeM= +SIZE (mtxclient-0.10.1.tar.gz) = 636035 Index: patches/patch-include_mtxclient_http_errors_hpp =================================================================== RCS file: patches/patch-include_mtxclient_http_errors_hpp diff -N patches/patch-include_mtxclient_http_errors_hpp --- patches/patch-include_mtxclient_http_errors_hpp 19 Jul 2024 12:55:36 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,23 +0,0 @@ -Fix build with fmt 11 - -Index: include/mtxclient/http/errors.hpp ---- include/mtxclient/http/errors.hpp.orig -+++ include/mtxclient/http/errors.hpp -@@ -87,7 +87,7 @@ struct fmt::formatter - // Formats the point p using the parsed format specification (presentation) - // stored in this formatter. - template -- auto format(const mtx::http::ClientError &e, FormatContext &ctx) -> decltype(ctx.out()) -+ auto format(const mtx::http::ClientError &e, FormatContext &ctx) const -> decltype(ctx.out()) - { - // ctx.out() is an output iterator to write to. - bool prepend_comma = false; -@@ -132,7 +132,7 @@ struct fmt::formatter. - template -- auto format(std::optional c, FormatContext &ctx) -+ auto format(std::optional c, FormatContext &ctx) const - { - if (!c) - return fmt::format_to(ctx.out(), "(no error)"); Index: pkg/PLIST =================================================================== RCS file: /local/cvs/ports/devel/mtxclient/pkg/PLIST,v diff -u -p -u -r1.5 PLIST --- pkg/PLIST 16 Aug 2024 16:40:31 -0000 1.5 +++ pkg/PLIST 13 Sep 2025 13:37:55 -0000 @@ -41,6 +41,7 @@ include/mtx/events/name.hpp include/mtx/events/nheko_extensions/ include/mtx/events/nheko_extensions/event_expiry.hpp include/mtx/events/nheko_extensions/hidden_events.hpp +include/mtx/events/nheko_extensions/invite_permissions.hpp include/mtx/events/pinned_events.hpp include/mtx/events/policy_rules.hpp include/mtx/events/power_levels.hpp @@ -95,7 +96,6 @@ include/mtxclient/http/client.hpp include/mtxclient/http/client_impl.hpp include/mtxclient/http/errors.hpp include/mtxclient/utils.hpp -lib/cmake/ lib/cmake/MatrixClient/ lib/cmake/MatrixClient/MatrixClientConfig.cmake lib/cmake/MatrixClient/MatrixClientConfigVersion.cmake -- Matthieu Herrb