head 1.2; access; symbols pkgsrc-2026Q2:1.1.0.14 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.12 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.10 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.8 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.6 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.4 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.2 pkgsrc-2024Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2026.06.28.16.29.15; author wiz; state dead; branches; next 1.1; commitid gPzrDg7umQlFhALG; 1.1 date 2024.11.26.22.59.34; author riastradh; state Exp; branches; next ; commitid SjY1rha4DK4E3dzF; desc @@ 1.2 log @ledger: update to 3.4.1. Based on wip/ledger by atomicules with some fixes. 3.4.1 Fix version number in binary Assets 2 Source code (zip) Oct 26, 2025 Source code (tar.gz) Oct 26, 2025 1 person reacted 3.4.0 Oct 22, 2025 @@jwiegley jwiegley v3.4.0 ddb7c89 3.4.0 Critical Bug Fixes Fix segfault in metadata validation (issue #1800) Fix divide by zero (bugs #777 and #2207) Fix use-after-free with regex_match() Fix bucket transactions ignored with reg --related (bug #2220) Restore expr context after calc (bugs #2330 and #2343) Date and Year Handling Fix leap year dates with apply year directive (bug #2468) Fix xact command to properly respect last year directive (bug #2413) Fix timelog balance assertions with value conversion New Features Add support for hash chaining with --hashes option for transaction integrity verification Add commodity swaps feature over a base commodity Add --align-intervals option for reporting Add --lisp-date-format option for lisp output (bug #1206) Add yday shortcut for "yesterday" File Handling Skip files with invalid UTF-8 names in include directive (bug #2421) Allow automatic transactions to create accounts with --pedantic (bug #2417) Make pricedb output deterministic (bug #1783) Python Support Update required Python version to 3.10 (minimum 3.9) Fix Python 3.12 deprecation warnings Add Python bindings for commodity value_t and roundto function Remove Python 2 support from tests Build System Updates Update to C++17 standard Update to Boost 1.86.0 (minimum 1.72.0) Update required CMake to 3.16.2 Add support for Ubuntu 24.04 Noble Add build support for readline Display Improvements Display parent accounts with one child if they contain posts Align amounts even when account names are long Fix percentile balance report of time commodity @ text @$NetBSD: patch-src_filters.cc,v 1.1 2024/11/26 22:59:34 riastradh Exp $ Fix build with boost>=1.86, which broke API compatibility. https://github.com/ledger/ledger/issues/2378 --- src/filters.cc.orig 2023-03-30 07:40:48.000000000 +0000 +++ src/filters.cc @@@@ -238,7 +238,7 @@@@ void anonymize_posts::render_commodity(a void anonymize_posts::operator()(post_t& post) { boost::uuids::detail::sha1 sha; - unsigned int message_digest[5]; + unsigned char message_digest[20]; bool copy_xact_details = false; if (last_xact != post.xact) { @@@@ -1268,7 +1268,7 @@@@ void budget_posts::report_budget_items(c foreach (pending_posts_list::iterator& i, posts_to_erase) pending_posts.erase(i); } - + if (pending_posts.size() == 0) return; @ 1.1 log @finance/ledger: Fix build with boost>=1.86. Patch backported from upstream master, since there's been no upstream release since the breakage. No revbump because this has been broken since the revbump last month for boost 1.86. @ text @d1 1 a1 1 $NetBSD$ @