Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ledger for openSUSE:Factory checked 
in at 2021-06-16 20:34:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ledger (Old)
 and      /work/SRC/openSUSE:Factory/.ledger.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ledger"

Wed Jun 16 20:34:52 2021 rev:12 rq:900201 version:3.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ledger/ledger.changes    2020-11-10 
13:53:10.674881230 +0100
+++ /work/SRC/openSUSE:Factory/.ledger.new.32437/ledger.changes 2021-06-16 
20:36:38.751304984 +0200
@@ -1,0 +2,6 @@
+Tue Jun 15 15:07:25 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Add upstream patch:
+  * 0001-Fix-compilation-with-Boost-1.76.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-compilation-with-Boost-1.76.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ledger.spec ++++++
--- /var/tmp/diff_new_pack.hX2bJD/_old  2021-06-16 20:36:39.227305797 +0200
+++ /var/tmp/diff_new_pack.hX2bJD/_new  2021-06-16 20:36:39.231305803 +0200
@@ -25,6 +25,8 @@
 URL:            https://github.com/ledger/ledger
 Source:         
https://github.com/ledger/ledger/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch0:         ledger-cmakelists.patch
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Fix-compilation-with-Boost-1.76.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libboost_date_time-devel >= 1.49.0

++++++ 0001-Fix-compilation-with-Boost-1.76.patch ++++++
>From 69e6b89cf8d2820d28174e7ffaea1c59a0f84d3f Mon Sep 17 00:00:00 2001
From: Sam James <s...@gentoo.org>
Date: Mon, 14 Jun 2021 12:37:58 +0000
Subject: [PATCH] Fix compilation with Boost 1.76

We were previously relying on an indirect include within Boost headers. We're
using scoped_ptr which is defined in <boost/smart_ptr/scoped_ptr.hpp>.

Bug: https://bugs.gentoo.org/790176
Closes: https://github.com/ledger/ledger/issues/2030
---
 src/expr.cc  | 2 ++
 src/format.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/expr.cc b/src/expr.cc
index c8945d3..c19bba9 100644
--- a/src/expr.cc
+++ b/src/expr.cc
@@ -35,6 +35,8 @@
 #include "parser.h"
 #include "scope.h"
 
+#include <boost/smart_ptr/scoped_ptr.hpp>
+
 namespace ledger {
 
 expr_t::expr_t() : base_type()
diff --git a/src/format.h b/src/format.h
index 15431cf..48c690b 100644
--- a/src/format.h
+++ b/src/format.h
@@ -45,6 +45,8 @@
 #include "expr.h"
 #include "unistring.h"
 
+#include <boost/smart_ptr/scoped_ptr.hpp>
+
 namespace ledger {
 
 class unistring;
-- 
2.32.0

Reply via email to