2 Commits

Author SHA256 Message Date
c32f90c3fb Accepting request 1310737 from devel:libraries:c_c++
- Add upstream change to fix build failure with boost 1.89:
  * 0003-Fix-build-with-Boost-1.89.0.patch (forwarded request 1310734 from adkorte)

OBS-URL: https://build.opensuse.org/request/show/1310737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ledger?expand=0&rev=16
2025-10-11 20:51:10 +00:00
1459e65fdc - Add upstream change to fix build failure with boost 1.89:
* 0003-Fix-build-with-Boost-1.89.0.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ledger?expand=0&rev=37
2025-10-11 15:48:15 +00:00
3 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
diff -purN a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2023-03-30 09:40:48.000000000 +0200
+++ b/CMakeLists.txt 2025-10-11 17:08:21.251209313 +0200
@@ -90,7 +90,7 @@ endif()
# Set BOOST_ROOT to help CMake to find the right Boost version
find_package(Boost 1.49.0
- REQUIRED date_time filesystem system iostreams regex unit_test_framework
+ REQUIRED date_time filesystem iostreams regex unit_test_framework
${BOOST_PYTHON} OPTIONAL_COMPONENTS nowide)
# enable Boost::nowide library (for UTF8 command line args on Windows)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 11 15:14:21 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
- Add upstream change to fix build failure with boost 1.89:
* 0003-Fix-build-with-Boost-1.89.0.patch
-------------------------------------------------------------------
Mon Oct 28 17:34:53 UTC 2024 - Carsten Ziepke <kieltux@gmail.com>

View File

@@ -28,13 +28,14 @@ Source: https://github.com/ledger/ledger/archive/v%{version}.tar.gz#/%{n
Patch0: 0001-Fix-build-with-Boost-1.85.0.patch
# PATCH-FIX-UPSTREAM - 0002-Fix-build-with-Boost-1.86.0.patch - https://github.com/ledger/ledger/issues/2378
Patch1: 0002-Fix-build-with-Boost-1.86.0.patch
# PATCH-FIX-UPSTREAM - https://github.com/ledger/ledger/pull/2430
Patch2: 0003-Fix-build-with-Boost-1.89.0.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libboost_date_time-devel >= 1.72.0
BuildRequires: libboost_filesystem-devel >= 1.72.0
BuildRequires: libboost_iostreams-devel >= 1.72.0
BuildRequires: libboost_regex-devel >= 1.72.0
BuildRequires: libboost_system-devel >= 1.72.0
BuildRequires: libboost_test-devel >= 1.72.0
BuildRequires: mpfr-devel
BuildRequires: python3-base