pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/finance/ledger ledger: Fix build with gcc-6.
details: https://anonhg.NetBSD.org/pkgsrc/rev/488d3cf6f739
branches: trunk
changeset: 377237:488d3cf6f739
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Mar 14 13:59:52 2018 +0000
description:
ledger: Fix build with gcc-6.
>From upstream via Roberto Oliveira.
diffstat:
finance/ledger/distinfo | 3 ++-
finance/ledger/patches/patch-src_item.h | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 3ddb3c47623e -r 488d3cf6f739 finance/ledger/distinfo
--- a/finance/ledger/distinfo Wed Mar 14 11:16:14 2018 +0000
+++ b/finance/ledger/distinfo Wed Mar 14 13:59:52 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2017/02/18 05:48:51 riastradh Exp $
+$NetBSD: distinfo,v 1.2 2018/03/14 13:59:52 wiz Exp $
SHA1 (ledger-3.1.1.tar.gz) = 77ad24ce4947e2f130e58d8e8bc4c5b6920a0222
RMD160 (ledger-3.1.1.tar.gz) = 07645c8d798e386eb4ed0a5a9e3dcf6fe0a184f8
SHA512 (ledger-3.1.1.tar.gz) = 3f81b98a414cdfc0e272de4e958770149fb1acc8bda880d270e1459ce35294a220c52820bb9af49a751ac3a80b878f81fc7799ba41e0a1be43eba72081351bf5
Size (ledger-3.1.1.tar.gz) = 842364 bytes
+SHA1 (patch-src_item.h) = 994e1e87fdf7510bcac364fb554d2ec012ba84d3
SHA1 (patch-src_system.hh.in) = c9f5830aaf77681d93eedb78d06fa91f47a7b478
diff -r 3ddb3c47623e -r 488d3cf6f739 finance/ledger/patches/patch-src_item.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/ledger/patches/patch-src_item.h Wed Mar 14 13:59:52 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_item.h,v 1.1 2018/03/14 13:59:52 wiz Exp $
+
+Fix build with boost-1.61+ and gcc-6.
+https://github.com/ledger/ledger/commit/258cab91ab702e82d477b41bb1c6a026c848bda5
+
+--- src/item.h.orig 2016-01-11 15:59:38.000000000 +0000
++++ src/item.h
+@@ -92,7 +92,7 @@ public:
+
+ typedef std::pair<optional<value_t>, bool> tag_data_t;
+ typedef std::map<string, tag_data_t,
+- function<bool(string, string)> > string_map;
++ std::function<bool(string, string)> > string_map;
+
+ state_t _state;
+ optional<date_t> _date;
Home |
Main Index |
Thread Index |
Old Index