public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ledger] f43: Patched for Boost 1.90
@ 2026-07-16 12:29 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2026-07-16 12:29 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-16 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16 12:29 [rpms/ledger] f43: Patched for Boost 1.90 Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox