On 27/07/15 19:35 -0700, Adam Williamson wrote:
On Mon, 2015-07-27 at 13:31 +0100, Jonathan Wakely wrote:
On 23/07/15 14:33 +0200, David Tardon wrote:
> Hi,
>
> On Thu, Jul 23, 2015 at 02:27:33PM +0200, David Tardon wrote:
> > Hi,
> >
> > On Sat, Jul 18, 2015 at 12:46:51PM +0100, Jonathan Wakely wrote:
> > > Any problems rebuilding either open a bug or feel free to email
> > > me or
> > > ping me on IRC (my freenode nick is 'redi') and I'll be happy
> > > to help.
> >
> > This is a work-in-progress list of FTBFS packages:
> >
> > * Build failures:
> >
> > - F23 + Rawhide
> >
> > ledger

This patch is needed to make Ledger compile with Boost 1.58.0

I submitted a build using the patch you submitted as an upstream PR -
https://github.com/ledger/ledger/pull/422 - but it still failed:

https://kojipkgs.fedoraproject.org//work/tasks/9527/10499527/build.log

Yes, as well as my patch for #422 you still need the second half of
the patch for the upstream #417 (which was not reverted), which I've
attached to this mail.

Thanks for doing these fixes.

>From 68c9d649caa2c7c7f222613efe86576c379a5a7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Johann=20Kl=C3=A4hn?= <kljoh...@gmail.com>
Date: Sun, 10 May 2015 13:41:26 +0200
Subject: [PATCH 2/2] fix build for boost 1.58

---
 src/filters.cc   | 2 +-
 src/iterators.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/filters.cc b/src/filters.cc
index 2f97a0e..b6530c0 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -707,7 +707,7 @@ namespace {
     insert_prices_in_map(price_map_t& _all_prices)
       : all_prices(_all_prices) {}
 
-    void operator()(datetime_t& date, const amount_t& price) {
+    void operator()(const datetime_t& date, const amount_t& price) {
       all_prices.insert(price_map_t::value_type(date, price));
     }
   };
diff --git a/src/iterators.cc b/src/iterators.cc
index 21bec5d..0225e21 100644
--- a/src/iterators.cc
+++ b/src/iterators.cc
@@ -96,7 +96,7 @@ namespace {
       TRACE_DTOR(create_price_xact);
     }
 
-    void operator()(datetime_t& date, const amount_t& price) {
+    void operator()(const datetime_t& date, const amount_t& price) {
       xact_t * xact;
       string   symbol = price.commodity().symbol();
 
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to