public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/ledger] f43: Patched for Boost 1.90
Date: Thu, 16 Jul 2026 12:29:09 GMT	[thread overview]
Message-ID: <178420494911.1.36845871536934513.rpms-ledger-dcc99861b8fa@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ledger
            Branch : f43
            Commit : dcc99861b8fa0ed28956297dc032b0d3be6608f6
            Author : Jonathan Wakely <jwakely@fedoraproject.org>
            Date   : 2025-12-17T22:54:46+00:00
            Stats  : +24/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/ledger/c/dcc99861b8fa0ed28956297dc032b0d3be6608f6?branch=f43

            Log:
            Patched for Boost 1.90

Applied upstream patch to fix build.

---
diff --git a/ledger-boost190.patch b/ledger-boost190.patch
new file mode 100644
index 0000000..f0c1f6a
--- /dev/null
+++ b/ledger-boost190.patch
@@ -0,0 +1,22 @@
+From 1da89f6ffb44a44257b9774c4ceb71e7b495d677 Mon Sep 17 00:00:00 2001
+From: Michael Cho <michael@michaelcho.dev>
+Date: Thu, 25 Apr 2024 11:29:49 -0400
+Subject: [PATCH] Fix build with Boost 1.85.0
+
+Signed-off-by: Michael Cho <michael@michaelcho.dev>
+---
+ src/system.hh.in | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/system.hh.in b/src/system.hh.in
+index 05f28fc24..070f1cd4a 100644
+--- a/src/system.hh.in
++++ b/src/system.hh.in
+@@ -140,7 +140,6 @@
+ #include <boost/date_time/posix_time/posix_time_io.hpp>
+ #include <boost/date_time/gregorian/gregorian_io.hpp>
+ 
+-#include <boost/filesystem/convenience.hpp>
+ #include <boost/filesystem/exception.hpp>
+ #include <boost/filesystem/fstream.hpp>
+ #include <boost/filesystem/operations.hpp>

diff --git a/ledger.spec b/ledger.spec
index c3740b7..84d12d0 100644
--- a/ledger.spec
+++ b/ledger.spec
@@ -7,6 +7,7 @@ Summary:          A powerful command-line double-entry accounting system
 License:          BSD-3-Clause
 URL:              https://ledger-cli.org/
 Source0:          https://github.com/ledger/ledger/archive/v%{version}.tar.gz
+Patch0:           ledger-boost190.patch
 
 BuildRequires:    boost-devel
 BuildRequires:    cmake
@@ -41,7 +42,7 @@ Requires: %{name} = %{version}-%{release}
 Libraries and header files for %{name} development.
 
 %prep
-%autosetup -n %{name}-%{version}
+%autosetup -n %{name}-%{version} -p1
 # Avoid texinfo errors on EL7.
 %if 0%{?rhel} == 7
 sed -i -e 's#FIXME:UNDOCUMENTED#FIXMEUNDOCUMENTED#g' doc/ledger3.texi

                 reply	other threads:[~2026-07-16 12:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178420494911.1.36845871536934513.rpms-ledger-dcc99861b8fa@fedoraproject.org \
    --to=jwakely@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox